- TypeScript 61.7%
- Vue 21.3%
- CSS 16.4%
- Makefile 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github | ||
| .vitepress | ||
| access-data | ||
| components | ||
| download-data/stac-api | ||
| explore-data | ||
| get-started | ||
| map-viewer | ||
| page | ||
| public | ||
| releases | ||
| scripts | ||
| static | ||
| types | ||
| visualize-data | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| index.md | ||
| Makefile | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| renovate.json | ||
doc-tech
Technical documentation for services made available by geo.admin.ch.
| Branch | CI Status | Deployed version |
|---|---|---|
| master | https://sys-docs.int.bgdi.ch/ |
Getting Started
To build and run the site locally:
- Make sure Node.js v22 or higher is installed (
node -v). If you havenvminstalled you should have automatically the correct version due to.nvmrc. - Run
make setupto locally install all the necessary packages. - Run
make serveand open http://localhost:5173/ in your web browser.
Development
This project uses the prettier package for formatting.
To check formatting:
make format-check
To format your files:
make format
How to Add a Release Note
To add a release note, follow these steps:
-
Navigate to the
.releases/folder in the project directory. -
Create a new file with the following naming convention:
YYYYMMDD.md(e.g.,20250514.md). -
Add the following header to the file:
--- title: YYYYMMDD date: Day, Month DDth YYYY ---Replace
YYYYMMDDwith the release date, and update thedatefield with the full date in a human-readable format. -
Add the markdown content for the release note below the header.
-
(Optional) If you do not want the release note to appear in the sidebar menu, add the following variable to the header:
ignoreSideBar: true -
Save the file and commit your changes.
How to Edit the Status Banner
-
To edit the status banner, use the following variables located in the
status-page.mdfile:previewType: "info" previewTitle: "Issues in services" previewContent: "Our systems are experiencing issues" -
Update the
previewTypevariable (infoorwarning) to control the color and the position in the page :info: bottom of the page, just text without backgound colorwarning: top of the page, yellow bannerdanger: top of the page, red banner
-
Save the file and commit your changes.
How to Edit the End-of-Life Preview
-
To edit the End-of-Life preview, use the following variables located in the
end-of-life.mdfile:previewTitle: "Decomissioning of legacy vectortile styles / tiles" previewContent: "Old styles for Light Base Map and Imagery Base Map no longer available from January 2025" -
Save the file and commit your changes.