Change BOM output file extension from .bom.tsv to .tsv
Complementary changes to the commit with the same title earlier in the same PR. Avoid refering to the old filenames.
This commit is contained in:
parent
af338f620c
commit
8e2debb1fa
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -2,8 +2,8 @@ docs/* linguist-documentation
|
||||
examples/* linguist-documentation
|
||||
tutorial/* linguist-documentation
|
||||
|
||||
**/*.bom.tsv linguist-generated
|
||||
**/*.bom.csv linguist-generated
|
||||
**/*.tsv linguist-generated
|
||||
**/*.csv linguist-generated
|
||||
**/*.gv linguist-generated
|
||||
**/*.html linguist-generated
|
||||
**/*.png linguist-generated
|
||||
|
||||
@ -74,13 +74,13 @@ Output file:
|
||||
|
||||

|
||||
|
||||
[Bill of Materials](../examples/demo01.bom.tsv) (auto-generated)
|
||||
[Bill of Materials](../examples/demo01.tsv) (auto-generated)
|
||||
|
||||
### Demo 02
|
||||
|
||||

|
||||
|
||||
[Source](../examples/demo02.yml) - [Bill of Materials](../examples/demo02.bom.tsv)
|
||||
[Source](../examples/demo02.yml) - [Bill of Materials](../examples/demo02.tsv)
|
||||
|
||||
### Syntax, tutorial and example gallery
|
||||
|
||||
@ -133,7 +133,7 @@ Depending on the options specified, this will output some or all of the followin
|
||||
mywire.gv GraphViz output
|
||||
mywire.svg Wiring diagram as vector image
|
||||
mywire.png Wiring diagram as raster image
|
||||
mywire.bom.tsv BOM (bill of materials) as tab-separated text file
|
||||
mywire.tsv BOM (bill of materials) as tab-separated text file
|
||||
mywire.html HTML page with wiring diagram and BOM embedded
|
||||
```
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ Possible group names:
|
||||
- `tutorial` to process`tutorial/{readme.md,tutorial*.*}`
|
||||
- `demos` to process`examples/demo*.*`
|
||||
|
||||
Affected filetypes: `.gv`, `.bom.tsv`, `.png`, `.svg`, `.html`
|
||||
Affected filetypes: `.gv`, `.tsv`, `.png`, `.svg`, `.html`
|
||||
|
||||
|
||||
## Usage hints
|
||||
|
||||
@ -34,7 +34,7 @@ groups = {
|
||||
}
|
||||
|
||||
input_extensions = [".yml"]
|
||||
extensions_not_containing_graphviz_output = [".gv", ".bom.tsv"]
|
||||
extensions_not_containing_graphviz_output = [".gv", ".tsv"]
|
||||
extensions_containing_graphviz_output = [".png", ".svg", ".html"]
|
||||
generated_extensions = (
|
||||
extensions_not_containing_graphviz_output + extensions_containing_graphviz_output
|
||||
@ -87,7 +87,7 @@ def build_generated(groupkeys):
|
||||
|
||||
out.write(f"\n\n")
|
||||
out.write(
|
||||
f"[Source]({yaml_file.name}) - [Bill of Materials]({yaml_file.stem}.bom.tsv)\n\n\n"
|
||||
f"[Source]({yaml_file.name}) - [Bill of Materials]({yaml_file.stem}.tsv)\n\n\n"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user