@@ -7,12 +7,21 @@ Technical documentation for services made available by geo.admin.ch.
77To build and run the site locally:
88
991 . Make sure Node.js v18 or higher is installed (` node -v ` )
10- 2 . Install VitePress following [ the setup guide] ( https://vitepress.dev/guide/getting-started ) .
10+ 2 . Install VitePress following [ the setup guide] ( https://vitepress.dev/guide/getting-started ) . Do not use the setup wizard, only install the package.
11113 . Optional: Activate a suitable Node version, e.g. with ` nvm use stable `
1212 ℹ️ Use ` nvm list ` to see all available Node versions
13134 . Run ` npm install ` to locally install all the necessary packages
14145 . Run ` npm run docs:dev ` and visit http://localhost:5173/ in your web browser
1515
16+ ## Development
17+
18+ This project uses the [ prettier] ( https://prettier.io/ ) package for formatting.
19+
20+ You can automatically run prettier with these commands:
21+
22+ 1 . ` npm run format `
23+ 2 . ` npm run format:check `
24+
1625## How to Add a Release Note
1726
1827To add a release note, follow these steps:
@@ -49,7 +58,6 @@ To add a release note, follow these steps:
4958 previewContent : " Our systems are experiencing issues"
5059 ` ` `
51602. Update the ` previewType` variable (`info` or `warning`) to control the color and the position in the page :
52-
5361 - `info` : bottom of the page, just text without backgound color
5462 - `warning` : top of the page, yellow banner
5563 - `danger` : top of the page, red banner
0 commit comments