Skip to content

Commit

Permalink
fix how we load csv files (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahouseholder authored Feb 15, 2024
1 parent 529b779 commit ad38ddb
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion docs/howto/coordination_decisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ Other coordinators should consider customizing the tree to their needs, as descr

### Table of Values

{{ read_csv('../../data/csvs/coord-triage-options.csv') }}
<!-- relative to /data/csvs/ -->
{{ read_csv('coord-triage-options.csv') }}
3 changes: 2 additions & 1 deletion docs/howto/deployer_tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ The example deployer tree [PDF](../pdf/ssvc_2_deployer_SeEUMss.pdf) is depicted

## Table of Values

{{ read_csv('data/csvs/deployer-options.csv') }}
<!-- relative to /data/csvs/ -->
{{ read_csv('deployer-options.csv') }}
3 changes: 2 additions & 1 deletion docs/howto/publication_decision.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,6 @@ flowchart LR

### Table of Values

{{ read_csv('../../data/csvs/coord-publish-options.csv') }}
<!-- relative to /data/csvs/ -->
{{ read_csv('coord-publish-options.csv') }}

3 changes: 2 additions & 1 deletion docs/howto/supplier_tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ height = "700" />

## Table of Values

{{ read_csv('data/csvs/supplier-options.csv') }}
<!-- relative to /data/csvs/ -->
{{ read_csv('supplier-options.csv') }}
4 changes: 2 additions & 2 deletions docs/reference/decision_points/exploitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The table below lists CWE-IDs that could be used to mark a vulnerability as *PoC
always be marked as *PoC* since that meets condition (3) in
the definition.


{{ read_csv('../../../data/csvs/cwe/possible-cwe-with-PoC-examples.csv') }}
<!-- relative to /data/csvs/ -->
{{ read_csv('cwe/possible-cwe-with-poc-examples.csv') }}

---
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ plugins:
- include-markdown:
comments: false
- search
- table-reader
- table-reader:
data_path: 'data/csvs'
- bibtex:
bib_file: 'doc/md_src_files/sources_ssvc.bib'
- mkdocstrings:
Expand Down

0 comments on commit ad38ddb

Please sign in to comment.