Technical Documentation for geoadmin | Read-only mirror of https://github.com/geoadmin/doc-tech — Bundesamt für Landestopografie swisstopo. Issues & pull requests at the source.
  • TypeScript 61.7%
  • Vue 21.3%
  • CSS 16.4%
  • Makefile 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Steiner 53fbcdb757
Merge pull request #179 from geoadmin/renovate/all-minor-patch
chore(deps): update all non-major dependencies #patch
2026-08-17 08:48:58 +00:00
.github Added/Modified github auto generate release note configuration #skip-tagging-and-release 2026-08-13 08:52:43 +02:00
.vitepress PB-2303: fix status banner clickability on narrow screens 2026-07-28 08:49:48 +02:00
access-data Make Markdown compatible with prettier v3.9.0 2026-06-29 18:13:57 +02:00
components PB-2357: add missing .html suffix. 2026-07-29 15:52:19 +02:00
download-data/stac-api HDG-52 Make it clearer when to use STAC API 2026-05-07 11:19:56 +02:00
explore-data Make Markdown compatible with prettier v3.9.0 2026-06-29 18:13:57 +02:00
get-started
map-viewer Make Markdown compatible with prettier v3.9.0 2026-06-29 18:13:57 +02:00
page Remove trailing whitespace 2026-08-03 10:09:57 +02:00
public
releases pnpm run format 2026-06-30 10:04:30 +02:00
scripts
static
types Fix scroll in direct navigation 2025-11-24 11:53:40 +01:00
visualize-data CHORE: Clarify vector tiles and styles specifications 2026-08-05 08:46:47 +00:00
.gitignore PB-2155: Replaces CodePen exemple with CodeSandbox 2026-01-07 17:14:01 +01:00
.nvmrc chore(deps): update node.js to v24 2026-02-05 19:02:21 +00:00
.prettierignore PB-2045 Enable formatter for Release Notes 2025-11-26 15:06:45 +01:00
.prettierrc
index.md PB-2357: add missing .html suffix. 2026-07-29 15:52:19 +02:00
Makefile Refactor: Add Makefile 2026-07-29 13:43:49 +02:00
package.json chore(deps): update all non-major dependencies 2026-08-10 01:01:43 +00:00
pnpm-lock.yaml chore(deps): update all non-major dependencies 2026-08-16 00:01:43 +00:00
pnpm-workspace.yaml NO-ISSUE: fix for pnpm 11 2026-05-28 14:37:45 +02:00
README.md Refactor: Add Makefile 2026-07-29 13:43:49 +02:00
renovate.json GPS-431: set branch to master again 2026-01-30 14:02:55 +01:00

doc-tech

Technical documentation for services made available by geo.admin.ch.

Branch CI Status Deployed version
master Build Status https://sys-docs.int.bgdi.ch/

Getting Started

To build and run the site locally:

  1. Make sure Node.js v22 or higher is installed (node -v). If you have nvm installed you should have automatically the correct version due to .nvmrc.
  2. Run make setup to locally install all the necessary packages.
  3. Run make serve and 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:

  1. Navigate to the .releases/ folder in the project directory.

  2. Create a new file with the following naming convention: YYYYMMDD.md (e.g., 20250514.md).

  3. Add the following header to the file:

    ---
    title: YYYYMMDD
    date: Day, Month DDth YYYY
    ---
    

    Replace YYYYMMDD with the release date, and update the date field with the full date in a human-readable format.

  4. Add the markdown content for the release note below the header.

  5. (Optional) If you do not want the release note to appear in the sidebar menu, add the following variable to the header:

    ignoreSideBar: true
    
  6. Save the file and commit your changes.

How to Edit the Status Banner

  1. To edit the status banner, use the following variables located in the status-page.md file:

    previewType: "info"
    previewTitle: "Issues in services"
    previewContent: "Our systems are experiencing issues"
    
  2. Update the previewType variable (info or warning) to control the color and the position in the page :

    • info: bottom of the page, just text without backgound color
    • warning: top of the page, yellow banner
    • danger: top of the page, red banner
  3. Save the file and commit your changes.

How to Edit the End-of-Life Preview

  1. To edit the End-of-Life preview, use the following variables located in the end-of-life.md file:

    previewTitle: "Decomissioning of legacy vectortile styles / tiles"
    previewContent: "Old styles for Light Base Map and Imagery Base Map no longer available from January 2025"
    
  2. Save the file and commit your changes.