Skip to content

About

Documentation for Altinn 3

Resources

Code of conduct

Contributing

Security policy

Stars

16 stars

Watchers

30 watching

Forks

Altinn Studio docs

Build and Deploy

This repo contains the source for the Altinn 3 documentation.

There are two ways to edit and test your changes to the docs:

Running Hugo locally

See CONTRIBUTING for even more details.

  1. Install the required software (Git, Hugo, Node.js and Visual Studio Code)
  2. Clone the repo
    git clone https://github.com/altinn/altinn-studio-docs
  3. Navigate to repo folder, install the npm dependencies (Designsystemet) and run Hugo
    npm ci
    hugo server --navigateToChanged
    Search does not work with hugo server alone, because the search index (Pagefind) is built in a separate step. To test search locally, build the site to public/ and generate the index:
    hugo
    npx -y pagefind --site "public"
    hugo server then serves the index from public/pagefind/. The index is a snapshot, so run both commands again to include new or changed pages.
  4. The documentation can now be opened in browser at http://localhost:1313/
  5. Edit and save files to get the site refreshed in your browser, so you can test your changes
  6. When happy, push your changes

About

Documentation for Altinn 3

Resources

Code of conduct

Contributing

Security policy

Stars

16 stars

Watchers

30 watching

Forks

Releases

Packages

Used by

Contributors

Languages