Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Harcoded Link (BAD!)

https://wiki.duraspace.org/display/DSDOC18/Configuration

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="67bc6591a77a9c87-8e91ca9d-412f4fae-b08da634-74e4833e342fe71257d4df37"><ac:plain-text-body><![CDATA[

Relative Link (Good!)

[DSDOC18:Configuration]

(info) General format is: [space-id:page name]

]]></ac:plain-text-body></ac:structured-macro>

...

Harcoded Link (BAD!)

https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-GeneralConfiguration

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a31e6d5165ca1790-c55c77e1-42ed46b5-8737b371-efecca2abc0cf5653cf3dbba"><ac:plain-text-body><![CDATA[

Relative Link (Good!)

[DSDOC18:Configuration#General Configuration]

(info) General format is: [space-id:page name#header text]

]]></ac:plain-text-body></ac:structured-macro>

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="664b6d69362cb60e-26c2ba90-48154a47-805e86d5-3eaeaee013bdec5798d654b5"><ac:plain-text-body><![CDATA[

Harcoded Link (BAD!)

[General Configuration Options|https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-GeneralConfiguration]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="37479cfc3e67944c-29671446-48dd4a76-b9f69bc1-67cd2b2ae0aeb13ab60885b0"><ac:plain-text-body><![CDATA[

Relative Link (Good!)

[General Configuration Options|DSDOC18:Configuration#General Configuration]

(info) General format is: [text of link|space-id:page name#header text]

]]></ac:plain-text-body></ac:structured-macro>

...

Here's the Wiki code to create that standard Table of Contents (just replace "<PAGE NAME>" with the name of the page)

Code Block
h1. DSpace System Documentation: <PAGE NAME>

{toc:outline=true|style=none|minLevel=2}

This table of contents does a few things:

  1. starts the page off with an <H1> heading (all headings after that should be h2. or h3. or h4. , etc.)
  2. formats the TOC like an "outline" (1, 1.1, 1.2, 2, 2.1, etc.)
  3. turns off any special stylingEnsures the TOC skips over the first <H1> heading and starts at all headings below it.

For an example, just view the Wiki Markup for this page!

...