2023-05-04 16:53:02 +03:00

18 lines
532 B
Python

import os
port=8008
working_dir='.'
forbidden_dir_names=['env', '.git', '__pycache__', 'server']
allowed_file_endings=['.md']
encoding='utf-8'
root_path=os.getcwd()
server_path=os.path.join(root_path, 'server')
resource_dir=os.path.join(server_path, 'resources')
html_dir=os.path.join(resource_dir, 'html')
css_dir=os.path.join(resource_dir, 'css')
css_md_name='github.css'
css_index_name='github-markdown.css'
css_md_path=os.path.join(css_dir, css_md_name)
css_index_path=os.path.join(css_dir, css_index_name)
markdown_type='gfm'