[Doc] quick test if the whitespace enabled code-block causes the PDF build errors on RTD or something else
This commit is contained in:
parent
45bf398494
commit
1b6b0181c5
2 changed files with 6 additions and 8 deletions
|
|
@ -166,8 +166,7 @@ Examples
|
|||
Based on the three types explained above, quite complex data structures are possible (whitespace made visible to
|
||||
help track indentation):
|
||||
|
||||
.. code-block-ext:: yaml
|
||||
:whitespace:
|
||||
.. code-block:: yaml
|
||||
|
||||
general:
|
||||
some_setting: some_value
|
||||
|
|
@ -205,8 +204,7 @@ just playing a trick on you due to the list's dashes ``-`` being on the same lev
|
|||
also just add two more spaces to your identation and write that part like this, which makes the structure a bit
|
||||
clearer (whitespace again made visible to help track indentation):
|
||||
|
||||
.. code-block-ext:: yaml
|
||||
:whitespace:
|
||||
.. code-block:: yaml
|
||||
|
||||
general:
|
||||
some_setting: some_value
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ The following example defines a control for enabling the cooling fan with a vari
|
|||
feedback evaluation for the result of the M114 "Get Position" gcode inside a section named "Reporting" and finally
|
||||
a GCODE script including user input.
|
||||
|
||||
.. code-block-ext:: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
controls:
|
||||
- name: Fan
|
||||
|
|
@ -167,7 +167,7 @@ Controls
|
|||
additional input fields. ``command``/``commands`` may contain placeholders to be replaced by the values obtained
|
||||
from the user for the defined input fields:
|
||||
|
||||
.. code-block-ext:: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
name: Enable Fan
|
||||
command: M106 S%(speed)s
|
||||
|
|
@ -226,7 +226,7 @@ Examples
|
|||
Parameterized GCODE Script
|
||||
..........................
|
||||
|
||||
.. code-block-ext:: yaml
|
||||
.. code-block:: yaml
|
||||
:caption: Control definition in ~/.octoprint/config.yaml
|
||||
:name: code-features-custom_controls-example-gcode_script-config_yaml
|
||||
|
||||
|
|
@ -241,7 +241,7 @@ Parameterized GCODE Script
|
|||
min: 1
|
||||
step: 1
|
||||
|
||||
.. code-block-ext:: jinja
|
||||
.. code-block:: jinja
|
||||
:caption: ~/.octoprint/scripts/gcode/custom/dance.gco
|
||||
:name: code-features-custom_controls-example-gcode_script-dance_gco
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue