documentation, settings change

This commit is contained in:
WorldTeacher
2024-10-07 08:43:56 +02:00
parent b568787609
commit 26ecf20aad
2 changed files with 21 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
from pyramid.config import Configurator
from wsgiref.simple_server import make_server
from src import docport
import os
def website():
config = Configurator()
@@ -13,7 +14,7 @@ def website():
def launch_documentation():
app = website()
server = make_server('localhost', 6543, app)
print("Serving MkDocs documentation on http://0.0.0.0:6543")
print("Serving MkDocs documentation on http://0.0.0.0:{}".format(docport))
server.serve_forever()
if __name__ == '__main__':