forked from Geonovum/brt-next-cv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
182 lines (175 loc) · 7.61 KB
/
Copy pathconfig.js
File metadata and controls
182 lines (175 loc) · 7.61 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
//-------------------------------------------------------------------------------------
//-- 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 ---------------------------------
//specType: "NO", // Norm
//specType: "ST", // Standaard
//specType: "IM", // Informatie Model
//specType: "PR", // Praktijkrichtlijn
//specType: "HR", // HandReiking
//specType: "WA", // Werkafspraak
specType: "BD", // Beheer Documentatie
//-- 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: "2022-11-04", // Format is "YYYY-MM-DD"
//-- Repositorynaam op GitHub -------------------------------------------------------
github: "https://github.com/geonovum/brt-next-cv",
//-- Repositorynaam/issues op GitHub ------------------------------------------------
issueBase: "https://github.com/geonovum/brt-cv/issues",
//-- edDraftURI: de URI van de werkversie van het document
edDraftURI: "https://github/geonovum/brt-next-cv",
//-- de namen van de Editor(s) ------------------------------------------------------
//-- vul in: per Editor: name:, company:, companyURL: -------------------------------
editors:
[
{
name: "Geonovum",
company: "Geonovum",
companyURL: "https://www.geonovum.nl"
},
/* {
name: "Naam Editor-n",
company: "Geonovum",
companyURL: "https://www.geonovum.nl"
}, */
],
//-- de namen van de Author(s) ------------------------------------------------------
//-- vul in: per Author: name:, company:, companyURL: -------------------------------
authors:
[
{
name: "Geonovum",
company: "Geonovum",
companyURL: "https://www.geonovum.nl"
},
{
name: "Kadaster",
company: "Kadaster",
companyURL: "https://www.kadaster.nl/zakelijk/registraties/basisregistraties/brt"
},
],
//-- shortName is verplicht! (komt in de URL: kies logische naam) --------------------
shortName: "brtnext", // Wordt gebruikt in de document URL
//-- pubDomain is verplicht! (komt in de URL: Activeer 1 van de volgende) ------------
pubDomain: "brtnext", // Energie transitie
//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:
{
/* "PUB-1":
{
title: "Titel van Publicatie-1",
href: "https://www.geonovum.nl",
status: "V1.0.1",
publisher: "Publisher-1",
company: "Companynaam",
},
"PUB-2":
{
title: "Titel van Publicatie-2",
href: "https://www.geonovum.nl",
status: "V1.0.1",
publisher: "Publisher-2",
company: "Companynaam",
},
"PUB-3":
{
title: "Titel van Publicatie-3",
href: "https://www.geonovum.nl",
status: "V1.0.1",
publisher: "Publisher-3",
company: "Companynaam",
},
"PUB-4":
{
title: "Titel van Publicatie-4",
href: "https://www.geonovum.nl",
status: "V1.0.1",
publisher: "Publisher-4",
company: "Companynaam",
}, */
},
postProcess:[custGHPG], //-- Optioneel voor een multi document repository
//-- Voor dit blok geldt: alleen als er eerdere versies zijn en altijd beiden aan/uit!
previousPublishDate: "2023-05-26", // Format is "YYY-MM-DD"
previousMaturity: "GN-VV", // kies 1 van deze 2 regels
//previousMaturity: "VV", // kies 1 van deze 2 regels
//-- Optionele parameters:
emailComments: "brt@geonovum.nl", // reactie mailadres, alleen bij CV!
//subtitle: "iets", // Subtitel van het document
maxTocLevel: 2, // 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/Geonovum.svg",
href: "https://www.geonovum.nl/",
alt: "Geonovum",
width: 132,
height: 67,
id: "logo_geonovum",
}, {
src: "https://github.com/kadaster/imbrt/blob/master/docs/images/logo.jpeg?raw=true",
alt: "Kadaster",
id: "logo_kadaster",
height: 122,
width: 146,
url: "https://www.kadaster.nl/zakelijk/registraties/basisregistraties/brt"
}],
};