From 122239e6874520a3db4db4411b72a50cb89b610e Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 19 Oct 2022 10:32:15 -0300 Subject: [PATCH] [DOCs] Marked as development anything other `master` --- README.md | 8 +++++--- docs/replace_tags.pl | 2 +- docs/samples/generic_plot.kibot.yaml | 6 ++++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1d52290f..51a112a1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![PyPI version](https://img.shields.io/pypi/v/kibot?style=plastic)](https://pypi.org/project/kibot/) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?style=plastic)](https://www.paypal.com/donate/?hosted_button_id=K2T86GDTTMRPL) -# **This is the documentation for KiBot v1.4.0 for the current development read [here](https://github.com/INTI-CMNB/KiBot/tree/dev).** +# **This is the documentation for the current development KiBot, not yet released.** **Important for CI/CD**: @@ -2579,8 +2579,10 @@ Notes: - `highlight_padding`: [number=1.5] [0,1000] How much the highlight extends around the component [mm]. - `highlight_style`: [string='stroke:none;fill:#ff0000;opacity:0.5;'] SVG code for the highlight style. - `vcut`: [string='#bf2600'] Color for the V-CUTS. - - `add_to_variant`: [boolean=true] The `show_components` list is added to the list of components indicated by the variant (fitted and not excluded). - This is the old behavior, but isn't intuitive because the `show_components` meaning changes when a variant is used. + - `add_to_variant`: [boolean=true] The `show_components` list is added to the list of components indicated by the variant (fitted and not + excluded). + This is the old behavior, but isn't intuitive because the `show_components` meaning changes when a variant + is used. To get a more coherent behavior disable this option, and `none` will always be `none`. Also `all` will be what the variant says. - `dnf_filter`: [string|list(string)='_none'] Name of the filter to mark components as not fitted. diff --git a/docs/replace_tags.pl b/docs/replace_tags.pl index 5e237eba..a9c20193 100644 --- a/docs/replace_tags.pl +++ b/docs/replace_tags.pl @@ -11,7 +11,7 @@ $json_dep=`../src/kibot --help-dependencies --json`; $json_dep=~s/\n/\\\n/g; $branch=`git rev-parse --abbrev-ref HEAD`; chomp($branch); -if ($branch eq "dev") +if ($branch ne "master") { $doc_id="# **This is the documentation for the current development KiBot, not yet released.**\n"; } diff --git a/docs/samples/generic_plot.kibot.yaml b/docs/samples/generic_plot.kibot.yaml index 8ce2ca75..86500416 100644 --- a/docs/samples/generic_plot.kibot.yaml +++ b/docs/samples/generic_plot.kibot.yaml @@ -1349,8 +1349,10 @@ outputs: type: 'pcbdraw' dir: 'Example/pcbdraw_dir' options: - # [boolean=true] The `show_components` list is added to the list of components indicated by the variant (fitted and not excluded). - # This is the old behavior, but isn't intuitive because the `show_components` meaning changes when a variant is used. + # [boolean=true] The `show_components` list is added to the list of components indicated by the variant (fitted and not + # excluded). + # This is the old behavior, but isn't intuitive because the `show_components` meaning changes when a variant + # is used. # To get a more coherent behavior disable this option, and `none` will always be `none`. # Also `all` will be what the variant says add_to_variant: true