From 4fda36e8dfcddfc12c451fbb142aa54de377ba33 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 31 May 2008 08:12:43 -0400 Subject: web commit by http://oscarjacho.myopenid.com/: Dreaming... or not? --- doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn diff --git a/doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn b/doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn new file mode 100644 index 000000000..e181b83e7 --- /dev/null +++ b/doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn @@ -0,0 +1,4 @@ +##Why? +* Because I can do things like this +* Because I can use my favourite SCM, as the rest of my project elements (that's the only reason I complain about Trac...) +* Because the perfect tool does not exist, but custommizing very simple approaches like this I can build my own -- cgit v1.2.3 From 4f47fe9dd869cd7e58b6cc3109826b915a9ef9a1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 31 May 2008 08:17:09 -0400 Subject: web commit by http://oscarjacho.myopenid.com/: Added one line --- doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn b/doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn index e181b83e7..63642c71c 100644 --- a/doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn +++ b/doc/sandbox/ikiwiki_flexibility_makes_me_dream.mdwn @@ -2,3 +2,4 @@ * Because I can do things like this * Because I can use my favourite SCM, as the rest of my project elements (that's the only reason I complain about Trac...) * Because the perfect tool does not exist, but custommizing very simple approaches like this I can build my own +* Because I'm just adding a new topic to see how diff works -- cgit v1.2.3 From ca9f7bd7c4008406c544548d4975c81e3533e658 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 31 May 2008 08:19:03 -0400 Subject: web commit by http://oscarjacho.myopenid.com/: Perhaps --- doc/sandbox/ikiwiki_flexibility_makes_me_dream/discussion.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/sandbox/ikiwiki_flexibility_makes_me_dream/discussion.mdwn diff --git a/doc/sandbox/ikiwiki_flexibility_makes_me_dream/discussion.mdwn b/doc/sandbox/ikiwiki_flexibility_makes_me_dream/discussion.mdwn new file mode 100644 index 000000000..8b604cb9f --- /dev/null +++ b/doc/sandbox/ikiwiki_flexibility_makes_me_dream/discussion.mdwn @@ -0,0 +1 @@ +Perhaps -- cgit v1.2.3 From f58a97806a05ba0be2cba965740fb1894721d1d5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 31 May 2008 10:08:17 -0400 Subject: web commit by http://willthompson.co.uk/ --- doc/sandbox/test_nested_inlines.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/sandbox/test_nested_inlines.mdwn diff --git a/doc/sandbox/test_nested_inlines.mdwn b/doc/sandbox/test_nested_inlines.mdwn new file mode 100644 index 000000000..e8ef805c9 --- /dev/null +++ b/doc/sandbox/test_nested_inlines.mdwn @@ -0,0 +1,3 @@ +Testing nested inlines: + +[[inline pages="sandbox/test_nested_inlines/* and !sandbox/test_nested_inlines/*/*" feeds="no"]] -- cgit v1.2.3 From ff6433179e7b0d6d5c04ec09f648c619d16e4eb8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 31 May 2008 13:51:50 -0400 Subject: web commit by http://willthompson.co.uk/: file a bug about nested inlines failing --- doc/bugs/nested_inlines_produce_no_output.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/bugs/nested_inlines_produce_no_output.mdwn diff --git a/doc/bugs/nested_inlines_produce_no_output.mdwn b/doc/bugs/nested_inlines_produce_no_output.mdwn new file mode 100644 index 000000000..c40a847b0 --- /dev/null +++ b/doc/bugs/nested_inlines_produce_no_output.mdwn @@ -0,0 +1,10 @@ +If an inlined page itself contains an inline directive, the nested directive will produce no output. In [this example wiki](http://www.willthompson.co.uk/tmp/ikiwiki-nested-inline/), the following pages exist: + + * _pets_: contains some content, and the directive `inline pages="pets/* and !pets/*/*"` to inline its immediate children. + * _pets/dogs_: some content, and `inline pages="pets/dogs/*"`. + * _pets/dogs/fifi_, _pets/dogs/rover_: content. + * _pets/cats_, _pets/cats/mumu_, _pets/cats/ceefer_: similar. + +When rendered, _pets_ [contains](http://www.willthompson.co.uk/tmp/ikiwiki-nested-inline/output/pets/) the content from _pets/dogs_ and _pets/cats_, but not the pages inlined into them. However, the subpages [correctly](http://www.willthompson.co.uk/tmp/ikiwiki-nested-inline/output/pets/dogs/) [include](http://www.willthompson.co.uk/tmp/ikiwiki-nested-inline/output/pets/cats/) their own children. + +This used to work in at least ikiwiki 1.45. I stepped through `preprocess_inline`, but couldn't see why this wasn't working. -- cgit v1.2.3