Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sgort committed Dec 11, 2024
1 parent b8b051a commit 9e594d2
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 118 deletions.
63 changes: 33 additions & 30 deletions js/config.js
Original file line number Diff line number Diff line change
@@ -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: "[email protected]",
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",
},
],
};
};
197 changes: 109 additions & 88 deletions js/organisation-config.js
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 9e594d2

Please sign in to comment.