3b1b-manim/docs/source/conf.py

41 lines
965 B
Python
Raw Normal View History

2021-01-24 16:03:18 +08:00
import os
import sys
2021-01-24 23:22:11 +08:00
sys.path.insert(0, os.path.abspath("."))
2021-01-24 16:03:18 +08:00
sys.path.insert(0, os.path.abspath('../../'))
2021-01-24 09:49:29 +08:00
project = 'manim'
2021-01-24 16:03:18 +08:00
copyright = '- This document has been placed in the public domain.'
2021-01-24 09:49:29 +08:00
author = 'TonyCrane'
2021-01-24 23:22:11 +08:00
release = ''
2021-01-24 09:49:29 +08:00
extensions = [
'sphinx.ext.todo',
'sphinx.ext.githubpages',
'sphinx.ext.mathjax',
'sphinx.ext.intersphinx',
'sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.napoleon',
2021-01-24 19:44:48 +08:00
'sphinx_copybutton',
2021-01-24 23:22:11 +08:00
'manim_example_ext'
2021-01-24 09:49:29 +08:00
]
autoclass_content = 'both'
mathjax_path = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
pygments_style = 'default'
2021-01-24 23:22:11 +08:00
html_static_path = ["_static"]
html_css_files = ["custom.css", "colors.css"]
2021-01-24 19:44:48 +08:00
html_theme = 'furo' # pip install furo==2020.10.5b9
2021-01-26 23:06:29 +08:00
html_favicon = '_static/icon.png'
2021-01-24 09:49:29 +08:00
html_logo = '../../logo/transparent_graph.png'
html_theme_options = {
2021-01-24 19:44:48 +08:00
"sidebar_hide_name": True,
2021-01-24 09:49:29 +08:00
}