From 5b4b2e3090eefe9cf83bae18780937be2c2b8168 Mon Sep 17 00:00:00 2001 From: "Allen D. Householder" Date: Thu, 15 Feb 2024 12:35:03 -0500 Subject: [PATCH] fix how we load csv files --- docs/howto/coordination_decisions.md | 3 ++- docs/howto/deployer_tree.md | 3 ++- docs/howto/publication_decision.md | 3 ++- docs/howto/supplier_tree.md | 3 ++- docs/reference/decision_points/exploitation.md | 4 ++-- mkdocs.yml | 3 ++- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/howto/coordination_decisions.md b/docs/howto/coordination_decisions.md index 309c9906..0e6415d2 100644 --- a/docs/howto/coordination_decisions.md +++ b/docs/howto/coordination_decisions.md @@ -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') }} + +{{ read_csv('coord-triage-options.csv') }} diff --git a/docs/howto/deployer_tree.md b/docs/howto/deployer_tree.md index 23e8a10b..b5443224 100644 --- a/docs/howto/deployer_tree.md +++ b/docs/howto/deployer_tree.md @@ -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') }} \ No newline at end of file + +{{ read_csv('deployer-options.csv') }} \ No newline at end of file diff --git a/docs/howto/publication_decision.md b/docs/howto/publication_decision.md index 45bbdb05..3b7c4afc 100644 --- a/docs/howto/publication_decision.md +++ b/docs/howto/publication_decision.md @@ -158,5 +158,6 @@ flowchart LR ### Table of Values -{{ read_csv('../../data/csvs/coord-publish-options.csv') }} + +{{ read_csv('coord-publish-options.csv') }} diff --git a/docs/howto/supplier_tree.md b/docs/howto/supplier_tree.md index deb6c3b2..9c0bde6b 100644 --- a/docs/howto/supplier_tree.md +++ b/docs/howto/supplier_tree.md @@ -14,4 +14,5 @@ height = "700" /> ## Table of Values -{{ read_csv('data/csvs/supplier-options.csv') }} \ No newline at end of file + +{{ read_csv('supplier-options.csv') }} \ No newline at end of file diff --git a/docs/reference/decision_points/exploitation.md b/docs/reference/decision_points/exploitation.md index 3d19e7c1..4b99c7ec 100644 --- a/docs/reference/decision_points/exploitation.md +++ b/docs/reference/decision_points/exploitation.md @@ -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') }} + +{{ read_csv('cwe/possible-cwe-with-poc-examples.csv') }} --- \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index dc6d2905..4d4d49d0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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: