Skip to content

Commit

Permalink
Merge pull request #569 from edlongman/remove-tex-instances
Browse files Browse the repository at this point in the history
Add backticks around custom_reports docs to improve layout
  • Loading branch information
set-soft authored Jan 25, 2024
2 parents 2ff4035 + c5d6953 commit 2889f25
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
24 changes: 12 additions & 12 deletions docs/samples/generic_plot.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -872,8 +872,8 @@ outputs:
options:
# [list(dict)] A list of customized reports for the manufacturer
custom_reports:
# [string=''] Content for the report. Use `${basename}` for the project name without extension.
# Use `${filename(LAYER)}` for the file corresponding to LAYER
# [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
# Use ``${filename(LAYER)}`` for the file corresponding to LAYER
- content: ''
# [string='Custom_report.txt'] File name for the custom report
output: 'Custom_report.txt'
Expand Down Expand Up @@ -1100,8 +1100,8 @@ outputs:
create_gerber_job_file: true
# [list(dict)] A list of customized reports for the manufacturer
custom_reports:
# [string=''] Content for the report. Use `${basename}` for the project name without extension.
# Use `${filename(LAYER)}` for the file corresponding to LAYER
# [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
# Use ``${filename(LAYER)}`` for the file corresponding to LAYER
- content: ''
# [string='Custom_report.txt'] File name for the custom report
output: 'Custom_report.txt'
Expand Down Expand Up @@ -1176,8 +1176,8 @@ outputs:
options:
# [list(dict)] A list of customized reports for the manufacturer
custom_reports:
# [string=''] Content for the report. Use `${basename}` for the project name without extension.
# Use `${filename(LAYER)}` for the file corresponding to LAYER
# [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
# Use ``${filename(LAYER)}`` for the file corresponding to LAYER
- content: ''
# [string='Custom_report.txt'] File name for the custom report
output: 'Custom_report.txt'
Expand Down Expand Up @@ -2626,8 +2626,8 @@ outputs:
options:
# [list(dict)] A list of customized reports for the manufacturer
custom_reports:
# [string=''] Content for the report. Use `${basename}` for the project name without extension.
# Use `${filename(LAYER)}` for the file corresponding to LAYER
# [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
# Use ``${filename(LAYER)}`` for the file corresponding to LAYER
- content: ''
# [string='Custom_report.txt'] File name for the custom report
output: 'Custom_report.txt'
Expand Down Expand Up @@ -2891,8 +2891,8 @@ outputs:
a4_output: true
# [list(dict)] A list of customized reports for the manufacturer
custom_reports:
# [string=''] Content for the report. Use `${basename}` for the project name without extension.
# Use `${filename(LAYER)}` for the file corresponding to LAYER
# [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
# Use ``${filename(LAYER)}`` for the file corresponding to LAYER
- content: ''
# [string='Custom_report.txt'] File name for the custom report
output: 'Custom_report.txt'
Expand Down Expand Up @@ -3375,8 +3375,8 @@ outputs:
options:
# [list(dict)] A list of customized reports for the manufacturer
custom_reports:
# [string=''] Content for the report. Use `${basename}` for the project name without extension.
# Use `${filename(LAYER)}` for the file corresponding to LAYER
# [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
# Use ``${filename(LAYER)}`` for the file corresponding to LAYER
- content: ''
# [string='Custom_report.txt'] File name for the custom report
output: 'Custom_report.txt'
Expand Down
4 changes: 2 additions & 2 deletions docs/source/configuration/outputs/dxf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Parameters:

- Valid keys:

- ``content`` :index:`: <pair: output - dxf - options - custom_reports; content>` [string=''] Content for the report. Use `${basename}` for the project name without extension.
Use `${filename(LAYER)}` for the file corresponding to LAYER.
- ``content`` :index:`: <pair: output - dxf - options - custom_reports; content>` [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
Use ``${filename(LAYER)}`` for the file corresponding to LAYER.
- ``output`` :index:`: <pair: output - dxf - options - custom_reports; output>` [string='Custom_report.txt'] File name for the custom report.

- ``dnf_filter`` :index:`: <pair: output - dxf - options; dnf_filter>` [string|list(string)='_none'] Name of the filter to mark components as not fitted.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/configuration/outputs/gerber.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ Parameters:

- Valid keys:

- ``content`` :index:`: <pair: output - gerber - options - custom_reports; content>` [string=''] Content for the report. Use `${basename}` for the project name without extension.
Use `${filename(LAYER)}` for the file corresponding to LAYER.
- ``content`` :index:`: <pair: output - gerber - options - custom_reports; content>` [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
Use ``${filename(LAYER)}`` for the file corresponding to LAYER.
- ``output`` :index:`: <pair: output - gerber - options - custom_reports; output>` [string='Custom_report.txt'] File name for the custom report.

- ``disable_aperture_macros`` :index:`: <pair: output - gerber - options; disable_aperture_macros>` [boolean=false] Disable aperture macros (workaround for buggy CAM software) (KiCad 6).
Expand Down
4 changes: 2 additions & 2 deletions docs/source/configuration/outputs/hpgl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Parameters:

- Valid keys:

- ``content`` :index:`: <pair: output - hpgl - options - custom_reports; content>` [string=''] Content for the report. Use `${basename}` for the project name without extension.
Use `${filename(LAYER)}` for the file corresponding to LAYER.
- ``content`` :index:`: <pair: output - hpgl - options - custom_reports; content>` [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
Use ``${filename(LAYER)}`` for the file corresponding to LAYER.
- ``output`` :index:`: <pair: output - hpgl - options - custom_reports; output>` [string='Custom_report.txt'] File name for the custom report.

- ``dnf_filter`` :index:`: <pair: output - hpgl - options; dnf_filter>` [string|list(string)='_none'] Name of the filter to mark components as not fitted.
Expand Down
8 changes: 4 additions & 4 deletions docs/source/configuration/outputs/pdf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Parameters:

- Valid keys:

- ``content`` :index:`: <pair: output - pdf - options - custom_reports; content>` [string=''] Content for the report. Use `${basename}` for the project name without extension.
Use `${filename(LAYER)}` for the file corresponding to LAYER.
- ``content`` :index:`: <pair: output - pdf - options - custom_reports; content>` [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
Use ``${filename(LAYER)}`` for the file corresponding to LAYER.
- ``output`` :index:`: <pair: output - pdf - options - custom_reports; output>` [string='Custom_report.txt'] File name for the custom report.

- ``dnf_filter`` :index:`: <pair: output - pdf - options; dnf_filter>` [string|list(string)='_none'] Name of the filter to mark components as not fitted.
Expand Down Expand Up @@ -99,8 +99,8 @@ Parameters:

- Valid keys:

- ``content`` :index:`: <pair: output - pdf - custom_reports; content>` [string=''] Content for the report. Use `${basename}` for the project name without extension.
Use `${filename(LAYER)}` for the file corresponding to LAYER.
- ``content`` :index:`: <pair: output - pdf - custom_reports; content>` [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
Use ``${filename(LAYER)}`` for the file corresponding to LAYER.
- ``output`` :index:`: <pair: output - pdf - custom_reports; output>` [string='Custom_report.txt'] File name for the custom report.

- ``disable_run_by_default`` :index:`: <pair: output - pdf; disable_run_by_default>` [string|boolean] Use it to disable the `run_by_default` status of other output.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/configuration/outputs/ps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Parameters:

- Valid keys:

- ``content`` :index:`: <pair: output - ps - options - custom_reports; content>` [string=''] Content for the report. Use `${basename}` for the project name without extension.
Use `${filename(LAYER)}` for the file corresponding to LAYER.
- ``content`` :index:`: <pair: output - ps - options - custom_reports; content>` [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
Use ``${filename(LAYER)}`` for the file corresponding to LAYER.
- ``output`` :index:`: <pair: output - ps - options - custom_reports; output>` [string='Custom_report.txt'] File name for the custom report.

- ``dnf_filter`` :index:`: <pair: output - ps - options; dnf_filter>` [string|list(string)='_none'] Name of the filter to mark components as not fitted.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/configuration/outputs/svg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Parameters:

- Valid keys:

- ``content`` :index:`: <pair: output - svg - options - custom_reports; content>` [string=''] Content for the report. Use `${basename}` for the project name without extension.
Use `${filename(LAYER)}` for the file corresponding to LAYER.
- ``content`` :index:`: <pair: output - svg - options - custom_reports; content>` [string=''] Content for the report. Use ``${basename}`` for the project name without extension.
Use ``${filename(LAYER)}`` for the file corresponding to LAYER.
- ``output`` :index:`: <pair: output - svg - options - custom_reports; output>` [string='Custom_report.txt'] File name for the custom report.

- ``dnf_filter`` :index:`: <pair: output - svg - options; dnf_filter>` [string|list(string)='_none'] Name of the filter to mark components as not fitted.
Expand Down
4 changes: 2 additions & 2 deletions kibot/out_any_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def __init__(self):
self.output = 'Custom_report.txt'
""" File name for the custom report """
self.content = ''
""" Content for the report. Use `${basename}` for the project name without extension.
Use `${filename(LAYER)}` for the file corresponding to LAYER """
""" Content for the report. Use ``${basename}`` for the project name without extension.
Use ``${filename(LAYER)}`` for the file corresponding to LAYER """


class AnyLayerOptions(VariantOptions):
Expand Down

0 comments on commit 2889f25

Please sign in to comment.