From: Sarah Hoffmann Date: Fri, 25 Aug 2023 20:47:07 +0000 (+0200) Subject: switch to material theme X-Git-Tag: v4.3.0~13^2~7 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/f917fa67aa19e912db472d2eeedde631be496428?ds=sidebyside;hp=--cc switch to material theme Needed for tabbed code blocks. --- f917fa67aa19e912db472d2eeedde631be496428 diff --git a/docs/library/Getting-Started.md b/docs/library/Getting-Started.md index 6c187839..a013f40c 100644 --- a/docs/library/Getting-Started.md +++ b/docs/library/Getting-Started.md @@ -30,7 +30,6 @@ under `/usr/local/share/nominatim/lib-python`. If you have installed Nominatim under a different prefix, adapt the `/usr/local/` part accordingly. You can also point the PYTHONPATH to the Nominatim source code. - ### A simple search example To query the Nominatim database you need to first set up a connection. This diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 45e4f5da..8a9d6e7d 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -1,5 +1,8 @@ site_name: Nominatim Documentation -theme: readthedocs +theme: + name: material + features: + - navigation.tabs docs_dir: ${CMAKE_CURRENT_BINARY_DIR} site_url: https://nominatim.org repo_url: https://github.com/openstreetmap/Nominatim @@ -58,7 +61,8 @@ markdown_extensions: - codehilite - admonition - pymdownx.superfences - - pymdownx.tabbed + - pymdownx.tabbed: + alternate_style: true - def_list - toc: permalink: 