gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: use ‘.. code-block:: console’ (19 in


From: gnunet
Subject: [taler-docs] branch master updated: use ‘.. code-block:: console’ (19 instances)
Date: Fri, 04 Dec 2020 09:48:44 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new c8f8796  use ‘.. code-block:: console’ (19 instances)
c8f8796 is described below

commit c8f87966737018a5e6825b5d943c84afad5f2b63
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Fri Dec 4 03:47:14 2020 -0500

    use ‘.. code-block:: console’ (19 instances)
---
 developers-manual.rst | 98 +++++++++++++++++++++++++--------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

diff --git a/developers-manual.rst b/developers-manual.rst
index 3b71d9e..f435b8c 100644
--- a/developers-manual.rst
+++ b/developers-manual.rst
@@ -94,7 +94,7 @@ such that others can verify your commits later.
 
 To sign all commits, you should run
 
-::
+.. code-block:: console
 
    $ git config --global commit.gpgsign true
 
@@ -102,7 +102,7 @@ You can also sign individual commits only by adding the 
``-S`` option to the
 ``git commit`` command. If you accidentally already made commits but forgot
 to sign them, you can retroactively add signatures using:
 
-::
+.. code-block:: console
 
    $ git rebase -S
 
@@ -121,7 +121,7 @@ the master branch.  If you commit and later find out that 
new commits were
 pushed, the following command will pull the new commits and rebase yours
 on top of them.
 
-::
+.. code-block:: console
 
    # -S instructs Git to (re)sign your commits
    $ git pull --rebase -S
@@ -282,7 +282,7 @@ When deploying to ``demo``, the ``envcfg.py`` should be 
committed to ``deploymen
 Bootstrapping an Environment
 ----------------------------
 
-.. code-block:: sh
+.. code-block:: console
 
   $ git clone https://git.taler.net/deployment.git ~/deployment
   $ cp ~/deployment/envcfg/$ENVCFGFILE ~/envcfg.py
@@ -299,7 +299,7 @@ Bootstrapping an Environment
 Upgrading an Existing Environment
 ---------------------------------
 
-.. code-block:: sh
+.. code-block:: console
 
   $ rm -rf ~/sources ~/local
   $ git -C ~/deployment pull
@@ -316,7 +316,7 @@ Switching Demo Colors
 As the ``demo`` user, to switch to color ``${COLOR}``,
 run the following script from ``deployment/bin``:
 
-.. code-block:: sh
+.. code-block:: console
 
    $ taler-deployment switch-demo
 
@@ -359,7 +359,7 @@ All the Taler documentation is built by the user 
``docbuilder`` that
 runs a Buildbot worker.  The following commands set the ``docbuilder`` up,
 starting with a empty home directory.
 
-.. code-block:: sh
+.. code-block:: console
 
   # Log-in as the 'docbuilder' user.
 
@@ -381,7 +381,7 @@ Taler Websites, ``www.taler.net`` and ``stage.taler.net``, 
are built by the
 user ``taler-websites`` by the means of a Buildbot worker.  The following
 commands set the ``taler-websites`` up, starting with a empty home directory.
 
-.. code-block:: sh
+.. code-block:: console
 
   # Log-in as the 'taler-websites' user.
 
@@ -401,7 +401,7 @@ Code coverage
 Code coverage tests are run by the ``lcovworker`` user, and are also driven
 by Buildbot.
 
-.. code-block:: sh
+.. code-block:: console
 
   # Log-in as the 'lcovworker' user.
 
@@ -423,7 +423,7 @@ The user ``demo-checker`` runs periodic checks to see if 
all the
 ``*.demo.taler.net`` services are up and running.  It is driven by
 Buildbot, and can be bootstrapped as follows.
 
-.. code-block:: sh
+.. code-block:: console
 
   # Log-in as the 'demo-checker' user
 
@@ -444,7 +444,7 @@ Both 'test' and 'demo' setups get their tip reserve topped 
up
 by a Buildbot worker.  The following steps get the reserve topper
 prepared.
 
-.. code-block:: sh
+.. code-block:: console
 
   # Log-in as <env>-topper, with <env> being either 'test' or 'demo'
 
@@ -464,7 +464,7 @@ Both 'test' and 'demo' setups get their auditor reports 
compiled
 by a Buildbot worker.  The following steps get the reports compiler
 prepared.
 
-.. code-block:: sh
+.. code-block:: console
 
   # Log-in as <env>-auditor, with <env> being either 'test' or 'demo'
 
@@ -518,10 +518,10 @@ Tagging
 
 Tag releases with an **annotated** commit, like
 
-.. code-block:: sh
+.. code-block:: console
 
-   git tag -a v0.1.0 -m "Official release v0.1.0"
-   git push origin v0.1.0
+   $ git tag -a v0.1.0 -m "Official release v0.1.0"
+   $ git push origin v0.1.0
 
 
 Database for tests
@@ -539,32 +539,32 @@ the change of the version.
 
 Update the Texinfo documentation using the files from docs.git:
 
-.. code-block::
+.. code-block:: console
 
    # Get the latest documentation repository
-   cd $GIT/docs
-   git pull
-   make texinfo
+   $ cd $GIT/docs
+   $ git pull
+   $ make texinfo
    # The *.texi files are now in _build/texinfo
    #
    # This checks out the prebuilt branch in the prebuilt directory
-   git worktree add prebuilt prebuilt
-   cd prebuilt
+   $ git worktree add prebuilt prebuilt
+   $ cd prebuilt
    # Copy the pre-built documentation into the prebuilt directory
-   cp -r ../_build/texinfo .
+   $ cp -r ../_build/texinfo .
    # Push and commit to branch
-   git commit -a -S -m "updating texinfo"
-   git status
+   $ git commit -a -S -m "updating texinfo"
+   $ git status
    # Verify that all files that should be tracked are tracked,
    # new files will have to be added to the Makefile.am in
    # exchange.git as well!
-   git push
+   $ git push
    # Remember $REVISION of commit
    #
    # Go to exchange
-   cd $GIT/exchange/doc/prebuilt
+   $ cd $GIT/exchange/doc/prebuilt
    # Update submodule to point to latest commit
-   git checkout $REVISION
+   $ git checkout $REVISION
 
 Finally, the Automake ``Makefile.am`` files may have to be adjusted to
 include new ``*.texi`` files or images.
@@ -573,14 +573,14 @@ include new ``*.texi`` files or images.
 For the exchange test cases to pass, ``make install`` must be run first.
 Without it, test cases will fail because plugins can't be located.
 
-.. code-block:: sh
+.. code-block:: console
 
-   ./bootstrap
-   ./configure # add required options for your system
-   make dist
-   tar -xf taler-$COMPONENT-$VERSION.tar.gz
-   cd taler-$COMPONENT-$VERSION
-   make install check
+   $ ./bootstrap
+   $ ./configure # add required options for your system
+   $ make dist
+   $ tar -xf taler-$COMPONENT-$VERSION.tar.gz
+   $ cd taler-$COMPONENT-$VERSION
+   $ make install check
 
 Wallet WebExtension
 -------------------
@@ -589,10 +589,10 @@ The version of the wallet is in *manifest.json*. The 
``version_name``
 should be adjusted, and *version* should be increased independently on
 every upload to the WebStore.
 
-.. code-block:: sh
+.. code-block:: console
 
-   ./configure
-   make dist
+   $ ./configure
+   $ make dist
 
 Upload to GNU mirrors
 ---------------------
@@ -778,16 +778,16 @@ First, ensure that you have the required dependencies 
installed:
 
 Then you can get the app's source code using git:
 
-.. code-block:: shell
+.. code-block:: console
 
   # Start by cloning the Android git repository
-  git clone https://git.taler.net/taler-android.git
+  $ git clone https://git.taler.net/taler-android.git
 
   # Change into the directory of the cloned repository
-  cd taler-android
+  $ cd taler-android
 
   # Find out which Android SDK version you will need
-  grep -i compileSdkVersion merchant-terminal/build.gradle
+  $ grep -i compileSdkVersion merchant-terminal/build.gradle
 
 The last command will return something like ``compileSdkVersion 29``.
 So visit the `Android Rebuilds <http://android-rebuilds.beuc.net/>`_ project
@@ -801,22 +801,22 @@ In our example, the version is ``29`` which is available,
 so download the "SDK Platform" package of "Android 10.0.0 (API 29)"
 and unpack it:
 
-.. code-block:: shell
+.. code-block:: console
 
   # Change into the directory that contains your downloaded SDK
-  cd $HOME
+  $ cd $HOME
 
   # Unpack/extract the Android SDK
-  unzip android-sdk_eng.10.0.0_r14_linux-x86.zip
+  $ unzip android-sdk_eng.10.0.0_r14_linux-x86.zip
 
   # Tell the build system where to find the SDK
-  export ANDROID_SDK_ROOT="$HOME/android-sdk_eng.10.0.0_r14_linux-x86"
+  $ export ANDROID_SDK_ROOT="$HOME/android-sdk_eng.10.0.0_r14_linux-x86"
 
   # Change into the directory of the cloned repository
-  cd taler-android
+  $ cd taler-android
 
   # Build the merchant-terminal app
-  ./gradlew :merchant-terminal:assembleRelease
+  $ ./gradlew :merchant-terminal:assembleRelease
 
 If you get an error message complaining about build-tools
 
@@ -935,11 +935,11 @@ in GNU Taler are:
 
 When shell scripts are used, they ``MUST`` begin with the following ``set`` 
command:
 
-.. code-block:: shell
+.. code-block:: console
 
   # Make the shell fail on undefined variables and
   # commands with non-zero exit status.
-  set -eu
+  $ set -eu
 
 Kotlin
 ------

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]