diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-22 17:54:10 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-22 17:54:10 +0000 |
commit | 43f2ba5def1ada506fc005b6efab3da88f74930f (patch) | |
tree | 8ed98436e45308177f8be6996740fd76246a54f7 /doc | |
parent | 467d5b5e2a10aab53ade882a378a2e2c215d798c (diff) | |
download | ikiwiki-43f2ba5def1ada506fc005b6efab3da88f74930f.tar ikiwiki-43f2ba5def1ada506fc005b6efab3da88f74930f.tar.gz |
revert broken parentlinks fix, which was broken, explain why
add plugins/contrib page to avoid broken link on this wiki
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/broken_parentlinks.mdwn | 16 | ||||
-rw-r--r-- | doc/plugins.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/contrib.mdwn | 3 |
3 files changed, 19 insertions, 2 deletions
diff --git a/doc/bugs/broken_parentlinks.mdwn b/doc/bugs/broken_parentlinks.mdwn index 359f026ba..a58ff6ffe 100644 --- a/doc/bugs/broken_parentlinks.mdwn +++ b/doc/bugs/broken_parentlinks.mdwn @@ -6,4 +6,18 @@ For example, if you are in 'example/page.html', the header will be something like 'wiki / example / page'. Now, if 'example.html' doesn't exist, you'll have a dead link for every subpage. -[[todo/done]] +--- + +This is a bug, but fixing it is very tricky. Consider what would happen if +example.mdwn were created: example/page.html and the rest of example/* +would need to be updated to change the parentlink from a bare work to a +link to the new page. Now if example.mdwn were removed again, they'd need +to be updated again. So example/* depends on example. But it's even more +tricky, because if example.mdwn is modified, we _don't_ want to rebuild +example/*! + +ikiwiki doesn't have a way to represent this dependency and can't get one +without a lot of new complex code being added. + +For now the best thing to do is to make sure that you always create +example if you create example/foo. Which is probably a good idea anyway.. diff --git a/doc/plugins.mdwn b/doc/plugins.mdwn index efcf65a7d..86be637e6 100644 --- a/doc/plugins.mdwn +++ b/doc/plugins.mdwn @@ -15,7 +15,7 @@ or the equivalent `add_plugins` line in [[ikiwiki.setup]]. Add all plugins here. Or add ideas to the [[todo|todo/plugin]] page. -[[inline pages="plugins/* !plugins/type/* !plugins/write !*/Discussion" archive="yes" rootpage="plugins/contrib" show="60"]] +[[inline pages="plugins/* and !plugins/type/* and !plugins/write and !plugins/contrib and !*/Discussion" archive="yes" rootpage="plugins/contrib" show="60"]] # Installing third party plugins diff --git a/doc/plugins/contrib.mdwn b/doc/plugins/contrib.mdwn new file mode 100644 index 000000000..939d7da5f --- /dev/null +++ b/doc/plugins/contrib.mdwn @@ -0,0 +1,3 @@ +Contributed [[plugins]]: + +[[inline pages="plugins/contrib/* !*/Discussion" archive="yes" rootpage="contrib" show="60"]] |