1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Description: Modify some code snippet classes to disable unit tests with unmet dependencies
Unit tests scan documentation to detect yaml code block and then executes each snippet
as an individual job configuration. This patch changes documentation yaml class case
to avoid detection. This does not affect the resulting HTML output.
Author: Maxime Werlen <maxime@werlen.fr>
Forwarded: not-needed
Last-Update: 2024-10-30
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/source/filters.rst
+++ b/docs/source/filters.rst
@@ -323,7 +323,7 @@
This filter *must* be the first filter in a chain of filters, since it
consumes binary data and outputs text data.
-.. code-block:: yaml
+.. code-block:: Yaml
url: https://example.net/pdf-test.pdf
filter:
@@ -333,7 +333,7 @@
If the PDF file is password protected, you can specify its password:
-.. code-block:: yaml
+.. code-block:: Yaml
url: https://example.net/pdf-test-password.pdf
filter:
@@ -480,7 +480,7 @@
Alternatively, ``jq`` can be used for filtering:
-.. code:: yaml
+.. code:: Yaml
url: https://api.github.com/repos/voxpupuli/puppet-rundeck/tags
filter:
@@ -641,7 +641,7 @@
This filter *must* be the first filter in a chain of filters, since it
consumes binary data and outputs text data.
-.. code-block:: yaml
+.. code-block:: Yaml
url: https://example.net/ocr-test.png
filter:
@@ -665,7 +665,7 @@
.. _jq: https://stedolan.github.io/jq/
.. _jq Python module: https://github.com/mwilliamson/jq.py
-.. code-block:: yaml
+.. code-block:: Yaml
url: https://example.net/jobs.json
filter:
|