summaryrefslogtreecommitdiff
path: root/docs/contributing
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-28 21:41:32 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-28 21:41:32 +0100
commit269023845a5dcd936d406fbe1edc2edd45262a24 (patch)
tree52787b010fff5e7090f9e4c9c36554851d7b3259 /docs/contributing
parent03eaf80e6fb39a3bf76ae996b0c12c041c11a6a3 (diff)
downloadvyos-documentation-269023845a5dcd936d406fbe1edc2edd45262a24.tar.gz
vyos-documentation-269023845a5dcd936d406fbe1edc2edd45262a24.zip
Refactor "code-block:: console" to "code-block:: none"
Diffstat (limited to 'docs/contributing')
-rw-r--r--docs/contributing/build-vyos.rst8
-rw-r--r--docs/contributing/development.rst4
-rw-r--r--docs/contributing/documentation.rst8
3 files changed, 10 insertions, 10 deletions
diff --git a/docs/contributing/build-vyos.rst b/docs/contributing/build-vyos.rst
index 3dbd1310..51cfc7a4 100644
--- a/docs/contributing/build-vyos.rst
+++ b/docs/contributing/build-vyos.rst
@@ -18,7 +18,7 @@ Buster.
Installing Docker_ and prerequisites:
-.. code-block:: console
+.. code-block:: none
$ apt-get update
$ apt-get install -y apt-transport-https ca-certificates curl \
@@ -48,7 +48,7 @@ the vyos-build repository).
The container can always be built directly from source:
-.. code-block:: console
+.. code-block:: none
$ git clone -b current --single-branch https://github.com/vyos/vyos-build
$ docker build -t vyos/vyos-build docker
@@ -68,7 +68,7 @@ Build ISO
After the container is generated either manually or fetched from DockerHub,
a fresh build of the VyOS ISO can begin.
-.. code-block:: console
+.. code-block:: none
$ docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build bash
vyos_bld@d4220bb519a0:/vyos# ./configure --architecture amd64 \
@@ -88,7 +88,7 @@ image:
This ISO can be customized with the following list of configure options.
The full and current list can be generated with ``./configure --help``:
-.. code-block:: console
+.. code-block:: none
-h, --help show this help message and exit
--architecture ARCHITECTURE
diff --git a/docs/contributing/development.rst b/docs/contributing/development.rst
index 366621a5..12d706f3 100644
--- a/docs/contributing/development.rst
+++ b/docs/contributing/development.rst
@@ -115,7 +115,7 @@ which of the many VyOS packages ship this file. You can determine the VyOS
package name in question by using Debians ``dpkg -S`` command of your running
VyOS installation.
-.. code-block:: console
+.. code-block:: none
vyos@vyos:~ dpkg -S /opt/vyatta/sbin/vyatta-update-webproxy.pl
vyatta-webproxy: /opt/vyatta/sbin/vyatta-update-webproxy.pl
@@ -144,7 +144,7 @@ In order to record you as the author of the fix please indentify yourself to Git
by setting up your name and email. This can be done local for this one and only
repository ``git config`` or globally using ``git config --global``.
-.. code-block:: console
+.. code-block:: none
git config --global user.name "J. Random Hacker"
git config --global user.email "jrhacker@example.net"
diff --git a/docs/contributing/documentation.rst b/docs/contributing/documentation.rst
index 661f4fe0..99e1fab7 100644
--- a/docs/contributing/documentation.rst
+++ b/docs/contributing/documentation.rst
@@ -59,7 +59,7 @@ This requires you already have a GitHub account.
Check your configured remote repositories:
- .. code-block:: console
+ .. code-block:: none
$ git remote -v
origin https://github.com/YOUR_USERNAME/vyos-documentation.git (fetch)
@@ -70,7 +70,7 @@ This requires you already have a GitHub account.
Your remote repo on Github is called Origin, while the original repo you
have forked is called Upstream. Now you can locally update your forked repo.
- .. code-block:: console
+ .. code-block:: none
$ git fetch upstream
$ git checkout master
@@ -88,7 +88,7 @@ Sections
We use the following syntax for Headlines.
-.. code-block:: console
+.. code-block:: none
#####
Parts
@@ -139,7 +139,7 @@ Under the command a short exlaination should be provide.
Example:
-.. code-block:: console
+.. code-block:: none
.. opcmd:: show protocols static arp