]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/nested_raw_included_inlines.mdwn
Tag patches with the plugin to which they apply, or core
[ikiwiki.git] / doc / bugs / nested_raw_included_inlines.mdwn
1 I have the following structure:
2
3 ## page0
4     # Page 0
5     \[[!inline raw="yes" pages="page1"]]
6
7 ## page1
8     # Page 1
9     \[[!inline pages="page2"]]
10
11 ## page2
12     # Page 2
13     test
14
15 In this situation, a change in page 2 will trigger a rebuild of page1 but not of page0.
16
17     refreshing wiki..
18     scanning page2.mdwn
19     rendering page2.mdwn
20     rendering page1.mdwn, which depends on page2
21     done
22
23 In my real world situation, page1 is actually listing all pages that match a certain tag and page0 is the home page.
24 Whenever a page got tagged, it will appear on page1 but not on page0.
25
26 Am I missing something? Is this a bug or Ikiwiki not supposed to support this use case?
27
28 > Perhaps the inline plugin isn't being clever enough about dependencies -
29 > strictly speaking, when a page is inlined with full content, the inlining
30 > page should probably inherit all the inlined page's dependencies.
31 > That might be prohibitively slow in practise due to the way IkiWiki
32 > currently merges pagespecs, though - maybe the patches I suggested for
33 > [[separating_and_uniquifying_pagespecs|todo/should_optimise_pagespecs]]
34 > would help? --[[smcv]]