1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- import os
- project = 'DragonOS'
- copyright = '2022-2024, DragonOS Community'
- author = 'longjin'
- release = 'dev'
- extensions = ['myst_parser']
- templates_path = ['_templates']
- language = 'zh_CN'
- exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
- source_suffix = ['.rst', '.md']
- html_theme = 'sphinx_rtd_theme'
- html_static_path = ['_static']
- myst_enable_extensions = [
- "amsmath",
- "colon_fence",
- "deflist",
- "dollarmath",
- "fieldlist",
- "html_admonition",
- "html_image",
- "replacements",
- "smartquotes",
- "strikethrough",
- "substitution",
- "tasklist",
- ]
- html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
- if os.environ.get("READTHEDOCS", "") == "True":
- html_context["READTHEDOCS"] = True
|