diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-12 10:43:46 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-12 10:43:46 +0000 |
commit | d06d7f1afd22a5224458033c2033a2447a0b9296 (patch) | |
tree | 4de60532a04a26fb92ec3b9981554a18809d1762 /doc/patchqueue | |
parent | 78d8c7cceebfa5bd9c47acee3e59f1cb8a396fe6 (diff) | |
download | ikiwiki-d06d7f1afd22a5224458033c2033a2447a0b9296.tar ikiwiki-d06d7f1afd22a5224458033c2033a2447a0b9296.tar.gz |
web commit by tuomov: use_dirs patch
Diffstat (limited to 'doc/patchqueue')
-rw-r--r-- | doc/patchqueue/index.html_allowed.mdwn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/patchqueue/index.html_allowed.mdwn b/doc/patchqueue/index.html_allowed.mdwn index c577d171c..7682e619f 100644 --- a/doc/patchqueue/index.html_allowed.mdwn +++ b/doc/patchqueue/index.html_allowed.mdwn @@ -232,3 +232,5 @@ page "A/B/index.html" is treated as "A/B". --- How about doing the index stuff only on the output side? (Or does the latter patch do it? I haven't tried them.) That is, render every `foo.type` for the rendered types (mdwn etc.) as `foo/index.html`, generating links to `foo/` instead of `foo.html`, but not earlier than the point where the .html as presently appended to the page name. Then you just flip a build time option on an existing wiki without any changes to that, and the pages appear elsewhere. The `index.type` files might be left out of this scheme, though (and the top-level one, of course, has to). --[[tuomov]] + +> Well, get around to wasting time on it after all, and [here's the patch](http://iki.fi/tuomov/use_dirs.diff). The `-use_dirs` option will cause everything to be rendered inside directories. There may still be some problems with it, that need looking into (it doesn't e.g. check for conflicts between foo/index.mdwn and foo.mdwn), but seems to work well enough for me... The patch also improves, I think, the parentlinks code a little, as it uses generic routines to actually find the target location now. The only places where the `use_dirs` option is used is `htmlpage`, in fact, although other specific kludges needed to be removed from other points in the code. |