forked from johnbeard/kiplot
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCs][Fixed] We had 3 FileList classes, only one shown
- Loading branch information
Showing
10 changed files
with
84 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.. _FilesListCompress: | ||
|
||
|
||
FilesListCompress parameters | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **from_output** :index:`: <pair: output - compress - options - files; from_output>` [:ref:`string <string>`] (default: ``''``) Collect files from the selected output. | ||
When used the `source` option is ignored. | ||
- **source** :index:`: <pair: output - compress - options - files; source>` [:ref:`string <string>`] (default: ``'*'``) File names to add, wildcards allowed. Use ** for recursive match. | ||
By default this pattern is applied to the output dir specified with `-d` command line option. | ||
See the `from_cwd` and `from_output_dir` options. | ||
- ``dest`` :index:`: <pair: output - compress - options - files; dest>` [:ref:`string <string>`] (default: ``''``) Destination directory inside the archive, empty means the same of the file. | ||
- ``filter`` :index:`: <pair: output - compress - options - files; filter>` [:ref:`string <string>`] (default: ``'.*'``) A regular expression that source files must match. | ||
- ``from_cwd`` :index:`: <pair: output - compress - options - files; from_cwd>` [:ref:`boolean <boolean>`] (default: ``false``) Use the current working directory instead of the dir specified by `-d`. | ||
- ``from_output_dir`` :index:`: <pair: output - compress - options - files; from_output_dir>` [:ref:`boolean <boolean>`] (default: ``false``) Use the current directory specified by the output instead of the dir specified by `-d`. | ||
Note that it only applies when using `from_output` and no `dest` is specified. | ||
It has more prescedence than `from_cwd`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.. _FilesListCopy: | ||
|
||
|
||
FilesListCopy parameters | ||
~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **source** :index:`: <pair: output - copy_files - options - files; source>` [:ref:`string <string>`] (default: ``'*'``) For the `files` and `out_files` mode this is th file names to add, | ||
wildcards allowed. Use ** for recursive match. | ||
For the `output` mode this is the name of the output. | ||
For the `3d_models` is a pattern to match the name of the 3D models extracted from the PCB. | ||
Not used for the `project` mode. | ||
- **source_type** :index:`: <pair: output - copy_files - options - files; source_type>` [:ref:`string <string>`] (default: ``'files'``) (choices: "files", "out_files", "output", "3d_models", "project") From where do we get the files to be copied. | ||
|
||
- `files`: files relative to the current working directory. | ||
- `out_files`: files relative to output dir specified with `-d` command line option. | ||
- `output`: files generated by the output specified by `source`. | ||
- `3d_models`: 3D models used in the project. | ||
- `project`: schematic, PCB, footprints, symbols, 3D models and project files (KiCad 6+). | ||
- ``dest`` :index:`: <pair: output - copy_files - options - files; dest>` [:ref:`string <string>`] (default: ``''``) Destination directory inside the output dir, empty means the same of the file | ||
relative to the source directory. | ||
Note that when you specify a name here files are copied to this destination | ||
without creating subdirs. The `project` mode is an exception. | ||
For the `3d_models` type you can use DIR+ to create subdirs under DIR. | ||
- ``filter`` :index:`: <pair: output - copy_files - options - files; filter>` [:ref:`string <string>`] (default: ``'.*'``) A regular expression that source files must match. | ||
Not used for the `project` mode. | ||
- ``save_pcb`` :index:`: <pair: output - copy_files - options - files; save_pcb>` [:ref:`boolean <boolean>`] (default: ``false``) Only usable for the `3d_models` mode. | ||
Save a PCB copy modified to use the copied 3D models. | ||
You don't need to specify it for `project` mode. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.. _FilesListPDFUnite: | ||
|
||
|
||
FilesListPDFUnite parameters | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **from_output** :index:`: <pair: output - pdfunite - options - outputs; from_output>` [:ref:`string <string>`] (default: ``''``) Collect files from the selected output. | ||
When used the `source` option is ignored. | ||
- **source** :index:`: <pair: output - pdfunite - options - outputs; source>` [:ref:`string <string>`] (default: ``'*.pdf'``) File names to add, wildcards allowed. Use ** for recursive match. | ||
By default this pattern is applied to the output dir specified with `-d` command line option. | ||
See the `from_cwd` option. | ||
- ``filter`` :index:`: <pair: output - pdfunite - options - outputs; filter>` [:ref:`string <string>`] (default: ``'.*\\.pdf'``) A regular expression that source files must match. | ||
- ``from_cwd`` :index:`: <pair: output - pdfunite - options - outputs; from_cwd>` [:ref:`boolean <boolean>`] (default: ``false``) Use the current working directory instead of the dir specified by `-d`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters