mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
fix note due to : vs :: typo
This commit is contained in:
parent
5fcefb78b5
commit
d87a2feac0
@ -53,10 +53,10 @@ The container can always be built directly from source:
|
|||||||
$ git clone -b current --single-branch https://github.com/vyos/vyos-build
|
$ git clone -b current --single-branch https://github.com/vyos/vyos-build
|
||||||
$ docker build -t vyos/vyos-build docker
|
$ docker build -t vyos/vyos-build docker
|
||||||
|
|
||||||
.. note: The container is automatically downloaded from Dockerhub if it is not
|
.. note:: The container is automatically downloaded from Dockerhub if it is not
|
||||||
found on your local machine when the below command is executed.
|
found on your local machine when the below command is executed.
|
||||||
|
|
||||||
.. note: We require one container per build branch, this means that the used
|
.. note:: We require one container per build branch, this means that the used
|
||||||
container in ``crux`` and ``current`` can and will differ once VyOS makes
|
container in ``crux`` and ``current`` can and will differ once VyOS makes
|
||||||
the move towards Debian (10) Buster.
|
the move towards Debian (10) Buster.
|
||||||
|
|
||||||
|
|||||||
@ -201,7 +201,7 @@ Formatting
|
|||||||
* Python: Tabs **shall not** be used. Every indentation level should be 4 spaces
|
* Python: Tabs **shall not** be used. Every indentation level should be 4 spaces
|
||||||
* XML: Tabs **shall not** be used. Every indentation level should be 2 spaces
|
* XML: Tabs **shall not** be used. Every indentation level should be 2 spaces
|
||||||
|
|
||||||
.. note: There are extensions to e.g. VIM (xmllint) which will help you to get
|
.. note:: There are extensions to e.g. VIM (xmllint) which will help you to get
|
||||||
your indention levels correct. Add to following to your .vimrc file:
|
your indention levels correct. Add to following to your .vimrc file:
|
||||||
``au FileType xml setlocal equalprg=xmllint\ --format\ --recover\ -\
|
``au FileType xml setlocal equalprg=xmllint\ --format\ --recover\ -\
|
||||||
2>/dev/null`` now you can call the linter using ``gg=G`` in command mode.
|
2>/dev/null`` now you can call the linter using ``gg=G`` in command mode.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user