Skip to content

Commit 33ce43d

Browse files
committed
ci(pre-commit): finalise rstcheck configuration [skip ci]
* Automated using myii/ssf-formula#267
1 parent f7c911a commit 33ce43d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: .pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ repos:
4444
hooks:
4545
- id: rstcheck
4646
name: Check reST files using rstcheck
47+
exclude: 'docs/CHANGELOG.rst'
4748
args: [--report=warning]

Diff for: docs/TOFS_pattern.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Example: NTP before applying TOFS
6464

6565
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:
6666

67-
.. code-block::
67+
.. code-block:: console
6868
6969
/srv/saltstack/salt-formulas/ntp-saltstack-formula/
7070
ntp/
@@ -226,7 +226,7 @@ We can make different templates coexist for different minions, classified by any
226226

227227
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.
228228

229-
.. code-block::
229+
.. code-block:: console
230230
231231
/srv/saltstack/salt-formulas/ntp-saltstack-formula/ntp/files/
232232
default/
@@ -449,7 +449,7 @@ Using sub-directories for ``components``
449449

450450
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>`_.
451451

452-
.. code-block::
452+
.. code-block:: console
453453
454454
/srv/saltstack/systemd-formula/
455455
systemd/

0 commit comments

Comments
 (0)