From eeb7c436cc670a5910bc868bc2afaa06933334dd Mon Sep 17 00:00:00 2001 From: Cache Saravento Date: Fri, 7 Aug 2015 14:07:50 -0300 Subject: Static generated site --- ikiwiki/subpage/index.html | 141 ++++++++++++++++++++++++++++ ikiwiki/subpage/linkingrules/index.html | 160 ++++++++++++++++++++++++++++++++ 2 files changed, 301 insertions(+) create mode 100644 ikiwiki/subpage/index.html create mode 100644 ikiwiki/subpage/linkingrules/index.html (limited to 'ikiwiki/subpage') diff --git a/ikiwiki/subpage/index.html b/ikiwiki/subpage/index.html new file mode 100644 index 0000000..b40786c --- /dev/null +++ b/ikiwiki/subpage/index.html @@ -0,0 +1,141 @@ + + + + + + + +subpage + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sáb 24 Abr 2010 01:55:09 BRT +

+

ikiwiki supports placing pages in a directory hierarchy. For example, +this page, SubPage has some related pages placed under it, like +LinkingRules. This is a useful way to add some order to your +wiki rather than just having a great big directory full of pages.

+ +

To add a SubPage, just make a subdirectory and put pages in it. For +example, this page is subpage.mdwn in this wiki's source, and there is also +a subpage subdirectory, which contains subpage/linkingrules.mdwn. Subpages +can be nested as deeply as you'd like.

+ +

Linking to and from a SubPage is explained in LinkingRules.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/subpage/linkingrules/index.html b/ikiwiki/subpage/linkingrules/index.html new file mode 100644 index 0000000..112e4f2 --- /dev/null +++ b/ikiwiki/subpage/linkingrules/index.html @@ -0,0 +1,160 @@ + + + + + + + +linkingrules + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sáb 04 Out 2008 11:11:08 BRT +

+

To link to or from a SubPage, you can normally use a regular +WikiLink that does not contain the name of the parent directory of +the SubPage. Ikiwiki descends the directory hierarchy looking for a +page that matches your link.

+ +

For example, if FooBar/SubPage links to "OtherPage", ikiwiki will first +prefer pointing the link to FooBar/SubPage/OtherPage if it exists, next +to FooBar/OtherPage and finally to OtherPage in the root of the wiki.

+ +

Note that this means that if a link on FooBar/SomePage to "OtherPage" +currently links to OtherPage, in the root of the wiki, and FooBar/OtherPage +is created, the link will change to point to FooBar/OtherPage. On the +other hand, a link from BazBar to "OtherPage" would be unchanged by this +creation of a SubPage of FooBar.

+ +

You can also specify a link that contains a directory name, like +"FooBar/OtherPage" to more exactly specify what page to link to. This is +the only way to link to an unrelated SubPage.

+ +

You can use this to, for example, to link from BazBar to "FooBar/SubPage", +or from BazBar/SubPage to "FooBar/SubPage".

+ +

You can also use "/" at the start of a link, to specify exactly which page +to link to, when there are multiple pages with similar names and the link +goes to the wrong page by default. For example, linking from +"FooBar/SubPage" to "/OtherPage" will link to the "OtherPage" in the root +of the wiki, even if there is a "FooBar/OtherPage".

+ +

Also, if the wiki is configured with a userdir, you can link to pages +within the userdir without specifying a path to them. This is to allow for +easy linking to a user's page in the userdir, to sign a comment. These +links are checked for last of all.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + -- cgit v1.2.3