forked from FriendsOfTYPO3/extension_builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Update documentation template to latest version (FriendsOfTYPO…
- Loading branch information
Showing
13 changed files
with
122 additions
and
261 deletions.
There are no files selected for viewing
18 changes: 7 additions & 11 deletions
18
Resources/Private/CodeTemplates/Extbase/Documentation.tmpl/ChangeLog/Index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
.. ================================================== | ||
.. FOR YOUR INFORMATION | ||
.. -------------------------------------------------- | ||
.. -*- coding: utf-8 -*- with BOM. | ||
.. include:: ../Includes.txt | ||
|
||
|
||
.. _changelog: | ||
|
||
ChangeLog | ||
========= | ||
========== | ||
Change log | ||
========== | ||
|
||
Version 1.0.0 | ||
------------- | ||
|
||
Providing a change log chapter is optional. You can also refer | ||
users to the ChangeLog file inside the extension or to some repository's | ||
commit listing. | ||
Use this chapter to inform users of your extension about changes you made with each released version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
Resources/Private/CodeTemplates/Extbase/Documentation.tmpl/Editor/Index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
.. include:: ../Includes.txt | ||
|
||
.. _for-editors: | ||
|
||
=========== | ||
For Editors | ||
=========== | ||
|
||
How to use the extension from the perspective of an editor. | ||
|
||
Think of common tasks that an editor is likely to perform: | ||
|
||
- How do they complete them? | ||
- What problems are they likely to encounter? | ||
- What access do they require? | ||
- What configuration options are available to them? | ||
|
||
One example could be adding a frontend plugin to a page and then configuring it. | ||
|
||
Language should be non-technical, aim to avoid using acronyms where possible. | ||
|
||
Be mindful that editors typically don't have administrative access to the installation. | ||
|
||
.. tip:: | ||
|
||
Take a break from time to time. | ||
|
||
Admonitions should be used to warn the users about potential pitfalls. | ||
Attract their attention to important elements, | ||
or add some notes for for information (further reading, for example). | ||
|
||
Do not overuse admonitions like notes, important, etc.! | ||
|
||
Provide screenshots as needed for making things clear. | ||
When creating screenshots, try using the Official Introduction Package. | ||
|
||
.. figure:: ../Images/UserManual/BackendView.png | ||
:class: with-shadow | ||
:alt: Backend view | ||
|
||
Default Backend view (caption of the image) | ||
|
||
Do not use huge full-screen images, unless it is necessary and serves a good purpose. | ||
|
||
.. _editor-faq: | ||
|
||
FAQ | ||
=== | ||
|
||
Possible subsection: FAQ |
29 changes: 3 additions & 26 deletions
29
Resources/Private/CodeTemplates/Extbase/Documentation.tmpl/Includes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,17 @@ | ||
.. This is 'Includes.txt'. It is included at the very top of each and | ||
every ReST source file in THIS documentation project (= manual). | ||
|
||
.. This files lives at | ||
https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-HowToDocument/blob/master/Documentation/Includes.txt | ||
Version: 2018-10-16 | ||
|
||
.. More information about this file: | ||
https://docs.typo3.org/typo3cms/HowToDocument/GeneralConventions/DirectoryFilenames.html#includes-txt | ||
|
||
.. Define some additional textroles | ||
See: https://docs.typo3.org/typo3cms/HowToDocument/WritingReST/InlineCode.html | ||
|
||
|
||
.. --------- | ||
.. textroles | ||
.. --------- | ||
|
||
.. role:: aspect (emphasis) | ||
.. role:: html(code) | ||
.. role:: js(code) | ||
.. role:: php(code) | ||
.. role:: rst(code) | ||
.. role:: sep (strong) | ||
.. role:: sql(code) | ||
.. role:: typoscript(code) | ||
.. role:: yaml(code) | ||
|
||
.. role:: ts(typoscript) | ||
:class: typoscript | ||
|
||
.. role:: yaml(code) | ||
|
||
.. default-role:: code | ||
|
||
.. --------- | ||
.. highlight | ||
.. --------- | ||
|
||
.. By default, code blocks are php | ||
|
||
.. highlight:: php | ||
.. highlight:: php |
86 changes: 26 additions & 60 deletions
86
Resources/Private/CodeTemplates/Extbase/Documentation.tmpl/Index.rstt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,67 @@ | ||
.. --------------------------------------------------------------- | ||
This is the start file. It gets displayed as first page | ||
https://docs.typo3.org/m/typo3/docs-how-to-document/master/en-us/GeneralConventions/DirectoryFilenames.html#supported-filenames-and-formats | ||
--------------------------------------------------------------- | ||
|
||
.. --------------------------------------------------------------- | ||
More information about creating an extension manual: | ||
https://docs.typo3.org/m/typo3/docs-how-to-document/master/en-us/WritingDocForExtension/CreateWithExtensionBuilder.html | ||
--------------------------------------------------------------- | ||
|
||
.. --------------------------------------------------------------- | ||
comments start with 2 dots and a blank | ||
they can continue on the next line | ||
--------------------------------------------------------------- | ||
|
||
.. --------------------------------------------------------------- | ||
every .rst file should include Includes.txt | ||
use correct path! | ||
--------------------------------------------------------------- | ||
.. every .rst file should include Includes.txt | ||
.. use correct path! | ||
|
||
.. include:: Includes.txt | ||
|
||
.. --------------------------------------------------------------- | ||
Every manual should have a start label for cross-referencing to | ||
start page. Do not remove this! | ||
--------------------------------------------------------------- | ||
.. Every manual should have a start label for cross-referencing to | ||
.. start page. Do not remove this! | ||
|
||
.. _start: | ||
|
||
.. --------------------------------------------------------------- | ||
This is the doctitle | ||
--------------------------------------------------------------- | ||
|
||
============================================================= | ||
{extension.name} | ||
============================================================= | ||
|
||
:Extension Key: | ||
{extension.extensionKey} | ||
|
||
:Version: | ||
|release| | ||
|release| | ||
|
||
:Language: | ||
en | ||
en | ||
|
||
:Copyright: | ||
<f:format.date format="Y">NOW</f:format.date> | ||
|
||
:Author: | ||
<f:for each="{extension.persons}" as="person" iteration="counter"><f:if condition="{counter.index} > 0">, </f:if>{person.name}</f:for> | ||
:Authors: | ||
<f:for each="{extension.persons}" as="person" iteration="counter"><f:if condition="{counter.index} > 0">, </f:if>{person.name}</f:for> | ||
|
||
:Email: | ||
<f:for each="{extension.persons}" as="person" iteration="counter"><f:if condition="{counter.index} > 0">, </f:if>{person.email}</f:for> | ||
<f:for each="{extension.persons}" as="person" iteration="counter"><f:if condition="{counter.index} > 0">, </f:if>{person.email}</f:for> | ||
|
||
:License: | ||
This extension documentation is published under the `CC BY-NC-SA 4.0 <https://creativecommons.org/licenses/by-nc-sa/4.0/>`__ (Creative Commons) license | ||
|
||
|
||
This extension documentation is published under the | ||
`CC BY-NC-SA 4.0 <https://creativecommons.org/licenses/by-nc-sa/4.0/>`__ (Creative Commons) | ||
license | ||
|
||
{extension.description} | ||
|
||
|
||
|
||
**TYPO3** | ||
|
||
The content of this document is related to TYPO3 CMS, | ||
a GNU/GPL CMS/Framework available from `typo3.org | ||
<https://typo3.org/>`_ . | ||
The content of this document is related to TYPO3 CMS, | ||
a GNU/GPL CMS/Framework available from `typo3.org <https://typo3.org/>`_ . | ||
|
||
**Community Documentation** | ||
|
||
**Community Documentation:** | ||
This documentation is community documentation for the TYPO3 extension {extension.name} | ||
|
||
This documentation is community documentation for the TYPO3 extension {extension.name} | ||
It is maintained as part of this third party extension. | ||
|
||
It is maintained as part of this third party extension. | ||
If you find an error or something is missing, please: | ||
`Report a Problem <https://github.com/TYPO3-Documentation/TYPO3CMS-Example-ExtensionManual/issues/new>`__ | ||
|
||
If you find an error or something is missing, please: | ||
`Report a Problem <https://github.com/TYPO3-Documentation/TYPO3CMS-Example-ExtensionManual/issues/new>`__ | ||
**Extension Manual** | ||
|
||
**Sitemap:** | ||
This documentation is for the TYPO3 extension {extension.extensionKey}. | ||
|
||
:ref:`sitemap` | ||
**For Contributors** | ||
|
||
.. --------------------------------------------------------------- | ||
This generates the menu | ||
https://docs.typo3.org/m/typo3/docs-how-to-document/master/en-us/WritingReST/MenuHierarchy.html | ||
--------------------------------------------------------------- | ||
You are welcome to help improve this guide. | ||
Just click on "Edit me on GitHub" on the top right to submit your change request. | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:hidden: | ||
|
||
Introduction/Index | ||
User/Index | ||
Editor/Index | ||
Installation/Index | ||
Configuration/Index | ||
Developer/Index | ||
KnownProblems/Index | ||
ToDoList/Index | ||
ChangeLog/Index | ||
Sitemap |
10 changes: 3 additions & 7 deletions
10
Resources/Private/CodeTemplates/Extbase/Documentation.tmpl/Installation/Index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
.. include:: ../Includes.txt | ||
|
||
|
||
.. include:: ../Includes.txt | ||
|
||
.. _installation: | ||
|
||
============ | ||
Installation | ||
============ | ||
|
||
Target group: **Administrators** | ||
|
||
- How is the extension installed? | ||
- Are there any dependencies that need to be resolved? | ||
|
||
You can also refer to general TYPO3 documentation, for example the | ||
:ref:`t3install:start`. | ||
References to general TYPO3 documentation are possible, | ||
for example the :ref:`t3install:start`. |
Oops, something went wrong.