diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-11-19 11:46:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-19 11:46:29 +0100 |
| commit | e82e37ce6dffe2796b0fae63d893ad637c2be37b (patch) | |
| tree | 49689668e8de24b0a2d244b227467da4db5be22d /docs/conf.py | |
| parent | 55737a219b0c91882a7d512312cc8f545108f8e8 (diff) | |
| parent | 1dae0c0be09d5c9e287bdea6aa5bf7ec4f4782ec (diff) | |
Merge pull request #515 from return42/doc-theme
Various modification of the documentation and the theme sphinx-theme
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/conf.py b/docs/conf.py index eb3598908..5bc83ebe6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -108,7 +108,7 @@ issues_github_path = "searxng/searxng" sys.path.append(os.path.abspath('_themes')) sys.path.insert(0, os.path.abspath("../utils/")) html_theme_path = ['_themes'] -html_theme = "searx" +html_theme = "searxng" # sphinx.ext.imgmath setup html_math_renderer = 'imgmath' @@ -130,13 +130,12 @@ if CONTACT_URL: html_context["project_links"].append(ProjectLink("Contact", CONTACT_URL)) html_sidebars = { - "**": ["project.html", "relations.html", "searchbox.html"], + "**": ["project.html", "relations.html", "searchbox.html", "sourcelink.html"], } singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]} -html_static_path = ["static"] -html_logo = "static/img/searx_logo_small.png" +html_logo = "../searx/static/themes/simple/src/svg/searxng-wordmark.svg" html_title = "SearXNG Documentation ({})".format(VERSION_STRING) -html_show_sourcelink = False +html_show_sourcelink = True # LaTeX ---------------------------------------------------------------- |