mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
documentation: adjust line lenght
This commit is contained in:
parent
e3e08b3af1
commit
fe5075fbc5
@ -36,9 +36,11 @@ access to the official codebase.
|
|||||||
|
|
||||||
* Fork this project on GitHub https://github.com/vyos/vyos-documentation/fork
|
* Fork this project on GitHub https://github.com/vyos/vyos-documentation/fork
|
||||||
|
|
||||||
* Clone fork to local machine, then change to that directory``$ cd vyos-documentation``
|
* Clone fork to local machine, then change to that directory
|
||||||
|
``$ cd vyos-documentation``
|
||||||
|
|
||||||
* Install the requirements ``$ pip install -r requirements.txt`` (or something similar)
|
* Install the requirements ``$ pip install -r requirements.txt``
|
||||||
|
(or something similar)
|
||||||
|
|
||||||
* Create new branch for your work, use a descriptive name of your work:
|
* Create new branch for your work, use a descriptive name of your work:
|
||||||
``$ git checkout -b <branch-name>``
|
``$ git checkout -b <branch-name>``
|
||||||
@ -47,8 +49,8 @@ access to the official codebase.
|
|||||||
(:ref:`prepare_commit`). This mainly applies to proper commit messages
|
(:ref:`prepare_commit`). This mainly applies to proper commit messages
|
||||||
describing your change (how and why). Please check out the documentation of
|
describing your change (how and why). Please check out the documentation of
|
||||||
Sphinx-doc_ or reStructuredText_ if you are not familiar with it. This is used
|
Sphinx-doc_ or reStructuredText_ if you are not familiar with it. This is used
|
||||||
for writing our docs. Additional directives how to write in RST can be obtained
|
for writing our docs. Additional directives how to write in RST can be
|
||||||
from reStructuredTextDirectives_.
|
obtained from reStructuredTextDirectives_.
|
||||||
|
|
||||||
* Check your changes by locally building the documentation ``$ make html``.
|
* Check your changes by locally building the documentation ``$ make html``.
|
||||||
Sphinx will build the html files in the ``docs/_build`` folder. We provide
|
Sphinx will build the html files in the ``docs/_build`` folder. We provide
|
||||||
@ -302,8 +304,8 @@ For example:
|
|||||||
* ``set zone-policy`` is written in ``zone-policy/index.rst``
|
* ``set zone-policy`` is written in ``zone-policy/index.rst``
|
||||||
* ``set interfaces ethernet`` is written in ``interfaces/ethernet.rst``
|
* ``set interfaces ethernet`` is written in ``interfaces/ethernet.rst``
|
||||||
|
|
||||||
The article starts with a short intruducing about the command or the technologie.
|
The article starts with a short intruducing about the command or the
|
||||||
Please include some helpfull links or background informations.
|
technologie. Please include some helpfull links or background informations.
|
||||||
|
|
||||||
After this a optional section follows. Some commands have requirements like the
|
After this a optional section follows. Some commands have requirements like the
|
||||||
compatible hardware (e.g. Wifi) or some commands you have to set before. For
|
compatible hardware (e.g. Wifi) or some commands you have to set before. For
|
||||||
@ -334,9 +336,10 @@ Anything else what is not a configuration or a operation command have no
|
|||||||
predefined structure.
|
predefined structure.
|
||||||
|
|
||||||
|
|
||||||
|
.. stop_vyoslinter
|
||||||
.. _Sphinx-doc: https://www.sphinx-doc.org
|
.. _Sphinx-doc: https://www.sphinx-doc.org
|
||||||
.. _reStructuredText: http://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html
|
.. _reStructuredText: http://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html
|
||||||
.. _reStructuredTextDirectives: https://docutils.sourceforge.io/docs/ref/rst/directives.html
|
.. _reStructuredTextDirectives: https://docutils.sourceforge.io/docs/ref/rst/directives.html
|
||||||
.. _README.md: https://github.com/vyos/vyos-documentation/blob/master/README.md
|
.. _README.md: https://github.com/vyos/vyos-documentation/blob/master/README.md
|
||||||
|
|
||||||
.. include:: /_include/common-references.txt
|
.. include:: /_include/common-references.txt
|
||||||
|
.. start_vyoslinter
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user