From f917fa67aa19e912db472d2eeedde631be496428 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 25 Aug 2023 22:47:07 +0200 Subject: [PATCH] switch to material theme Needed for tabbed code blocks. --- docs/library/Getting-Started.md | 1 - docs/mkdocs.yml | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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:  -- 2.39.5