Skip to content

Commit 2a96ec0

Browse files
polish(create-docusaurus): add comment in config to mention different ways to declare config + doc link (facebook#8944)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
1 parent 7e01f36 commit 2a96ec0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/create-docusaurus/templates/classic/docusaurus.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// @ts-check
2-
// Note: type annotations allow type checking and IDEs autocompletion
2+
// `@type` JSDoc annotations allow editor autocompletion and type checking
3+
// (when paired with `@ts-check`).
4+
// There are various equivalent ways to declare your Docusaurus config.
5+
// See: https://docusaurus.io/docs/api/docusaurus-config
36

47
const lightCodeTheme = require('prism-react-renderer/themes/github');
58
const darkCodeTheme = require('prism-react-renderer/themes/dracula');

0 commit comments

Comments
 (0)