- Target
mainfor new English content and general development. - Target
release/8.0only for English 8.0 corrections and errata. - Target
translation/8.0/<locale>for 8.0 translation work, where<locale>matches the translation directory, such asde,fr, orpt_BR. Do not change the English source on a translation branch. - A translation branch may exist before that language is ready for the website.
Website publication is controlled separately in
.github/docs-versions.yml.
Published edition tags are immutable. Never base a pull request on an attempt to
rewrite or move v8.0-1, v8.0-1-<locale>.1, or any later publication tag.
- We prefer you clone the project and deliver us your text in markdown.
- However if you are not familiar with mdocs and / or markdown you can deliver us a document in .doc(x) or .pages with all needed text and screenshots we will convert it to .md for you
Just above the header add a short description that webcrawlers can use.
```
description: |
A short deescption of a few lines preferable around 150-200 words.
tags: [beginner, advanced, expert] #Add one of these tags so that reader knows what level of knowledge is required.
```Always start with # followed by the name of the chapter starting with a Capital. After and before the heading keep 1 line open for readability.
Example:
# Document title: The first heading should be a level-one heading.
Ideally the same or nearly the same as the filename.
# Chapter 1
## Chapter 2
### Chapter 3Markdown content follows the residual convention of an 80-character line limit.
Exceptions:
Exceptions to the 80-character rule include:
- Links
- Tables
- Headings
- Code blocks
When creating lists use ** before and after so it's in bold
Example :
- **First** : my first item
- **Second** : my second item
Don’t use trailing whitespace. Use a trailing backslash to break lines.
Example:
For some reason I just really want a break here,\
though it's probably not necessary.
When you want to place special emphasis on a word use ` before and after the word
so it looks like my special word.
Try to avoid tables, lists are preferred over tables. When you create a table always try to align the text in the table to the left.
This can be doen with :---- as can be seen in next example
| column 1 | column 2 | colunn 3 |
|---|---|---|
If you like to add images just create a folder under the chapter folder with
the name of your topic and place the .png file it. 7. Naming your images. Always
use the following naming convention: chxx.y-topic-imagename.png. Where xx is
the chapter number and y is the number of the image within the chapter.
To reference to your image just add the name as below in your document. mkdocs will find the image automatically.
{ align=center }
_5.33 Example image 33 in chapter 5
Always use 4 spaces for code blocks and add what kind of code you used:
Example:
```python
print("This is a code block")
```When creating info blocks always use ???+ info followed with a white line and the code in a block with 4 spaces
Example:
???+ info my info block
```
Bla bla my very informative
block of text
```End the chapter always with a:
A short conclusion to explain to the readers what they have learned in this chapter.
- Add a list with questions so that the reader can reflect on the topic.
- Add a list with useful URLs to point the reader to more info about this topic.
If you like to add an URL always put the URi between [] followed by the same URi again between (). This will make it easy to click the links online but also later to see the URi in the book.
Example:
[https://my-urul.com](https://my-url.com)The subject index is generated from index/en.yml. Do not edit
docs/subject-index.md directly.
Index concepts and useful tasks rather than every occurrence of a word. Prefer the section where a concept is explained, configured, or troubleshot. Use a page range only for one uninterrupted procedure.
Main entries should normally be nouns, such as proxy groups, triggers, or
preprocessing. Subentries and locator labels should be short reader actions,
such as configuring, monitoring, or troubleshooting.
After changing the index, generate and validate it with:
python3 tools/build_subject_index.py
python3 tools/build_subject_index.py --checkThe validation rejects missing pages, missing heading anchors, duplicate terms, undefined cross-references, and stale generated output.