Skip to content

Commit

Permalink
docs: migrate to docusaurus.config.ts
Browse files Browse the repository at this point in the history
- make configuration file type-safe
- uses standard ESM format

see: https://docusaurus.io/docs/configuration#syntax-to-declare-docusaurus-config
  • Loading branch information
scarf005 authored and tgodzik committed Aug 26, 2024
1 parent fe03435 commit 5f6742c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/docusaurus.config.js → website/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
module.exports = {
import type { Config } from "@docusaurus/types"

export default {
"title": "Metals",
"tagline": "Scala language server with rich IDE features",
"url": "http://scalameta.org",
Expand Down Expand Up @@ -134,4 +136,4 @@ module.exports = {
}
}
}
}
} satisfies Config

0 comments on commit 5f6742c

Please sign in to comment.