-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Scripts to modify md files * Add frontmatter with hidden:true, remove unnecessary heading --------- Co-authored-by: Therese Stokkan <[email protected]>
- Loading branch information
1 parent
14a77b0
commit f33e5d5
Showing
34 changed files
with
110 additions
and
121 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
content/app/development/ux/components/_common-props-content/_INSTRUCTIONS.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
content/app/development/ux/components/_common-props-content/_TEMPLATE.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
content/app/development/ux/components/_common-props-content/autocomplete.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Autocomplete (`autocomplete`) | ||
|
5 changes: 3 additions & 2 deletions
5
content/app/development/ux/components/_common-props-content/autocomplete.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Automatisk fullføring (`autocomplete`) | ||
|
4 changes: 3 additions & 1 deletion
4
...ent/app/development/ux/components/_common-props-content/dataModelBindings.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Data Model | ||
|
4 changes: 3 additions & 1 deletion
4
...ent/app/development/ux/components/_common-props-content/dataModelBindings.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Datamodell | ||
|
14 changes: 3 additions & 11 deletions
14
content/app/development/ux/components/_common-props-content/grid-short.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 3 additions & 11 deletions
14
content/app/development/ux/components/_common-props-content/grid-short.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/hidden.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Hidden (`hidden`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/hidden.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Feltet skal skjules (`hidden`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/layout.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Layout (`layout`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/layout.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Visning (`layout`) | ||
|
15 changes: 0 additions & 15 deletions
15
content/app/development/ux/components/_common-props-content/options-page.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +0,0 @@ | ||
### Adding Options | ||
|
||
Options can be added manually or by using [code lists](/app/development/data/options). | ||
|
||
{{< property-docs prop="options" >}} | ||
|
||
{{< property-docs prop="optionsId" >}} | ||
|
||
{{< property-docs prop="source" >}} | ||
|
||
**Documentation for code lists** | ||
- [Link a Component to a Code List](/app/development/data/options/#connect-the-component-to-options-code-list) | ||
- [Static Code Lists](/app/development/data/options/static-codelists/) | ||
- [Dynamic Code Lists](/app/development/data/options/dynamic-codelists/) | ||
- [Code lists based on repeating groups from the data model](/app/development/data/options/repeating-group-codelists/) | ||
15 changes: 0 additions & 15 deletions
15
content/app/development/ux/components/_common-props-content/options-page.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +0,0 @@ | ||
### Legge til alternativer | ||
|
||
Alternativer (options) kan legges til manuelt eller ved hjelp av [kodelister](/nb/app/development/data/options). | ||
|
||
{{< property-docs prop="options" >}} | ||
|
||
{{< property-docs prop="optionsId" >}} | ||
|
||
{{< property-docs prop="source" >}} | ||
|
||
**Dokumentasjon for kodelister** | ||
- [Koble en komponent til kodeliste](/nb/app/development/data/options/#koble-en-komponent-til-kodeliste) | ||
- [Statiske kodelister](/nb/app/development/data/options/static-codelists/) | ||
- [Dynamiske kodelister](/nb/app/development/data/options/dynamic-codelists/) | ||
- [Dynamiske kodelister fra repeterede grupper i datamodellen](/nb/app/development/data/options/repeating-group-codelists/) | ||
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/options.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
#### Manually (`options`) | ||
|
5 changes: 3 additions & 2 deletions
5
content/app/development/ux/components/_common-props-content/options.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
#### Manuelt (`options`) | ||
|
14 changes: 3 additions & 11 deletions
14
content/app/development/ux/components/_common-props-content/optionsId.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 3 additions & 11 deletions
14
content/app/development/ux/components/_common-props-content/optionsId.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/page-break.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Page Break (`pageBreak`) | ||
|
14 changes: 3 additions & 11 deletions
14
content/app/development/ux/components/_common-props-content/page-break.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...p/development/ux/components/_common-props-content/preselectedOptionsIndex.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Preselected option (`preselectedOptionsIndex`) | ||
|
4 changes: 3 additions & 1 deletion
4
...p/development/ux/components/_common-props-content/preselectedOptionsIndex.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Forhåndsvalgt verdi (`preselectedOptionsIndex`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/readonly.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Field is read-only (`readOnly`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/readonly.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Feltet skal være skrivebeskyttet (`readOnly`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/renderAsSummary.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Summary (`renderAsSummary`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/renderAsSummary.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Oppsummering (`renderAsSummary`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/required.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Required (`required`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/required.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Feltet skal være påkrevd (`required`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/source.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
#### Source (`source`) | ||
|
14 changes: 3 additions & 11 deletions
14
content/app/development/ux/components/_common-props-content/source.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/text-all.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Text (`textResourceBindings`) | ||
|
4 changes: 3 additions & 1 deletion
4
content/app/development/ux/components/_common-props-content/text-all.nb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Innhold | ||
--- | ||
hidden: true | ||
--- | ||
|
||
<!-- begin intro --> | ||
### Tekst (`textResourceBindings`) | ||
|
7 changes: 7 additions & 0 deletions
7
content/app/development/ux/components/temp/delete-until-first-tag.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dir=$1 | ||
|
||
for f in $(ls ${dir} | egrep '(nb|en).md') | ||
do | ||
echo $f | ||
sed -i '' -n '/<!-- begin intro -->/,$p' ${dir}/$f | ||
done |
11 changes: 11 additions & 0 deletions
11
content/app/development/ux/components/temp/insert_frontmatter_hidden.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
dir=$1 | ||
|
||
for f in $(ls ${dir}) | ||
do | ||
sed -i '' '1i\ | ||
---\ | ||
hidden: true\ | ||
---\ | ||
\ | ||
' $dir/$f | ||
done |