Templates
The following guide provides patterns for interface elements and directories.
Panels
Panels should be documented by their own heading, nested panels should use decreasing heading levels. Each panel could have its own page based on the length of documentation and/or the amount of panels. Expanded menus that toggle what properties are presented to the user should be treated like subpanels:
Panel Title
===========
Nested Panel Title
------------------
Eigenschaften
Properties should be documented using definition lists. Properties that are hidden based on other properties should used nested definitions:
Property
Property description.
Hidden Property
Hidden property description.
Select menus should be documented using the following syntax:
Menu Label
General description of the menu.
:Menu Item: Menu Item Definition.
:Menu Item: Menu Item Definition.
:Menu Item: Menu Item Definition.
Nodes
Nodes should always have three headings inputs, properties and outputs with a note of absence if the node has none. At the end of the page can be an optional example(s) section:
**********
World Node
**********
.. figure:: /images/render_shader-nodes_output_world_node.png
:align: right
The World node.
Introduction and general use case(s).
Inputs
======
This node has no inputs.
Properties
==========
This node has no properties.
Outputs
=======
This node has no outputs.
Example
=======
Ordnerstruktur
Kapitel sollten generell wie folgt strukturiert sein:
Ordnername/
index.rst
(Enthält Links auf interne Dateien)introduction.rst
Kapitel_1.rst
Kapitel_2.rst
Zum Beispiel:
rendering/
index.rst
cycles/
index.rst
introduction.rst
materials/
index.rst
introduction.rst
volumes.rst
Der Plan ist es, dass ein Ordner den gesamten Inhalt eines Abschnittes enthält. Jeder Abschnitt sollte idealerweise eine index.rst
(enthält das Inhaltsverzeichnis des Abschnittes) und eine introduction.rst
mit (einer Einführung zu) dem Inhalt aufweisen.
Inhaltsverzeichnis
Standardmäßig sollte ein Inhaltsverzeichnis zwei Tiefenebenen darstellen:
.. toctree::
:maxdepth: 2
introduction.rst
perspective.rst
depth_of_field.rst