Index DocType

Index documents are the primary method of structuring the semantic tree. They are one of the central document types to this template (besides entry doctypes and [[post-type]]s).

Markdown

Index files build the semantic tree, which can be viewed on the tag map page. They are placed in the ./content/index/ directory and each file should contain a markdown outline with wikirefs that typically point to entry doctypes (but can point to any document type). They may or may not contain yaml [[frontmatter]].

Documents should look like this (minus comments):

(escape chars ‘\’ added to ensure raw text display)

// file: i.bonsai.md

- <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[bk.how-to-read-a-book]]</span></span>
  - <span class="invalid-wiki-link">[[read]]</span>
    - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[4-levels-of-reading]]</span></span>
      - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[elementary-reading]]</span></span>
      - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[inspectional-reading]]</span></span>
      - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[analytical-reading]]</span></span>
      - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[syntopical-reading]]</span></span>

The tree may also be broken up into multiple index files:

// file: i.bonsai.md

- <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[bk.how-to-read-a-book]]</span></span>
  - <span class="invalid-wiki-link">[[i.read]]</span>
// file: i.read.md

- <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[4-levels-of-reading]]</span></span>
  - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[elementary-reading]]</span></span>
  - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[inspectional-reading]]</span></span>
  - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[analytical-reading]]</span></span>
  - <span class="invalid-wiki-link"><span class="invalid-wiki-link">[[syntopical-reading]]</span></span>

Both of the above examples will generate a tree that looks like this:

i.bonsai
└── bk.how-to-read-a-book
    └── i.read
        └── 4-levels-of-reading
          ├── elementary-reading
          ├── inspectional-reading
          ├── analytical-reading
          └── syntopical-reading