sphinx-theme-mochi

1.2. Customize#

Edit conf.py to customize the theme

1.2.1. Variables#

html_title: Set the title of the document.

html_logo: Set the logo image. This should be a relative path to the image from the conf file.

html_permalinks_icon: Change the permalink symbol (default: ¶)

1.2.2. Theme variables#

mochi_navtree_titlesonly: If True, only the first heading is included in the sidebar navtree. Defaults to False.

mochi_navtree_maxdepth: Specifies the maxdepth of navtree. Defaults to -1 (unlimited)

1.2.3. Sample#

html_title = f"{project}"
html_baseurl = ""
html_logo = '_static/logo.png'
html_favicon = '_static/favicon.ico'
html_permalinks_icon = '#'
Menu Expand Search