Skip to content

Commit

Permalink
templates: Fix codelist URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Sep 12, 2023
1 parent 06dd36e commit 339e70d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@
from ocdskit.mapping_sheet import mapping_sheet
from xlsxwriter.utility import xl_col_to_name

RDLS_SCHEMA_URL = "https://docs.riskdatalibrary.org/en/0__2__0/rdls_schema.json"
RDLS_DOCS_URL = "https://docs.riskdatalibrary.org/"
RDLS_BASE_URL = "https://docs.riskdatalibrary.org"
RDLS_LANGUAGE = "en"

RDLS_DOCS_VERSION = "latest"
RDLS_DOCS_URL = f"{RDLS_BASE_URL}/{RDLS_LANGUAGE}/{RDLS_DOCS_VERSION}"

RDLS_SCHEMA_VERSION = "0__2__0"
RDLS_SCHEMA_URL = f"{RDLS_BASE_URL}/{RDLS_LANGUAGE}/{RDLS_SCHEMA_VERSION}/rdls_schema.json"


# https://flatten-tool.readthedocs.io/en/latest/create-template/#all-create-template-options
TRUNCATION_LENGTH = 10
Expand Down
Binary file modified templates/rdls_template.xlsx
Binary file not shown.
Binary file modified templates/rdls_template_exposure.xlsx
Binary file not shown.
Binary file modified templates/rdls_template_hazard.xlsx
Binary file not shown.
Binary file modified templates/rdls_template_loss.xlsx
Binary file not shown.
Binary file modified templates/rdls_template_vulnerability.xlsx
Binary file not shown.

0 comments on commit 339e70d

Please sign in to comment.