polish(create-docusaurus): add comment in config to mention different ways to declare config + doc link (#8944)

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
Thad Guidry 2023-05-04 00:36:29 +08:00 committed by GitHub
parent 7e01f36f37
commit 2a96ec01de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
// `@type` JSDoc annotations allow editor autocompletion and type checking
// (when paired with `@ts-check`).
// There are various equivalent ways to declare your Docusaurus config.
// See: https://docusaurus.io/docs/api/docusaurus-config
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');