diff --git a/docs/guide/walkthrough/cli.md b/docs/guide/walkthrough/cli.md index 43bb56b75..cc21e45b4 100644 --- a/docs/guide/walkthrough/cli.md +++ b/docs/guide/walkthrough/cli.md @@ -1,7 +1,7 @@ # CLI Setting up the [CLI](https://github.com/sern-handler/cli) is easy.
-- To start a brand new project, run : +- To start a brand-new project, run : ``` sern init (-y) ``` diff --git a/docusaurus.config.js b/docusaurus.config.js index ad2c2fbc8..79a3cfca9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -46,6 +46,17 @@ const config = { editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', }, + pages : { + path: 'src/pages', + routeBasePath: '/', + include: ['**/*.{js,jsx,ts,tsx,md,mdx}'], + exclude: [ + '**/_*.{js,jsx,ts,tsx,md,mdx}', + '**/_*/**', + '**/*.test.{js,jsx,ts,tsx}', + '**/__tests__/**', + ], + }, theme: { customCss: require.resolve('./src/css/custom.css'), }, @@ -75,6 +86,11 @@ const config = { label: 'GitHub', position: 'right', }, + { + to: '/plugins', + label: 'plugins', + position: 'left' + } ], }, footer: { diff --git a/package-lock.json b/package-lock.json index cbbd79623..26eb338ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "@docusaurus/theme-search-algolia": "^2.0.0-rc.1", "@mdx-js/react": "^1.6.22", "clsx": "^1.2.1", + "jsdoc-parse-plus": "^1.3.0", "prism-react-renderer": "^1.3.5", "react": "^17.0.2", "react-dom": "^17.0.2" @@ -8046,6 +8047,11 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jsdoc-parse-plus": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsdoc-parse-plus/-/jsdoc-parse-plus-1.3.0.tgz", + "integrity": "sha512-zk1ssDQX8C2wLf6Gd6RdLr/Ou+E98fB2YlWZP7t3CLkX/4ULeg6afESLdAMdsKNeAO5lmSi4tbGf6o4xloPGew==" + }, "node_modules/jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", @@ -19030,6 +19036,11 @@ "argparse": "^2.0.1" } }, + "jsdoc-parse-plus": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsdoc-parse-plus/-/jsdoc-parse-plus-1.3.0.tgz", + "integrity": "sha512-zk1ssDQX8C2wLf6Gd6RdLr/Ou+E98fB2YlWZP7t3CLkX/4ULeg6afESLdAMdsKNeAO5lmSi4tbGf6o4xloPGew==" + }, "jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", diff --git a/package.json b/package.json index 1760370c4..ae8b19ea9 100644 --- a/package.json +++ b/package.json @@ -18,10 +18,12 @@ }, "dependencies": { "@docusaurus/core": "2.0.0-rc.1", + "@docusaurus/plugin-content-pages": "^2.0.1", "@docusaurus/preset-classic": "2.0.0-rc.1", "@docusaurus/theme-search-algolia": "^2.0.0-rc.1", "@mdx-js/react": "^1.6.22", "clsx": "^1.2.1", + "jsdoc-parse-plus": "^1.3.0", "prism-react-renderer": "^1.3.5", "react": "^17.0.2", "react-dom": "^17.0.2" diff --git a/src/pages/plugins.js b/src/pages/plugins.js new file mode 100644 index 000000000..40692e5dc --- /dev/null +++ b/src/pages/plugins.js @@ -0,0 +1,18 @@ +import React from 'react'; +import Layout from '@theme/Layout'; +import clsx from "clsx"; +import styles from "./index.module.css"; + +export default function Plugins() { + + return ( + +
+

+ Coming soon +

+
+ +
+ ) +} \ No newline at end of file