3 The [Nominatim documentation](https://nominatim.org/release-docs/develop/) is built using the [MkDocs](https://www.mkdocs.org/) static site generation framework. The master branch is automatically deployed every night on under [https://nominatim.org/release-docs/develop/](https://nominatim.org/release-docs/develop/)
5 To preview local changes, first install MkDocs
8 pip3 install --user mkdocs
12 Then go to the build directory and run
16 INFO - Cleaning site directory
17 INFO - Building documentation to directory: /home/vagrant/build/site-html
20 This runs `mkdocs build` plus extra transformation of some files and adds
21 symlinks (see `CMakeLists.txt` for the exact steps).
23 Now you can start webserver for local testing
27 [server:296] Serving on http://127.0.0.1:8000
28 [handlers:62] Start watching changes
31 If you develop inside a Vagrant virtual machine:
33 * add port forwarding to your Vagrantfile,
34 e.g. `config.vm.network "forwarded_port", guest: 8000, host: 8000`
35 * use `mkdocs serve --dev-addr 0.0.0.0:8000` because the default localhost
36 IP does not get forwarded.