MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android
http://vespucci.io
Other
381 stars 83 forks source link

And permalinks to each help page #1856

Open jidanni opened 2 years ago

jidanni commented 2 years ago

Like Facebook or Google, it'd be great if one. day each page in the manual, as we read it in the help browser, would at the bottom have a permanent link to its URL on the documentation site, Vespucci.IO.

Currently there is only a single link, in the Introduction.

With a permalink we could easily refer to a documentation page when discussing it on the web without having to dig it up again.

See also https://github.com/openstreetmap/iD/issues/9304 .

simonpoole commented 2 years ago

The website is generated from the same markdown source, but by completely different software and independently from the on device help system so there is no direct way to so this.

Likely the best way to achieve this is to modify the gradle markdown plugin to pass the current file name to the template processor and add a corresponding template placeholder in an URL to the template.