Anatomy of a Wiki Header
All wiki documents use these header attributes. Optional attributes can be left blank following the : colon symbol.
= Enter Document Title Here
:author:
:revnumber:
:revdate:
:relfileprefix: ../../
:imagesdir: ../..
:experimental:
:link-javadoc: https://javadoc.jmonkeyengine.org
:stylesheet: twemoji-awesome.css
ifdef::env-github,env-browser[:outfilesuffix: .adoc]
:author:
Optional. Document author.
Optional Author and Revision information immediately follows the header title. |
:relfileprefix:
Optional. Enter a path to the “asciidoc” folder if using cross reference links.
Use Tree View (ctrl+\ or ) to locate the “asciidoc” folder if using the Atom editor.
|
In the example below, “asciidoc” is two folders above the folder this file is located in.
:relfileprefix: ../../
:imagesdir:
Optional. Enter a path to the "images" folder if using image links.
Use Tree View (ctrl+\ or ) to locate the “images” folder if using the Atom editor.
|
In the example below, “images” is two folders above the folder this file is located in. Note the missing / forward slash.
:imagesdir: ../..
A simple way to determine the location of the "asciidoc" and "images" folder in the Atom editor is first save the file to its new location, then in Temporarily paste this into your document to see where the “asciidoc” folder is located. For example: In this example, "asciidoc" is located two folders above the "advanced" folder You can find this same folder information using GitHub. |
The “images” folder resides in the same folder as the “asciidoc” folder so it has the same setting minus the / forward slash.
:experimental:
Optional. Leave this blank, i.e do not set a value for this attribute if using it. This is the experimental attribute that allows the use of User Interface Macros. You use these macros for creating keyboard shortcuts, displaying menu selections and UI buttons.
:link-javadoc:
Optional. This is the global attribute for the jME javadocs. You set this if you are overriding the default setting from the build.gradle file. You can use the default {link-javadoc}
attribute directly in any document you write, as is shown in the following example, without adding anything to the header.
link:{link-javadoc}/com/jme3/app/state/BaseAppState.html[BaseAppState]
If you override the variable in the header of the document, that value will be used instead.
:stylesheet: twemoji-awesome.css
Optional. Adding this attribute will allow the use of emoji in the document.
See: Emoji Cheat Sheet
ifdef::env-github,env-browser[:outfilesuffix: .adoc]
Mandatory. See Navigating Between Source Files in the AsciiDoctor user manual. Leave this as written.