Phrogz / docubot

Create CHM documentation from simple hierarchy of plain text files.
MIT License
24 stars 2 forks source link

Can't make root links to pages. #23

Open Phrogz opened 14 years ago

Phrogz commented 14 years ago

It's annoying to have to write href="../../../foo/bar/page.html", and fragile.

Worse, however, is that you can't have a single Glossary entry re-used on different pages in the site that links to another page discussing it in detail.

Simple would be some sort of special href="#{root}/foo/bar/page.html" syntax that properly substituted root even in templates that didn't have Ruby interpolation.

Even better would be an addressing system that found a page based on its title (or better yet, some magic internal GUID-like thing) so that the user could rename the page or put it in another directory without all links to it breaking.