diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-08 16:07:17 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-08 16:07:17 -0400 |
commit | ab1ebf1ec6fc8d90de3b8e70bd5f624c50316da8 (patch) | |
tree | 1ee58d1493009a4cf5060199bf424cb8b2c9230e /doc | |
parent | fc5c938b195bacd8db2be7a435cb88bfbd050af8 (diff) | |
download | ikiwiki-ab1ebf1ec6fc8d90de3b8e70bd5f624c50316da8.tar ikiwiki-ab1ebf1ec6fc8d90de3b8e70bd5f624c50316da8.tar.gz |
inline, trail: The pagenames parameter is now a list of absolute pagenames, not relative wikilink type names. This is necessary to fix a bug, and makes pagenames more consistent with the pagespec used in the pages parameter. (smcv)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn | 2 | ||||
-rw-r--r-- | doc/ikiwiki/directive/trailitems.mdwn | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn b/doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn index 70b06a951..486be0363 100644 --- a/doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn +++ b/doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn @@ -40,3 +40,5 @@ I think the presence dependency is probably the cleanest approach? >> semantics, my `ready/literal-pagenames` branch does that. For >> my main use-case for `pagenames` ([[plugins/contrib/album]]) >> it's fine either way. --[[smcv]] + +>>> Ok, [[merged|done]]. I think it's more consistent this way. --[[Joey]] diff --git a/doc/ikiwiki/directive/trailitems.mdwn b/doc/ikiwiki/directive/trailitems.mdwn index b1ba8d356..387b403b9 100644 --- a/doc/ikiwiki/directive/trailitems.mdwn +++ b/doc/ikiwiki/directive/trailitems.mdwn @@ -12,9 +12,10 @@ Options are similar to [[!iki ikiwiki/directive/inline desc=inline]]: * `pages`: adds pages that match a [[ikiwiki/PageSpec]] to the trail (cannot be used with `pagenames`) -* `pagenames`: adds a space-separated list of pages to the trail, - with the same [[ikiwiki/SubPage/LinkingRules]] as for a [[ikiwiki/WikiLink]] - (cannot be used with `pages`) +* `pagenames`: if used instead of `pages`, this is interpreted as a + space-separated list of absolute page names + ([[SubPage/LinkingRules]] are not taken into account) + to add to the trail * `sort`: add the pages matched by `pages` to the trail in this [[ikiwiki/pagespec/sorting]] order (cannot be used with `pagenames`) |