Skip to content

Commit

Permalink
docs: some tweaks to sphinx docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel committed Jul 16, 2024
1 parent ddebc60 commit 38c25ac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@

html_theme = "alabaster"
html_static_path = ["_static"]
html_theme_options = {
"github_user": "openfoodfacts",
"github_repo": "search-a-licious",
"github_banner": True,
"extra_nav_links": {
"Back to main doc": "/search-a-licious",
},
}

# -- Options for autodoc pydantic --------------------------------------------
autodoc_pydantic_model_show_json = True
Expand Down
6 changes: 6 additions & 0 deletions docs/sphinx/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Search-a-licious code documentation

This documents the backend code of search-alicious.

For `general documentation about search-a-licious Follow this link`__

.. note: this only work on github pages
.. __: /search-a-licious


Contents:

.. toctree::
Expand Down

0 comments on commit 38c25ac

Please sign in to comment.