<filename>conf.py
import os
import sphinx_rtd_theme

DOCS_DIR = os.path.dirname(__file__)

# -- General configuration ------------------------------------------------

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.mathjax',
    'sphinx.ext.viewcode'
]

source_suffix = '.rst'
master_doc = 'index'

project = 'DCCS US Corporation Bylaws'
copyright = '2021, DCCS Corporation'
author = '<EMAIL>'

language = 'en'
exclude_patterns = ['_build']
pygments_style = 'default'
todo_include_todos = True

# -- Options for HTML output ----------------------------------------------

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

html_theme_options = {
    'logo_only': False,
    'display_version': False,
    'prev_next_buttons_location': 'bottom',
    'style_external_links': True,
    'style_nav_header_background': '#021026',
    'collapse_navigation': True,
    'sticky_navigation': True,
    'navigation_depth': 4,
    'includehidden': True,
    'titles_only': False
}

templates_path = ['_templates']
html_static_path = ['_static']
html_logo = "_static/dccs.png"
html_favicon = "_static/favicon.ico"

html_show_sourcelink = True
html_use_index = True
html_split_index = True

# -- General configuration ------------------------------------------------

def setup(app):
    app.add_css_file('css/override.css')

<filename>conf.py
import os
import sphinx_rtd_theme

DOCS_DIR = os.path.dirname(__file__)

# -- General configuration ------------------------------------------------

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.mathjax',
    'sphinx.ext.viewcode'
]

source_suffix = '.rst'
master_doc = 'index'

project = 'DCCS US Corporation Bylaws'
copyright = '2021, DCCS Corporation'
author = '<EMAIL>'

language = 'en'
exclude_patterns = ['_build']
pygments_style = 'default'
todo_include_todos = True

# -- Options for HTML output ----------------------------------------------

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

html_theme_options = {
    'logo_only': False,
    'display_version': False,
    'prev_next_buttons_location': 'bottom',
    'style_external_links': True,
    'style_nav_header_background': '#021026',
    'collapse_navigation': True,
    'sticky_navigation': True,
    'navigation_depth': 4,
    'includehidden': True,
    'titles_only': False
}

templates_path = ['_templates']
html_static_path = ['_static']
html_logo = "_static/dccs.png"
html_favicon = "_static/favicon.ico"

html_show_sourcelink = True
html_use_index = True
html_split_index = True

# -- General configuration ------------------------------------------------

def setup(app):
    app.add_css_file('css/override.css')

# -- General configuration ------------------------------------------------ # -- Options for HTML output ---------------------------------------------- # -- General configuration ------------------------------------------------