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 64.2%
  • Vue 19.9%
  • CSS 15.3%
  • Makefile 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-01 13:10:01 +01:00
.github Added/Modified github workflows pr-auto-semver.yml #skip-tagging-and-release 2026-12-01 13:10:01 +01:00
.vitepress PB-2464: noted where the fair use rules are duplicated 2026-11-11 11:53:59 +01:00
access-data chore: Updated wording with input from @ltclm 2026-11-20 09:40:25 +01: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 PB-2464: clearer fair use rules on the overview page 2026-11-11 11:14:02 +01:00
map-viewer Make Markdown compatible with prettier v3.9.0 2026-06-29 18:13:57 +02:00
page BGDIDIC-698: Announced end of the DIEMO JSON download 2026-11-25 08:40:16 +01:00
public og:title adapted to each page 2025-11-11 13:44:10 +01:00
releases chore: Update list new and updated layers 2026-10-28 14:07:48 +01:00
scripts PB-1908 : Format project with prettier. 2025-10-28 15:03:15 +01:00
static PB-2066 Replace SVG diagram with mermaid diagram 2025-11-13 09:35:17 +01:00
types Fix scroll in direct navigation 2025-11-24 11:53:40 +01:00
visualize-data docs(wmts): Used Layername in the GetTile URL template 2026-11-10 13:31:45 +01:00
.gitignore PB-2155: Replaces CodePen exemple with CodeSandbox 2026-01-07 17:14:01 +01:00
.nvmrc chore(deps): update node.js to v26 2026-11-23 10:10:34 +00:00
.prettierignore PB-2045 Enable formatter for Release Notes 2025-11-26 15:06:45 +01:00
.prettierrc PB-1908 : Add prettier formatting 2025-10-28 14:48:05 +01:00
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 dependency @types/node to v26.6.11 2026-11-29 00:02:41 +00:00
pnpm-lock.yaml chore(deps): update dependency @types/node to v26.6.11 2026-11-29 00:02:41 +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.