Page History
Editing Best Practices (to avoid release errors)
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Always use Relative Wiki Links!
...
For example, if you wanted to link to the Configuration page:
Harcoded Link (BAD!) | https://wiki.duraspace.org/display/DSDOCDEV/Configuration![]() | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="67b67cc6-4e4b-4812-9e0e-d6f0a4955c95"><ac:plain-text-body><![CDATA[ | Relative Link (Good!) | | ]]></ac:plain-text-body></ac:structured-macro> |
- Insert a new "Link"
- Under the "Search" sidetab, type in "Configuration"
- Locate the appropriate "Configuration" page in the Wiki and select it (pay close attention to the Wiki space it's in..there may be several pages called "Configuration")
- Optionally, provide custom "Link Text" (at the bottom)
Another example! This time, of a link to a specific heading on a page. Suppose you wanted to link to the General Configuration header on the Configuration page:
Harcoded Link (BAD!) | https://wiki.duraspace.org/display/DSDOCDEV/Configuration#Configuration-BatchMetadataEditing![]() | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9f4987bc-2faa-4ddf-ba47-c3354e54aac0"><ac:plain-text-body><![CDATA[ | Relative Link (Good!) | | ]]></ac:plain-text-body></ac:structured-macro> |
One final example. It's the same as the above "Batch Metadata Editing" example, but now we are changing the text in the link to say "Batch Metadata Editing Configuration"
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0e7f08b8-bbfe-4e65-a2d2-f9f733ceea67"><ac:plain-text-body><![CDATA[ | Harcoded Link (BAD!) | [Batch Metadata Editing Configuration|https://wiki.duraspace.org/display/DSDOCDEV/Configuration#Configuration-BatchMetadataEditing] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3405e846-7e5a-4de1-9b34-d9d62d97d8db"><ac:plain-text-body><![CDATA[ | Relative Link (Good!) | | ]]></ac:plain-text-body></ac:structured-macro> |
- Insert a new "Link"
- Select the "Advanced" sidetab
- In the "Link" field, type: "Configuration#General Configuration" (Format: "Page Name#Heading")
- In the "Link Text" field, add some text for the link (e.g. "General Configuration")
Info |
---|
You can view the source of this page for examples |
Use our standard Table of Contents when creating a new page
In the Official DSpace Documentation, we try to use a standard "table of contents" on each and every page (it's even at the top of this page).
- Insert a new Table of Contents Macro, with the following settings
- Output Type: list
- Display Section Numbering: (checked/selected)
- List Style: none
- Minimum Heading Level: 2
This table of contents does a few things:
- formats the TOC like an "outline" (1, 1.1, 1.2, 2, 2.1, etc.) (Display Section Numbering = checked)
- turns off any special styling (List Style = none)
- ensures the numbering begins with the first "Heading 2" (Minimum Heading Level = 2)
For an example, just view the Wiki Markup for this page!
Note |
---|
There may be occasional exceptions to this rule. One example is the Upgrading a DSpace Installation page, which uses a bulleted-list based Table of Contents (as the outline numbers look confusing next to the DSpace version numbers). |
Additional General Wiki Syntax Hints
Some general Wiki Syntax hints/tips can be found in our DSpace Wiki Style Guide.
Info |
---|
Obviously, just clicking "Edit" on any wiki page (and especially looking at the "Wiki Markup") is a great resource as well! |
Avoid special characters in page titles
Many people arrive on a specific page of the documentation after a google search. That's why it's important to ensure that the relevant keywords for the page are in the URL. This also makes URLs easy to read and share. When you put special characters in the titles, keywords will NOT show in the page URLs. Therefore, avoid special characters like brackets etc.
Official resource on special characters in page titles and effect on page urls.
...