20 lines
621 B
Python

import os
port=8009
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'
test_cases_dir='test-cases'
test_suites_dir='test-suites'
test_reports_dir='test-reports'