]> git.openstreetmap.org Git - nominatim.git/commitdiff
switch to material theme
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 25 Aug 2023 20:47:07 +0000 (22:47 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 25 Aug 2023 20:47:07 +0000 (22:47 +0200)
Needed for tabbed code blocks.

docs/library/Getting-Started.md
docs/mkdocs.yml

index 6c187839f30feb8ecf22c67d64e7553acd0e59ed..a013f40cbbba824b9e65b1a0a908fef4f560ed27 100644 (file)
@@ -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
index 45e4f5dac5f420d5378a4f8c9c0ed005dea08577..8a9d6e7de510104d8774d500e5550ecbd7e96e9f 100644 (file)
@@ -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: 