mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-11-02 11:52:03 +01:00
Merge pull request #149 from rebortg/sections
Add Section to style guide and fix TOC
This commit is contained in:
commit
6adb039393
@ -27,3 +27,22 @@ which will take care of adjusting the synatax. No action needs to be taken by
|
||||
you.
|
||||
|
||||
|
||||
****************
|
||||
Copyright Notice
|
||||
****************
|
||||
|
||||
Copyright (C) 2018-2019 VyOS maintainers and contributors
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this manual
|
||||
provided the copyright notice and this permission notice are preserved on all
|
||||
copies.
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this manual
|
||||
under the conditions for verbatim copying, provided that the entire resulting
|
||||
derived work is distributed under the terms of a permission notice identical
|
||||
to this one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual into
|
||||
another language, under the above conditions for modified versions, except that
|
||||
this permission notice may be stated in a translation approved by the VyOS
|
||||
maintainers.
|
||||
@ -195,7 +195,7 @@ replacements and ``-`` for deletions.
|
||||
vyos@vyos#
|
||||
|
||||
It is also possible to display all `set` commands within configuration mode
|
||||
using ``show | commands`
|
||||
using ``show | commands``
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
@ -340,7 +340,7 @@ Archive
|
||||
VyOS automatically maintains backups of previous configurations.
|
||||
|
||||
Local archive and revisions
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
---------------------------
|
||||
|
||||
Revisions are stored on disk. You can view them, compare them, and rollback to
|
||||
previous revisions if anything goes wrong.
|
||||
@ -387,7 +387,7 @@ command:
|
||||
vyos@vyos#
|
||||
|
||||
Comparing Revisions
|
||||
"""""""""""""""""""
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can compare revisions with ``compare X Y`` command, where X and Y are
|
||||
revision numbers. The output will describe how the configuration X is when
|
||||
@ -411,7 +411,7 @@ x misses when compared to y.
|
||||
-}
|
||||
|
||||
Rolling Back Changes
|
||||
""""""""""""""""""""
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can rollback configuration using the rollback command. This command will
|
||||
apply the selected revision and trigger a system reboot.
|
||||
@ -430,7 +430,7 @@ apply the selected revision and trigger a system reboot.
|
||||
vyos@vyos#
|
||||
|
||||
Configuring the archive size
|
||||
""""""""""""""""""""""""""""
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can specify the number of revisions stored on disk with ``set system
|
||||
config-management commit-revisions X``, where X is a number between 0 and 65535.
|
||||
@ -447,7 +447,7 @@ You can specify the location with:
|
||||
|
||||
* ``set system config-management commit-archive location URL``
|
||||
|
||||
For example, ``set system config-management commit-archive location tftp://10.0.0.1/vyos`.
|
||||
For example, ``set system config-management commit-archive location tftp://10.0.0.1/vyos``.
|
||||
|
||||
You can specify the location with ``set system config-management commit-archive
|
||||
location URL`` command, e.g. ``set system config-management commit-archive
|
||||
|
||||
@ -83,6 +83,33 @@ This requires you already have a GitHub account.
|
||||
Style Guide
|
||||
-----------
|
||||
|
||||
Sections
|
||||
^^^^^^^^
|
||||
|
||||
We use the following syntax for Headlines.
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
#####
|
||||
Parts
|
||||
#####
|
||||
|
||||
********
|
||||
Chapters
|
||||
********
|
||||
|
||||
Sections
|
||||
========
|
||||
|
||||
Subsections
|
||||
-----------
|
||||
|
||||
Subsubsections
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
Paragraphs
|
||||
""""""""""
|
||||
|
||||
Address space
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
|
||||
@ -1,11 +1,9 @@
|
||||
.. _index:
|
||||
|
||||
###############
|
||||
VyOS User Guide
|
||||
===============
|
||||
###############
|
||||
|
||||
############
|
||||
Introduction
|
||||
############
|
||||
|
||||
.. toctree::
|
||||
:caption: Introduction
|
||||
@ -18,9 +16,6 @@ Introduction
|
||||
cli
|
||||
quick-start
|
||||
|
||||
######
|
||||
Basics
|
||||
######
|
||||
|
||||
.. toctree::
|
||||
:caption: Basics
|
||||
@ -32,9 +27,6 @@ Basics
|
||||
system/index
|
||||
image-mgmt
|
||||
|
||||
########
|
||||
Advanced
|
||||
########
|
||||
|
||||
.. toctree::
|
||||
:caption: Advanced
|
||||
@ -53,9 +45,6 @@ Advanced
|
||||
commandscripting
|
||||
troubleshooting
|
||||
|
||||
########
|
||||
Appendix
|
||||
########
|
||||
|
||||
.. toctree::
|
||||
:caption: Appendix
|
||||
@ -69,9 +58,6 @@ Appendix
|
||||
appendix/vyos-on-baremetal
|
||||
appendix/migrate-from-vyatta
|
||||
|
||||
############
|
||||
Contributing
|
||||
############
|
||||
|
||||
.. toctree::
|
||||
:caption: Contributing
|
||||
@ -82,24 +68,3 @@ Contributing
|
||||
contributing/issues-features
|
||||
contributing/development
|
||||
contributing/documentation
|
||||
|
||||
|
||||
################
|
||||
Copyright Notice
|
||||
################
|
||||
|
||||
Copyright (C) 2018-2019 VyOS maintainers and contributors
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this manual
|
||||
provided the copyright notice and this permission notice are preserved on all
|
||||
copies.
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this manual
|
||||
under the conditions for verbatim copying, provided that the entire resulting
|
||||
derived work is distributed under the terms of a permission notice identical
|
||||
to this one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual into
|
||||
another language, under the above conditions for modified versions, except that
|
||||
this permission notice may be stated in a translation approved by the VyOS
|
||||
maintainers.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user