generated from Geonovum/Template-ReSpec
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
129 lines (121 loc) · 6.1 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
//-------------------------------------------------------------------------------------
//-- File. . . : config.js
//-- Bevat . . : Template voor de configuratie voor respec
//-- Gebaseerd op https://github.com/Geonovum/respec/wiki
//-- Deze file moet worden neergezet in de root-directory van de
//-- betreffende standaard.
//-- Door. . . : Jan van Gelder
//-------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
//-- Log . . . : 20181015 - JvG - Initiele versie
//-- Log . . . : 20191022 - GRK - Handreiking Archiveren ruimtelijke plannen v2.0
//-------------------------------------------------------------------------------------
//-- Postprocessors -------------------------------------------------------------------
//-- haalt gh-pages weg aan het eind van een URL
//-- Stopt zodra de eerste is gevonden (want komt maar 1x voor)
//-- JvG 2019-11-12
function custGHPG(respecConfig)
{
var tags = document.getElementsByTagName("a");
var srch = "gh-pages";
var slen = srch.length;
var i;
for (i = 0; i < tags.length; i++)
{
if(tags[i].href.indexOf(srch) > -1)
{
console.log(tags[i].href + " is gevonden");
tags[i].href = tags[i].href.substring(0, tags[i].href.length - slen);
console.log(tags[i].href + " is aangepast");
break;
}
}
}
//-------------------------------------------------------------------------------------
var respecConfig =
{
//-- specStatus is verplicht! (activeer 1 van de volgende) --------------------------
//specStatus: "GN-BASIS", // Basis Document
specStatus: "GN-WV", // Werk Versie
//specStatus: "GN-CV", // Consultatie Versie
//specStatus: "GN-VV", // Vaststellings Versie
//specStatus: "GN-DEF", // Definitieve Versie
//-- specType is verplicht bij alle andere dan BASIS ---------------------------------
//-- voor toegestane types zie: https://github.com/Geonovum/respec/wiki/specType
specType: "AL", // Algemeen
//-- format is verplicht! -----------------------------------------------------------
format: "markdown", // altijd "markdown" - JvG W3C aangepast, op 1 plek markdown aangeven
//-- publishDate is verplicht -------------------------------------------------------
//-- NB: in de werkversie uitzetten, want dan pakt Respec de pushdate ---------------
//publishDate: "2024-02-06", // Format is "YYYY-MM-DD"
//-- Repositorynaam op GitHub -------------------------------------------------------
//github: "https://github.com/Geonovum/dso-validatiematrix",
//-- Repositorynaam/issues op GitHub ------------------------------------------------
//issueBase: "https://github.com/Geonovum/dso-validatiematrix/issues",
//-- edDraftURI: de URI van de werkversie van het document
//edDraftURI: "https://github/geonovum/<naam van de repository>",
//-- de namen van de Editor(s) ------------------------------------------------------
//-- vul in: per Editor: name:, company:, companyURL: -------------------------------
editors:
[
{
name: "TPOD-Team",
company: "Geonovum",
companyURL: "https://www.geonovum.nl"
},
],
//-- de namen van de Author(s) ------------------------------------------------------
//-- vul in: per Author: name:, company:, companyURL: -------------------------------
authors:
[
{
name: "TPOD-Team",
company: "Geonovum",
companyURL: "https://www.geonovum.nl"
},
],
//-- shortName is verplicht! (komt in de URL: kies logische naam) --------------------
shortName: "validatiematrix", // Wordt gebruikt in de document URL
//-- pubDomain is verplicht! (komt in de URL: Activeer 1 van de volgende) ------------
pubDomain: "dso", // Omgevingswet
//pubDomain: "mim", // Metamodel Informatie Modellering
//pubDomain: "bor", // Beheer Openbare Ruimte
//pubDomain: "bro", // Basisregistratie Ondergrond
//pubDomain: "imgeo", // IMGeo / BGT
//pubDomain: "kl", // Kabels en Leidingen
//pubDomain: "liv", // Landelijke Informatievoorziening Vastgoedgebruik
//pubDomain: "md", // Metadata
//pubDomain: "nen3610", // Basismodel NEN3610
//pubDomain: "oov", // Openbare Orde en Veiligheid
//pubDomain: "ro", // Ruimtelijke Ordening
//pubDomain: "serv", // Services
//pubDomain: "visu", // Visualisatie
//pubDomain: "wp", // White Paper
//-- license: voor de geldende gebruiksvoorwaarden
//licence: "cc-by-nd", // bronvermelding, geen afgeleide werken (default)
//licence: "cc0", // Public Domain Dedication
licence: "cc-by", // Attribution, met bronvermelding
//-- localBiblio: lokale bibliografie, voor verwijzigingen
//-- NB: kijk eesrt naar de beschikbare www.specref.org voor verwijziging
localBiblio:
{
},
postProcess:[custGHPG], //-- Optioneel voor een multi document repository
//-- Voor dit blok geldt: alleen als er eerdere versies zijn en altijd beiden aan/uit!
previousPublishDate: "2024-02-06", // Format is "YYY-MM-DD"
//previousMaturity kies iets uit het lijstie bij specStatus
previousMaturity: "GN-DEF",
//-- Optionele parameters:
//emailComments: "[email protected]", // reactie mailadres, alleen bij CV!
subtitle: "Validatie- en conformiteitsregels voor registratie en publicatie van omgevingsdocumenten DSO-LV", // Subtitel van het document
maxTocLevel: 1, // Aantal niveau's ToC, default is 0
//-- LOGO: Hier kan je een ander logo opgeven indien nodig
logos: [{
src: "https://tools.geostandaarden.nl/respec/style/logos/ow.svg",
alt: "Standaarden Omgevingswet",
id: "TopLogo",
height: 44,
width: 240,
url: "https://www.geonovum.nl/geo-standaarden/omgevingswet/STOPTPOD"
}],
};