From 888901c574fb42dcbe9ac0dfea9717d5462ce079 Mon Sep 17 00:00:00 2001 From: Therese Date: Tue, 2 Jan 2024 12:47:33 +0100 Subject: [PATCH] Small fixes and cleanup (#1352) Co-authored-by: Therese Stokkan --- content/app/app-dev-course/modul1/_index.en.md | 1 - content/app/app-dev-course/modul1/_index.nb.md | 2 -- .../_common-props-content/_INSTRUCTIONS.md | 3 ++- .../numbered-callouts-anatomy.pptx | Bin .../components/temp/component-list-partial.txt | 15 --------------- 5 files changed, 2 insertions(+), 19 deletions(-) rename content/app/development/ux/components/{ => _component-template}/numbered-callouts-anatomy.pptx (100%) delete mode 100644 content/app/development/ux/components/temp/component-list-partial.txt diff --git a/content/app/app-dev-course/modul1/_index.en.md b/content/app/app-dev-course/modul1/_index.en.md index fab90dbb9fb..5d3f80571e5 100644 --- a/content/app/app-dev-course/modul1/_index.en.md +++ b/content/app/app-dev-course/modul1/_index.en.md @@ -151,7 +151,6 @@ To manually add support for English in an application, you need to create the fi App/config/texts/resources.en.json {{< /code-title >}} - ```json { "language": "en", diff --git a/content/app/app-dev-course/modul1/_index.nb.md b/content/app/app-dev-course/modul1/_index.nb.md index 36ca351ebe7..47812cc34bb 100644 --- a/content/app/app-dev-course/modul1/_index.nb.md +++ b/content/app/app-dev-course/modul1/_index.nb.md @@ -165,8 +165,6 @@ For å manuelt legge til støtte for engelsk i en applikasjon må du opprette fi App/config/texts/resources.en.json {{< /code-title >}} -```csharp{linenos=false,hl_lines="6"} - ```json { "language": "en", diff --git a/content/app/development/ux/components/_common-props-content/_INSTRUCTIONS.md b/content/app/development/ux/components/_common-props-content/_INSTRUCTIONS.md index d3d2d37e54b..45ebbe750ab 100644 --- a/content/app/development/ux/components/_common-props-content/_INSTRUCTIONS.md +++ b/content/app/development/ux/components/_common-props-content/_INSTRUCTIONS.md @@ -7,7 +7,8 @@ hidden: true Innholdet i malen brukes av en partial (`get-content.html`) via shortcoden `property-docs.html`. * `get-content.html` finner seksjoner som starter med `` og slutter med `` og henter ut innholdet mellom disse (`*` = seksjonsnavn). -* `property-docs.html` får innholdet fra `get-content.html` og viser det i riktig format. Shortcoden kalles med argumentet `prop="{propName}"`. `propName` må samsvare med filnavn (se under). +* `property-docs.html` får innholdet fra `get-content.html` og viser det i riktig format. + * Shortcoden kalles med argumentet `prop="{propName}"`. `propName` må samsvare med filnavn (se under). ## Hvordan bruke malen 1. **Filnavn**: Kopier malen (denne eller [_TEMPLATE.md](/app/development/ux/components/_common-props-content/_template)) og gi den navn på formatet `{propName}.{languageCode}.md`. Opprett en fil for hvert språk. Alle filer skal ligge direkte under `_common-props-content`. diff --git a/content/app/development/ux/components/numbered-callouts-anatomy.pptx b/content/app/development/ux/components/_component-template/numbered-callouts-anatomy.pptx similarity index 100% rename from content/app/development/ux/components/numbered-callouts-anatomy.pptx rename to content/app/development/ux/components/_component-template/numbered-callouts-anatomy.pptx diff --git a/content/app/development/ux/components/temp/component-list-partial.txt b/content/app/development/ux/components/temp/component-list-partial.txt deleted file mode 100644 index b8610c551b3..00000000000 --- a/content/app/development/ux/components/temp/component-list-partial.txt +++ /dev/null @@ -1,15 +0,0 @@ -ButtonGroup -Checkboxes -Dropdown -Grid -IFrame -Image -Likert -Link -List -MultipleSelect -NavigationButtons -Panel -PrintButton -RadioButtons -TextArea