123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- import os
- import sys
- sys.path.insert(0, os.path.abspath("_themes"))
- project = u'FlaskBB'
- copyright = u'2021, Peter Justin'
- author = u'Peter Justin'
- extensions = [
- "sphinx.ext.autodoc",
- "sphinx.ext.viewcode",
- "sphinx.ext.intersphinx",
- ]
- templates_path = ["_templates"]
- exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
- html_theme = "alabaster"
- html_theme_options = {
- 'logo': 'logo-full.png',
- 'github_banner': True,
- 'github_user': 'sh4nks',
- 'github_repo': 'flaskbb',
- 'github_type': 'star',
- 'description': ("FlaskBB is a simple and extensible forum software "
- "for building communities."),
- 'fixed_sidebar': True,
- 'show_related': True
- }
- html_title = u'FlaskBB Documentation'
- html_static_path = ["_static"]
- html_sidebars = {
- 'index': [
- 'about.html',
- 'sidebarintro.html',
- 'sourcelink.html',
- 'searchbox.html'
- ],
- '**': [
- 'about.html',
- 'localtoc.html',
- 'relations.html',
- 'sourcelink.html',
- 'searchbox.html'
- ]
- }
- html_show_sourcelink = False
- intersphinx_mapping = {
- 'python': ('https://docs.python.org/3/', None),
- 'flask': ('https://flask.palletsprojects.com/en/latest/', None),
- 'werkzeug': ('https://werkzeug.palletsprojects.com/en/latest/', None),
- 'click': ('https://click.palletsprojects.com/en/latest/', None),
- 'jinja': ('https://jinja.palletsprojects.com/en/latest/', None),
- 'wtforms': ('https://wtforms.readthedocs.io/en/master/', None),
- }
- autodoc_member_order = 'bysource'
|