From 4829b33011690b8166809ec91c53d0caadaa4d13 Mon Sep 17 00:00:00 2001 From: joecrowley Date: Tue, 20 Aug 2024 10:22:12 +0800 Subject: [PATCH 1/3] made incorrect links cause failure on docs build. --- .github/workflows/ci.yml | 1 + mkdocs.yml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30041405..9c325be7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ on: push: branches: - main + - BDRSPS-736 permissions: contents: write jobs: diff --git a/mkdocs.yml b/mkdocs.yml index 100dcfec..1989a030 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -10,3 +10,10 @@ plugins: - mike: canonical_version: latest version_selector: true +strict: true +validation: + links: + not_found: warn + anchors: warn + absolute_links: warn + unrecognized_links: warn From dc31324badc9975b20c65862126f5862ae838a66 Mon Sep 17 00:00:00 2001 From: joecrowley Date: Tue, 20 Aug 2024 10:24:31 +0800 Subject: [PATCH 2/3] removed temp branch from ci triggers used for testing gh actions. --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c325be7..30041405 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,6 @@ on: push: branches: - main - - BDRSPS-736 permissions: contents: write jobs: From 6d743d0e311e4a84de0fef4d0d341fa90afa8b2f Mon Sep 17 00:00:00 2001 From: joecrowley Date: Tue, 20 Aug 2024 10:27:42 +0800 Subject: [PATCH 3/3] fixed anchor references in the sites and metadata md templates. --- .../templates/survey_metadata/templates/instructions.md | 2 +- .../templates/survey_site_data/templates/instructions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abis_mapping/templates/survey_metadata/templates/instructions.md b/abis_mapping/templates/survey_metadata/templates/instructions.md index 1b715eec..db2d2cde 100644 --- a/abis_mapping/templates/survey_metadata/templates/instructions.md +++ b/abis_mapping/templates/survey_metadata/templates/instructions.md @@ -30,7 +30,7 @@ consistent with a geodeticDatum type of the {{values.geodetic_datum_count}} avai ### FILE FORMAT -- The systematic survey metadata template is a [UTF-8](#appendix-iii-utf-8) encoded csv (not Microsoft +- The systematic survey metadata template is a [UTF-8](#appendix-iv-utf-8) encoded csv (not Microsoft Excel Spreadsheets). Be sure to save this file with your data as a .csv (UTF-8) as follows, otherwise it will not pass the in-browser csv validation step upon upload.
`[MS Excel: Save As > More options > Tools > Web options > Save this document as > diff --git a/abis_mapping/templates/survey_site_data/templates/instructions.md b/abis_mapping/templates/survey_site_data/templates/instructions.md index e17e017a..33075e76 100644 --- a/abis_mapping/templates/survey_site_data/templates/instructions.md +++ b/abis_mapping/templates/survey_site_data/templates/instructions.md @@ -29,7 +29,7 @@ consistent with a geodeticDatum type of the available options. ### FILE FORMAT -- The systematic survey site data template is a [UTF-8](#appendix-iii-utf-8) encoded csv (not Microsoft +- The systematic survey site data template is a [UTF-8](#appendix-iv-utf-8) encoded csv (not Microsoft Excel Spreadsheets). Be sure to save this file with your data as a .csv (UTF-8) as follows, otherwise it will not pass the csv validation step upon upload.
`[MS Excel: Save As > More options > Tools > Web options > Save this document as >