Skip to content

Restrukturer fiksprotokoll-innhold, fiks 4-nivå-meny og byttet logo#139

Closed
OrjanSkotnes wants to merge 5 commits into
sourcefrom
forbedring-dokumentasjon-fiks-protokoll
Closed

Restrukturer fiksprotokoll-innhold, fiks 4-nivå-meny og byttet logo#139
OrjanSkotnes wants to merge 5 commits into
sourcefrom
forbedring-dokumentasjon-fiks-protokoll

Conversation

@OrjanSkotnes
Copy link
Copy Markdown
Contributor

Dette er gjort:

Restrukturerer Fiks Protokoll-dokumentasjonen og fikser sidemenyen.

Innhold: Veiledninger og protokoll-spec flyttet til hver sin undermappe. Stor _index.md splittet opp. Gamle URLer bevart via aliases.

Meny: Fjernet CSS som skjulte 4. nivå, fikset cascade-bug som åpnet alle søsken-seksjoner, lagt til klikkbar chevron for å peke/lukke uten å navigere. Sidebar-logo byttet til ny ks-icon.svg.

Annet:

Hugo 0.161-kompatibilitet: Override av menu.html og search.html fra hugo-theme-learn-temaet (sist oppdatert 2020). Begge bruker .Site.IsMultiLingual som ble fjernet i Hugo 0.160 — uten override bygger ikke siten på lokal nyere Hugo.

Siden er enspråklig så overridene erstatter feltet med false/gt (len .Site.Languages) 1.
Funksjonelt identisk; gir kompatibilitet både fremover og bakover. Selve themes/hugo-theme-learn/-submodulen er uberørt.

Test

  • hugo --cleanDestinationDir kjører rent (122 sider, 139 aliaser)
  • Alle gamle veiledning_N_*-URLer redirigerer
  • Sidebar viser kun aktiv gren ekspandert; klikk på chevron toggler
  • Søk fungerer

Ikke endret

themes/hugo-theme-learn/ (submodule). static/icon.png (brukes av
NuGet-pakker eksternt).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures Fiks Protokoll documentation into clearer subsections, preserves old URLs via aliases, and updates sidebar/theme overrides for newer Hugo compatibility and navigation behavior.

Changes:

  • Splits Fiks Protokoll content into veiledninger, protokoller, tilgangsstyring, and overvaaking.
  • Adds/updates aliases, weights, and internal references for moved documentation pages.
  • Overrides theme partials for menu/search and replaces the sidebar logo asset.

Reviewed changes

Copilot reviewed 23 out of 24 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
static/ks-icon.svg Adds new KS SVG logo asset.
static/css/theme-ks.css Updates sidebar chevron styling and nested menu display rules.
layouts/partials/sidebar.html Removes unused custom sidebar partial.
layouts/partials/search.html Adds Hugo-compatible search partial override.
layouts/partials/menu.html Adds Hugo-compatible menu partial override with category icons.
layouts/partials/logo.html Switches sidebar logo to ks-icon.svg.
content/Tjenester/fiksprotokoll/_index.md Condenses Fiks Protokoll overview and links to new subsections.
content/Tjenester/fiksprotokoll/veiledninger/_index.md Adds guide landing page.
content/Tjenester/fiksprotokoll/veiledninger/1-huskeliste.md Adds ordering/aliases and updates one ref path.
content/Tjenester/fiksprotokoll/veiledninger/2-ta-i-bruk.md Adds ordering and aliases.
content/Tjenester/fiksprotokoll/veiledninger/3-opprette-system.md Adds ordering and aliases.
content/Tjenester/fiksprotokoll/veiledninger/4-opprette-konto.md Adds ordering and aliases.
content/Tjenester/fiksprotokoll/veiledninger/5-gi-tilgang.md Adds ordering and aliases.
content/Tjenester/fiksprotokoll/veiledninger/6-nytt-passord.md Adds ordering and aliases.
content/Tjenester/fiksprotokoll/veiledninger/7-laste-opp-nokkel.md Adds ordering and aliases.
content/Tjenester/fiksprotokoll/protokoller/_index.md Adds protocol overview/status page.
content/Tjenester/fiksprotokoll/protokoller/arkiv.md Updates title, weight, and aliases.
content/Tjenester/fiksprotokoll/protokoller/plan.md Updates title, weight, and aliases.
content/Tjenester/fiksprotokoll/protokoller/matrikkelfoering.md Updates title, weight, and aliases.
content/Tjenester/fiksprotokoll/protokoller/ssbbarnevern.md Updates title, weight, and aliases.
content/Tjenester/fiksprotokoll/protokoller/link.md Updates title, weight, and aliases.
content/Tjenester/fiksprotokoll/protokoller/saksfaser.md Updates title, weight, and aliases.
content/Tjenester/fiksprotokoll/tilgangsstyring.md Adds access-control documentation.
content/Tjenester/fiksprotokoll/overvaaking.md Adds monitoring documentation.
Comments suppressed due to low confidence (2)

content/Tjenester/fiksprotokoll/tilgangsstyring.md:46

  • This DELETE endpoint also omits the /fiks-protokoll/api/v1/konfigurasjon/ prefix, so it does not match the documented OpenAPI path. Please include the full path so the request example is copy/pasteable.
DELETE {fiksOrgId}/systemer/{systemId}/forespurteTilganger/{eksternKonto}

content/Tjenester/fiksprotokoll/protokoller/_index.md:18

  • This row also carries an estimated completion date of Q4 2024 on a page dated 2026, which makes the protocol status look outdated. Please replace the old estimate with the current status or date.
| [Fiks Link]({{< ref "link.md" >}}) – erstatning for GI Link   | Test-versjon releaset. Protokoll klar for testing.                          | 4 kvartal 2024     |

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread layouts/partials/menu.html Outdated
Comment thread content/Tjenester/fiksprotokoll/tilgangsstyring.md
Comment thread content/Tjenester/fiksprotokoll/protokoller/_index.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@OrjanSkotnes OrjanSkotnes requested a review from stianmorsund May 19, 2026 10:13
Comment thread layouts/partials/menu.html
Comment thread layouts/partials/menu.html Outdated
Comment thread layouts/partials/menu.html Outdated
Comment thread layouts/partials/menu.html Outdated
Comment thread layouts/partials/menu.html Outdated
Comment thread layouts/partials/menu.html Outdated
Comment thread layouts/partials/menu.html Outdated
Comment thread layouts/partials/search.html
Comment thread layouts/partials/search.html Outdated
Comment thread layouts/partials/search.html Outdated
Comment thread layouts/partials/search.html Outdated
Copy link
Copy Markdown
Contributor

@stianmorsund stianmorsund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testet med hugo server lokalt, ser veldig bra ut ❤️ 👍
Noen ting vi kan se på, mest ifht tilgjengelighet

@OrjanSkotnes OrjanSkotnes requested a review from stianmorsund May 19, 2026 11:14
Copy link
Copy Markdown
Contributor

@stianmorsund stianmorsund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Godkjent, men bør endre tekstfarge på denne som har for dårlig kontrast
Skjermbilde 2026-05-19 kl  14 42 38

@OrjanSkotnes OrjanSkotnes deleted the forbedring-dokumentasjon-fiks-protokoll branch May 21, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants