Skip to content

Commit

Permalink
ci(pre-commit): finalise rstcheck configuration [skip ci]
Browse files Browse the repository at this point in the history
* Automated using myii/ssf-formula#267
  • Loading branch information
myii committed Oct 10, 2020
1 parent 845b808 commit 7a8ce6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ repos:
hooks:
- id: rstcheck
name: Check reST files using rstcheck
exclude: 'docs/CHANGELOG.rst'
args: [--report=warning]
6 changes: 3 additions & 3 deletions docs/TOFS_pattern.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Example: NTP before applying TOFS

Let's work with the NTP example. A basic formula that follows the `design guidelines <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_ has the following files and directories tree:

.. code-block::
.. code-block:: console
/srv/saltstack/salt-formulas/ntp-saltstack-formula/
ntp/
Expand Down Expand Up @@ -226,7 +226,7 @@ We can make different templates coexist for different minions, classified by any

If we decide that we want ``os_family`` as switch, then we could provide the formula template variants for both the ``RedHat`` and ``Debian`` families.

.. code-block::
.. code-block:: console
/srv/saltstack/salt-formulas/ntp-saltstack-formula/ntp/files/
default/
Expand Down Expand Up @@ -449,7 +449,7 @@ Using sub-directories for ``components``

If your formula is composed of several components, you may prefer to provides files under sub-directories, like in the `systemd-formula <https://github.com/saltstack-formulas/systemd-formula>`_.

.. code-block::
.. code-block:: console
/srv/saltstack/systemd-formula/
systemd/
Expand Down

0 comments on commit 7a8ce6e

Please sign in to comment.