mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
1.1 KiB
1.1 KiB
Documentation Pages
The Nominatim documentation is built using the MkDocs static site generation framework. The master branch is automatically deployed every night on under https://nominatim.org/release-docs/develop/
To preview local changes:
-
Install MkDocs
pip3 install --user mkdocs -
In build directory run
make doc INFO - Cleaning site directory INFO - Building documentation to directory: /home/vagrant/build/site-htmlThis runs
mkdocs buildplus extra transformion of some files and adds symlinks (seeCMakeLists.txtfor the exact steps). -
Start webserver for local testing
mkdocs serve [server:296] Serving on http://127.0.0.1:8000 [handlers:62] Start watching changesIf you develop inside a Vagrant virtual machine:
- add port forwarding to your Vagrantfile, e.g.
config.vm.network "forwarded_port", guest: 8000, host: 8000 - use
mkdocs serve --dev-addr 0.0.0.0:8000because the default localhost IP does not get forwarded.
- add port forwarding to your Vagrantfile, e.g.