User Tools

Site Tools


basics

The Basics of Dokuwiki

HERE is a tutorial on how to use Dokuwiki.1)

I'm also using several extensions and can add more if you want; the main ones that might be useful to you are:

nspages is mostly for making a table of contents page for a namespace; you can just use this text if you do: <nspages -tree -r -exclude -subns -pagesInNs -h1 -textNs="">

How to Make a New Page

To make a new page, just navigate to it, either by making a link to it or directly editing the URL. For example, if I wanted to make a page called "Meals," I'd change the URL to "friends.teddymccormick.com/meals". Then I'd just click Create This Page on the right.

If you want your page to be in a new namespace, you can just include that with a slash. So if I made a page called meals/breakfast, I would actually be making a page called Breakfast in the Meals namespace. This should theoretically stack indefinitely; meals/breakfast/eggs should make an Eggs page in the Breakfast subnamespace of the Meals namespace.

Pages called "start" are special; they don't show up in the sidebar. Instead, they're assumed to be the start page of a new namespace and will be the landing page of that namespace.

If really you want to make your namespace its own thing, you can make a page called "sidebar" in that namespace, which will replace the sidebar for it and all subnamespaces.2) That will mean the sidebar doesn't auto-update anymore, though, unless you use indexmenu or nspages.

1)
This page is probably the most immediately relevant.
2)
As long as they don't also have their own sidebars.
basics.txt ยท Last modified: 2022/02/17 14:37 by teddy

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki