From 9e594d20af88dfd557fdab29dcae119a534f8ca4 Mon Sep 17 00:00:00 2001 From: Steven Gort Date: Wed, 11 Dec 2024 10:06:14 +0100 Subject: [PATCH] initial commit --- js/config.js | 63 ++++++------ js/organisation-config.js | 197 +++++++++++++++++++++----------------- 2 files changed, 142 insertions(+), 118 deletions(-) diff --git a/js/config.js b/js/config.js index e17b49c..ed5e56c 100644 --- a/js/config.js +++ b/js/config.js @@ -1,43 +1,46 @@ let respecConfig = { useLogo: true, useLabel: true, - license: "cc-by", - specStatus: "DEF", - specType: "HR", + license: "cc0", + specStatus: "WV", + specType: "IM", pubDomain: "dk", - shortName: "template", - publishDate: "2023-06-21", - publishVersion: "0.0.3", - - previousPublishVersion: "0.0.2", - previousPublishDate: "2022-06-24", - previousMaturity: "WV", - title: "titleText", + shortName: "GGHH", + publishDate: "2024-12-11", + publishVersion: "0.0.1", + + previousVersion: "", + previousPublishDate: "", + previousMaturity: "", + title: "GGHH", + subtitle: "Dit model heeft betrekking op de gegevenshuishouding dat onderdeel is van de informatie huishouding.", content: {"ch01": "informative", "ch02": "", "mermaid": ""}, - editors: - [ - { - name: "Logius Standaarden", - company: "Logius", - companyURL: "https://github.com/Logius-standaarden", - } - ], - authors: - [ - { - name: "Logius Standaarden", - company: "Logius", - companyURL: "https://github.com/Logius-standaarden", - } - ], - github: "https://github.com/Logius-standaarden/ReSpec-template", + editors: [ + { + name: "Steven Gort", + mailto: "steven.gort@ictu.nl", + company: "ICTU", + companyURL: "http://www.ictu.nl", + }, + ], + authors: [ + { + name: "Andre Hollants", + url: "https://www.rijksoverheid.nl/jenv", + }, + { + name: "Steven Gort", + url: "https://www.ictu.nl", + }, + ], + github: "https://github.com/MinBZK/gghh/", // Create PDF and link to file in header (optional): alternateFormats: [ { label: "pdf", - uri: "template.pdf", + uri: "https://regels.overheid.nl/standaarden/gghh/pdf", }, ], -}; +}; \ No newline at end of file diff --git a/js/organisation-config.js b/js/organisation-config.js index 6ee0ff3..f810075 100644 --- a/js/organisation-config.js +++ b/js/organisation-config.js @@ -1,112 +1,133 @@ // Plaats dit bestand op een centrale locatie voor hergebruik in meerdere documenten. var organisationConfig = { - nl_organisationName: "Logius", - nl_organisationStylesURL: "https://gitdocumentatie.logius.nl/publicatie/respec/style/", - nl_organisationPublishURL: "https://gitdocumentatie.logius.nl/publicatie/", - logos: [{ + nl_organisationName: "MinBZK", + nl_organisationStylesURL: + "https://gitdocumentatie.logius.nl/publicatie/respec/style/", + nl_organisationPublishURL: "https://regels.overheid.nl/publicaties/", + logos: [ + { src: "https://gitdocumentatie.logius.nl/publicatie/respec/style/logos/figure-logius.svg", alt: "Logius", id: "Logius", height: 77, width: 44, url: "https://www.logius.nl/standaarden", - }], - + }, + ], + postProcess: [window.respecMermaid.createFigures], - - latestVersion: ["nl_organisationPublishURL", "pubDomain", "/", "shortName"], - thisVersion: ["nl_organisationPublishURL", "pubDomain", "/", "specStatus", "-", "specType", "-", "shortName", "-", "publishDate"], - prevVersion: ["nl_organisationPublishURL", "pubDomain", "/", "previousMaturity", "-", "specType", "-", "shortName", "-", "previousPublishDate"], + + // Original config + // latestVersion: ["nl_organisationPublishURL", "pubDomain", "/", "shortName"], + // thisVersion: ["nl_organisationPublishURL", "pubDomain", "/", "specStatus", "-", "specType", "-", "shortName", "-", "publishDate"], + // prevVersion: ["nl_organisationPublishURL", "pubDomain", "/", "previousMaturity", "-", "specType", "-", "shortName", "-", "previousPublishDate"], + + latestVersion: ["nl_organisationPublishURL", "shortName"], + thisVersion: [ + "nl_organisationPublishURL", + "shortName", + "/v", + "publishVersion", + ], + prevVersion: [ + "nl_organisationPublishURL", + "shortName", + "/v", + "previousPublishVersion", + ], useLogo: true, useLabel: true, - + license: "cc0", addSectionLinks: true, - + localizationStrings: { - en: { - wv: "Draft", - cv: "Recommendation", - vv: "Proposed recommendation", - def: "Definitive version", - basis: "Document", - eo: "Outdated version", - tg: "Rescinded version", - no: "Norm", - st: "Standard", - im: "Information model", - pr: "Guideline", - hr: "Guide", - wa: "Proposed recommendation", - al: "General", - bd: "Governance documentation", - bp: "Best practice", - }, - nl: { - wv: "Werkversie", - cv: "Consultatieversie", - vv: "Versie ter vaststelling", - def: "Vastgestelde versie", - basis: "Document", - eo: "Verouderde versie", - tg: "Teruggetrokken versie", - no: "Norm", - st: "Standaard", - im: "Informatiemodel", - pr: "Praktijkrichtlijn", - hr: "Handreiking", - wa: "Werkafspraak", - al: "Algemeen", - bd: "Beheerdocumentatie", - bp: "Best practice", - }, + en: { + wv: "Draft", + cv: "Recommendation", + vv: "Proposed recommendation", + def: "Definitive version", + basis: "Document", + eo: "Outdated version", + tg: "Rescinded version", + no: "Norm", + st: "Standard", + im: "Information model", + pr: "Guideline", + hr: "Guide", + wa: "Proposed recommendation", + al: "General", + bd: "Governance documentation", + bp: "Best practice", + }, + nl: { + wv: "Werkversie", + cv: "Consultatieversie", + vv: "Versie ter vaststelling", + def: "Vastgestelde versie", + basis: "Document", + eo: "Verouderde versie", + tg: "Teruggetrokken versie", + no: "Norm", + st: "Standaard", + im: "Informatiemodel", + pr: "Praktijkrichtlijn", + hr: "Handreiking", + wa: "Werkafspraak", + al: "Algemeen", + bd: "Beheerdocumentatie", + bp: "Best practice", + }, }, - + sotdText: { - nl: { - sotd: "Status van dit document", - def: `Dit is de definitieve versie van dit document. Wijzigingen naar aanleiding van consultaties zijn doorgevoerd.`, - wv: `Dit is een werkversie die op elk moment kan worden gewijzigd, verwijderd of vervangen door andere documenten. Het is geen door het TO goedgekeurde consultatieversie.`, - cv: `Dit is een door het TO goedgekeurde consultatieversie. Commentaar over dit document kan gestuurd worden naar `, - vv: `Dit is een definitief concept van de nieuwe versie van dit document. Wijzigingen naar aanleiding van consultaties zijn doorgevoerd.`, - basis: "Dit is een document zonder officiƫle status.", - }, - en: { - sotd: "Status of This Document", - def: `This is the definitive version of this document. Edits resulting from consultations have been applied.`, - wv: `This is a draft that could be altered, removed or replaced by other documents. It is not a recommendation approved by TO.`, - cv: `This is a proposed recommendation approved by TO. Comments regarding this document may be sent to `, - vv: `This is the definitive concept of this document. Edits resulting from consultations have been applied.`, - basis: "This document has no official standing.", - }, + nl: { + sotd: "Status van dit document", + def: `Dit is de definitieve versie van dit document. Wijzigingen naar aanleiding van consultaties zijn doorgevoerd.`, + wv: `Dit is een werkversie die op elk moment kan worden gewijzigd, verwijderd of vervangen door andere documenten. Het is geen door het TO goedgekeurde consultatieversie.`, + cv: `Dit is een door het TO goedgekeurde consultatieversie. Commentaar over dit document kan gestuurd worden naar `, + vv: `Dit is een definitief concept van de nieuwe versie van dit document. Wijzigingen naar aanleiding van consultaties zijn doorgevoerd.`, + basis: "Dit is een document zonder officiƫle status.", + }, + en: { + sotd: "Status of This Document", + def: `This is the definitive version of this document. Edits resulting from consultations have been applied.`, + wv: `This is a draft that could be altered, removed or replaced by other documents. It is not a recommendation approved by TO.`, + cv: `This is a proposed recommendation approved by TO. Comments regarding this document may be sent to `, + vv: `This is the definitive concept of this document. Edits resulting from consultations have been applied.`, + basis: "This document has no official standing.", + }, }, - + labelColor: { - def: "#154273", - wv: "#39870c", + def: "#154273", + wv: "#39870c", }, - + licenses: { - cc0: { - name: "Creative Commons 0 Public Domain Dedication", - short: "CC0", - url: "https://creativecommons.org/publicdomain/zero/1.0/", - image: "https://gitdocumentatie.logius.nl/publicatie/respec/media/logos/cc-zero.svg", - }, - "cc-by": { - name: "Creative Commons Attribution 4.0 International Public License", - short: "CC-BY", - url: "https://creativecommons.org/licenses/by/4.0/legalcode", - image: "https://gitdocumentatie.logius.nl/publicatie/respec/media/logos/cc-by.svg", - }, - "cc-by-nd": { - name: "Creative Commons Naamsvermelding-GeenAfgeleideWerken 4.0 Internationaal", - short: "CC-BY-ND", - url: "https://creativecommons.org/licenses/by-nd/4.0/legalcode.nl", - image: "https://gitdocumentatie.logius.nl/publicatie/respec/media/logos/cc-by-nd.svg", - }, + cc0: { + name: "Creative Commons 0 Public Domain Dedication", + short: "CC0", + url: "https://creativecommons.org/publicdomain/zero/1.0/", + image: + "https://gitdocumentatie.logius.nl/publicatie/respec/media/logos/cc-zero.svg", + }, + "cc-by": { + name: "Creative Commons Attribution 4.0 International Public License", + short: "CC-BY", + url: "https://creativecommons.org/licenses/by/4.0/legalcode", + image: + "https://gitdocumentatie.logius.nl/publicatie/respec/media/logos/cc-by.svg", + }, + "cc-by-nd": { + name: "Creative Commons Naamsvermelding-GeenAfgeleideWerken 4.0 Internationaal", + short: "CC-BY-ND", + url: "https://creativecommons.org/licenses/by-nd/4.0/legalcode.nl", + image: + "https://gitdocumentatie.logius.nl/publicatie/respec/media/logos/cc-by-nd.svg", + }, }, - + localBiblio: { "SemVer": { href: "https://semver.org",