Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Fix urls in documentation

Jean-Baptiste2501d67a1f22
diff --git a/docs/architecture.md b/docs/architecture.md
index fdb24b4..e9ffd17 100644
--- a/docs/architecture.md
+++ b/docs/architecture.md
@@ -1,16 +1,16 @@
# Open Infrastructure Map Architecture
## Web frontend
-The [web frontend](web) contains the web app, written in TypeScript using Maplibre GL JS, and served as static files. If you just want to develop the web frontend, this can be run alone, and will use other services from the production OpenInfraMap server.
+The [web frontend](/web) contains the web app, written in TypeScript using Maplibre GL JS, and served as static files. If you just want to develop the web frontend, this can be run alone, and will use other services from the production OpenInfraMap server.
## Web backend
-The [web backend](web-backend) serves the [stats pages](https://openinframap.org/stats), as well as
+The [web backend](/web-backend) serves the [stats pages](https://openinframap.org/stats), as well as
some additional non-JS web endpoints. It's an async python web app built using starlette.
## Database
The database runs [Postgres](https://www.postgresql.org/) with [PostGIS](https://postgis.net/) and
is populated from the OpenStreetMap replication feed by [Imposm 3](https://imposm.org/docs/imposm3/latest/).
-[More info](./imposm)
+[More info](/imposm)
Changes to the mapping require a re-import of the OpenStreetMap database, which takes
a while and is currently done very irregularly.
@@ -20,7 +20,7 @@ I will generally not make any changes to the mapping files unless I'm ready to r
## Tile server
Map tiles are served with [Tegola](https://tegola.io/).
-[Tile server documentation](./tegola).
+[Tile server documentation](/tegola).
## Other services
Imposm runs as a service with the `-expiretiles-dir` option:
@@ -31,7 +31,7 @@ The low-zoom layers are seeded daily with:
/usr/local/bin/tegola cache seed --bounds="-180,-85.0511,180,85.0511" --max-zoom 6 --overwrite --config /home/osm/styles/tegola/config.toml
-Invalidated tiles are removed by the [expire.py](tegola/expire.py) script, which also refreshes materialized views:
+Invalidated tiles are removed by the [expire.py](/tegola/expire.py) script, which also refreshes materialized views:
/usr/bin/python3 /home/osm/styles/tegola/expire.py /home/osm/imposm-expire