plugin.tx_restdoc_pi1
Properties
Property | Data type | stdWrap | Default |
---|---|---|---|
path | string | yes | empty |
defaultFile | string | yes | "index" |
mode | string | yes | empty |
rootPage | integer | yes | empty |
showPermanentLink | boolean | yes | 0 |
documentStructureMaxDocuments | integer | yes | 50 |
advertiseSphinx | boolean | yes | 1 |
addHeadPagination | boolean | yes | 1 |
publishSources | boolean | yes | 1 |
baseWrap | stdWrap | yes | empty |
Property details
path
plugin.
string
Path to the root directory of the documentation.
defaultFile
plugin.
string
Default file (main file).
mode
plugin.
string
Either BODY
, TOC
, RECENT
, TITLE
, QUICK_NAVIGATION
,
BREADCRUMB
, REFERENCES
, FILENAME
or SEARCH
to setup the plugin
from TypoScript.
rootPage
plugin.
integer
UID of the page showing the documentation. This setting is used when mode =
SEARCH
to link back to the documentation from search results.
showPermanentLink
plugin.
boolean
Whether permanent links should be added to each section.
documentStructureMaxDocuments
plugin.
integer
Maximal number of documents to be processed at once when generating the documentation's structure.
advertiseSphinx
plugin.
boolean
Whether header JS block should be generated to advertise Sphinx to plugins such as Wappalizer.
addHeadPagination
plugin.
boolean
Whether pagination links should be added to the HEAD part. See Google's Webmaster Central Blog for additional information.
publishSources
plugin.
boolean
If active, the sources of your documentation (content of directory _sources/
will be published. Please note that this flag should be set if you want to show
a context of where a search term was found.
baseWrap
plugin.
stdWrap
Override the default wrap for the plugin:
<div class="tx-restdoc-pi1">
...
</div>
Warning
Default wrap is not applied when mode is either TITLE
or
FILENAME
but baseWrap will be applied if defined.