Commit 3cf0c527 authored by André Anjos's avatar André Anjos 💬

Merge branch 'doc-fix' into 'master'

Fix buildout code-block guesses

See merge request !107
parents 0425e8da 6329e034
Pipeline #35953 passed with stages
in 9 minutes and 58 seconds
...@@ -44,7 +44,7 @@ locally: ...@@ -44,7 +44,7 @@ locally:
$ cd awesome-project $ cd awesome-project
$ vi buildout.cfg $ vi buildout.cfg
.. code-block:: guess .. code-block:: cfg
[buildout] [buildout]
parts = scripts parts = scripts
...@@ -236,7 +236,7 @@ from source: ...@@ -236,7 +236,7 @@ from source:
Create a file named ``buildout.cfg`` in the ``awesome-project`` folder with the Create a file named ``buildout.cfg`` in the ``awesome-project`` folder with the
following contents: following contents:
.. code-block:: guess .. code-block:: cfg
[buildout] [buildout]
parts = scripts parts = scripts
...@@ -353,7 +353,7 @@ packages, which will be build in exactly the order that you specified. With ...@@ -353,7 +353,7 @@ packages, which will be build in exactly the order that you specified. With
this option, you can tell buildout particularly, in which directories it should this option, you can tell buildout particularly, in which directories it should
look for some packages. look for some packages.
.. code-block:: guess .. code-block:: cfg
[buildout] [buildout]
parts = scripts parts = scripts
......
...@@ -24,7 +24,7 @@ existing one. The guide heavily relies on the use of Python `setuptools`_ and ...@@ -24,7 +24,7 @@ existing one. The guide heavily relies on the use of Python `setuptools`_ and
You should also go through the `new package instructions`_ page when creating a new You should also go through the `new package instructions`_ page when creating a new
package. It is a step-by-step guide on how to setup your package, and in particular package. It is a step-by-step guide on how to setup your package, and in particular
contains various templates that you must use. Among other stuff, you will find contains various templates that you must use. Among other stuff, you will find
templates for ``README.rst``, ``setup.py``, ``buildout.cfg`` files, templates for ``README.rst``, ``setup.py``, ``buildout.cfg`` files,
for continuous integration and for the conda recipe of your package. for continuous integration and for the conda recipe of your package.
Anatomy of a package Anatomy of a package
...@@ -135,7 +135,7 @@ To be able to use the package, we first need to build and install it locally. ...@@ -135,7 +135,7 @@ To be able to use the package, we first need to build and install it locally.
This is explained in detail in :ref:`bob.extension.build_locally`. This is explained in detail in :ref:`bob.extension.build_locally`.
The buildout configuration file of the package looks like: The buildout configuration file of the package looks like:
.. code-block:: guess .. code-block:: cfg
[buildout] [buildout]
parts = scripts parts = scripts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment