Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ESSIF-Lab
eSSIF-Lab framework
Commits
7694ff8b
Commit
7694ff8b
authored
Oct 26, 2020
by
Rieks Joosten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixes in terminology script
parent
2cf6ea78
Pipeline
#16939
passed with stage
in 2 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
docs/terminology-maintenance-script.rieks
docs/terminology-maintenance-script.rieks
+14
-14
No files found.
docs/terminology-maintenance-script.rieks
View file @
7694ff8b
...
...
@@ -174,16 +174,16 @@ with "vocabulary"
// CLEANING UP UNINTENDED CHANGES
// Remove all `%%showtext|reftext%%` in docusaurus header.
replace-regex "
(
^---\s*\nid:(?:[^%]*
[
\n
\r]){0,8})
[^%]*%%([^\|]*)\|([^%]*)%%(?
:[^%]
*[\n\r]){
0,8
}---"
with "$1$2
$4
"
replace-regex "
(
^---\s*\nid:(?:[^%]*
[
\n
\r]){0,8})
[^%]*%%([^\|]*)\|([^%]*)%%(?
:[^%]
*[\n\r]){
0,8
}---"
with "$1$2
$4
"
replace-regex "
(
^---\s*\nid:(?:[^%]*
[
\n
\r]){0,8})
[^%]*%%([^\|]*)\|([^%]*)%%(?
:[^%]
*[\n\r]){
0,8
}---"
with "$1$2
$4
"
replace-regex "
(
^---\s*\nid:(?:[^%]*
[
\n
\r]){0,8})
[^%]*%%([^\|]*)\|([^%]*)%%(?
:[^%]
*[\n\r]){
0,8
}---"
with "$1$2
$4
"
replace-regex "
(
^---\s*\nid:(?:[^%]*
[
\n
\r]){0,8})
[^%]*%%([^\|]*)\|([^%]*)%%(?
:[^%]
*[\n\r]){
0,8
}---"
with "$1$2
$4
"
replace-regex "^
(
---\s*\nid:(?:[^%]*\n
|(?:glossaryText):.*\n){1,10}
[^%]*
)
%%([^\|]*)\|(
?:
[^%]*)%%(?
=(?:.
*[\n\r]){
1,10
}---
)
"
with "$1$2"
replace-regex "^
(
---\s*\nid:(?:[^%]*\n
|(?:glossaryText):.*\n){1,10}
[^%]*
)
%%([^\|]*)\|(
?:
[^%]*)%%(?
=(?:.
*[\n\r]){
1,10
}---
)
"
with "$1$2"
replace-regex "^
(
---\s*\nid:(?:[^%]*\n
|(?:glossaryText):.*\n){1,10}
[^%]*
)
%%([^\|]*)\|(
?:
[^%]*)%%(?
=(?:.
*[\n\r]){
1,10
}---
)
"
with "$1$2"
replace-regex "^
(
---\s*\nid:(?:[^%]*\n
|(?:glossaryText):.*\n){1,10}
[^%]*
)
%%([^\|]*)\|(
?:
[^%]*)%%(?
=(?:.
*[\n\r]){
1,10
}---
)
"
with "$1$2"
replace-regex "^
(
---\s*\nid:(?:[^%]*\n
|(?:glossaryText):.*\n){1,10}
[^%]*
)
%%([^\|]*)\|(
?:
[^%]*)%%(?
=(?:.
*[\n\r]){
1,10
}---
)
"
with "$1$2"
// Remove all `%%showtext|reftext%%` occurrences in markdown headers
replace-regex "(^#+\s+.*?)%%([^\|]*)\|([^%]*)%%(.*$)"
...
...
@@ -192,7 +192,7 @@ replace-regex "(^#+\s+.*?)%%([^\|]*)\|([^%]*)%%(.*$)"
with "$1$2$4"
// Remove all `%%showtext|reftext%%` occurrences in `<img />`-constructs
replace-regex "(<img(?:.|[\n
\r]
)*?)%%([^\|]*)\|([^%]*)%%
((?:.|[\n\r])*)(?=/>)
"
with "$1$2
$4
"
replace-regex "(<img(?:.|[\n
\r]
)*?)%%([^\|]*)\|([^%]*)%%
((?:.|[\n\r])*)(?=/>)
"
with "$1$2
$4
"
replace-regex "(<img(?:
(?:
.|[\n
])(?!/>)
)*?)%%([^\|]*)\|(
?:
[^%]*)%%"
with "$1$2"
replace-regex "(<img(?:
(?:
.|[\n
])(?!/>)
)*?)%%([^\|]*)\|(
?:
[^%]*)%%"
with "$1$2"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment