Skip to content

Commit

Permalink
DPO-3017 Deno fmt formatterin käyttöönotto prettierin tilalle
Browse files Browse the repository at this point in the history
- Fix toc
  • Loading branch information
jouniso committed Jan 28, 2025
1 parent 4927291 commit 07b2a9a
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 12 deletions.
3 changes: 3 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"**/*.scss"
],
"exclude": [
"data/translations.json",
"js/lang.js",
"css/style.scss",
"**/pnpm-lock.yaml",
"**/dist",
"/*/**/lib",
Expand Down
4 changes: 3 additions & 1 deletion pages/esimerkit-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ title: Code examples
intro: Examples of using Digitraffic data and applying good programming practices
---

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

### Camera images with ETags

Expand Down
4 changes: 3 additions & 1 deletion pages/esimerkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ title: Koodiesimerkit
intro: Esimerkkejä Digitrafficin tarjoaman datan käytöstä ja hyvistä ohjelmointikäytännöistä
---

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

### Kamerakuvat ja ETagin käyttö

Expand Down
4 changes: 3 additions & 1 deletion pages/lam-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ swagger-source: https://meri.digitraffic.fi/swagger/openapi.json
Fintraffic collects information about road traffic using automatic traffic
measurement stations (LAM). Real-time and historical data are available.

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

# Operation of measurement points

Expand Down
4 changes: 3 additions & 1 deletion pages/lam.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ intro: Liikenteen automaattiset mittaustiedot
Fintraffic kerää tietoa tieliikenteestä liikenteen automaattisten mittausasemien
(LAM) avulla. Tarjolla on reaaliaika- ja historiadataa.

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

# Mittauspisteiden toiminta

Expand Down
4 changes: 3 additions & 1 deletion pages/meriliikenne-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ Agency's data sources. Currently open data API provides following information:

<h2 id="content">Content</h2>

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

## REST/JSON -API

Expand Down
4 changes: 3 additions & 1 deletion pages/meriliikenne.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ tällä hetkellä:

<h2 id="sisältö">Sisältö</h2>

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

## REST/JSON-rajapinnat

Expand Down
4 changes: 3 additions & 1 deletion pages/ohjeita-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ intro: Instructions for coding

<h2 id="contents">Contents</h2>

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

# General considerations

Expand Down
4 changes: 3 additions & 1 deletion pages/ohjeita.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ intro: Ohjeita ohjelmoijille

<h2 id="sisalto">Sisältö</h2>

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

# Yleistä huomioitavaa

Expand Down
4 changes: 3 additions & 1 deletion pages/paikannusnimisto-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ intro: Finnish RDS-TMC event list and location table

<h2 id="sisältö">Contents</h2>

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

This note describes the Finnish location and event tables including which
decisions have been made concerning items, which are not part of the Location
Expand Down
4 changes: 3 additions & 1 deletion pages/paikannusnimisto.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ intro: Suomen liikennetiedottamisessa käytettävä paikannuspisteistö

<h2 id="sisältö">Sisältö</h2>

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

## TMC/ALERT-C paikannuspisteistö

Expand Down
4 changes: 3 additions & 1 deletion pages/tieliikenne-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ links:

<h2 id="sisältö">Contents</h2>

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

## General info

Expand Down
4 changes: 3 additions & 1 deletion pages/tieliikenne.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ links:

<h2 id="sisältö">Sisältö</h2>

- Do not remove this line (it will not be displayed) {:toc}
<!-- deno-fmt-ignore -->
- Do not remove this line (it will not be displayed)
{:toc}

## Yleistä tietoa

Expand Down

0 comments on commit 07b2a9a

Please sign in to comment.