From dcd1b89ac09b56ceb42d2297edbbcfb9371e4f06 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Sun, 9 Jun 2019 21:38:45 -0700 Subject: [PATCH] refactor(v2): tweak classic template --- .../templates/classic/blog/2019-05-28-hola.md | 11 ++ .../classic/blog/2019-05-29-hello-world.md | 1 + .../classic/blog/2019-05-30-welcome.md | 13 ++ .../classic/blog/2020-05-30-welcome.md | 9 - .../templates/classic/css/custom.css | 23 +++ .../docusaurus/templates/classic/docs/doc1.md | 159 ++++++++++++++++- .../docusaurus/templates/classic/docs/doc2.md | 4 +- .../docusaurus/templates/classic/docs/doc3.md | 2 +- .../templates/classic/docs/exampledoc4.md | 2 +- .../docusaurus/templates/classic/docs/mdx.md | 22 +++ .../templates/classic/docs/style-guide.md | 160 ------------------ .../templates/classic/docusaurus.config.js | 13 +- .../templates/classic/pages/index.js | 59 ++++--- .../templates/classic/pages/styles.module.css | 84 +++------ .../docusaurus/templates/classic/sidebars.js | 13 ++ .../templates/classic/sidebars.json | 9 - 16 files changed, 309 insertions(+), 275 deletions(-) create mode 100644 packages/docusaurus/templates/classic/blog/2019-05-28-hola.md create mode 100644 packages/docusaurus/templates/classic/blog/2019-05-30-welcome.md delete mode 100644 packages/docusaurus/templates/classic/blog/2020-05-30-welcome.md create mode 100644 packages/docusaurus/templates/classic/css/custom.css create mode 100644 packages/docusaurus/templates/classic/docs/mdx.md delete mode 100644 packages/docusaurus/templates/classic/docs/style-guide.md create mode 100644 packages/docusaurus/templates/classic/sidebars.js delete mode 100644 packages/docusaurus/templates/classic/sidebars.json diff --git a/packages/docusaurus/templates/classic/blog/2019-05-28-hola.md b/packages/docusaurus/templates/classic/blog/2019-05-28-hola.md new file mode 100644 index 0000000000..360789d07e --- /dev/null +++ b/packages/docusaurus/templates/classic/blog/2019-05-28-hola.md @@ -0,0 +1,11 @@ +--- +title: Hola +author: Gao Wei +authorTitle: Docusaurus Core Team +authorURL: https://github.com/wgao19 +authorImageURL: https://avatars1.githubusercontent.com/u/2055384?v=4 +authorTwitter: wgao19 +tags: [hola, docusaurus] +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/packages/docusaurus/templates/classic/blog/2019-05-29-hello-world.md b/packages/docusaurus/templates/classic/blog/2019-05-29-hello-world.md index a71b8dcd66..7f2047e558 100644 --- a/packages/docusaurus/templates/classic/blog/2019-05-29-hello-world.md +++ b/packages/docusaurus/templates/classic/blog/2019-05-29-hello-world.md @@ -5,6 +5,7 @@ authorTitle: Maintainer of Docusaurus authorURL: https://github.com/endiliey authorImageURL: https://avatars1.githubusercontent.com/u/17883920?s=460&v=4 authorTwitter: endiliey +tags: [hello, docusaurus] --- Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/). diff --git a/packages/docusaurus/templates/classic/blog/2019-05-30-welcome.md b/packages/docusaurus/templates/classic/blog/2019-05-30-welcome.md new file mode 100644 index 0000000000..f97d1f28bb --- /dev/null +++ b/packages/docusaurus/templates/classic/blog/2019-05-30-welcome.md @@ -0,0 +1,13 @@ +--- +title: Welcome +author: Yangshun Tay +authorTitle: Front End Engineer @ Facebook +authorURL: https://github.com/yangshun +authorImageURL: https://avatars0.githubusercontent.com/u/1315101?s=400&v=4 +authorTwitter: yangshunz +tags: [facebook, hello, docusaurus] +--- + +Blog features are powered by the blog plugin. Simple add files to the `blog` directory. It supports tags as well! + +Delete the whole directory if you don't want the blog features. As simple as that! diff --git a/packages/docusaurus/templates/classic/blog/2020-05-30-welcome.md b/packages/docusaurus/templates/classic/blog/2020-05-30-welcome.md deleted file mode 100644 index 6379df4d60..0000000000 --- a/packages/docusaurus/templates/classic/blog/2020-05-30-welcome.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Welcome -author: Yangshun -authorURL: https://github.com/yangshun -authorImageURL: https://avatars0.githubusercontent.com/u/1315101?s=400&v=4 -authorTwitter: yangshunz ---- - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/packages/docusaurus/templates/classic/css/custom.css b/packages/docusaurus/templates/classic/css/custom.css new file mode 100644 index 0000000000..a7470eafc7 --- /dev/null +++ b/packages/docusaurus/templates/classic/css/custom.css @@ -0,0 +1,23 @@ +/** + * Copyright (c) 2017-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * Any CSS included here will be global. The classic template + * bundles Infima by default. Infima is a CSS framework designed to + * work well for content-centric websites. + */ + +/* You can override the default Infima variables here. */ +:root { + --ifm-color-primary: #25c2a0; + --ifm-color-primary-dark: rgb(33, 175, 144); + --ifm-color-primary-darker: rgb(31, 165, 136); + --ifm-color-primary-darkest: rgb(26, 136, 112); + --ifm-color-primary-light: rgb(70, 203, 174); + --ifm-color-primary-lighter: rgb(102, 212, 189); + --ifm-color-primary-lightest: rgb(146, 224, 208); +} diff --git a/packages/docusaurus/templates/classic/docs/doc1.md b/packages/docusaurus/templates/classic/docs/doc1.md index ee86be9cdb..f9ffe05646 100644 --- a/packages/docusaurus/templates/classic/docs/doc1.md +++ b/packages/docusaurus/templates/classic/docs/doc1.md @@ -1,17 +1,162 @@ --- id: doc1 title: Latin-ish -sidebar_label: Example Page +sidebar_label: Write Markdown --- -I can write content using [GitHub-flavored Markdown syntax](https://github.github.com/gfm/) +You can write content using [GitHub-flavored Markdown syntax](https://github.github.com/gfm/). ## Markdown Syntax -**Bold** _italic_ `code` [Links](#url) +To serve as an example page when styling markdown based Docusaurus sites. -> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing. +## Headers -- Hey -- Ho -- Let's Go +# H1 - Create the best documentation + +## H2 - Create the best documentation + +### H3 - Create the best documentation + +#### H4 - Create the best documentation + +##### H5 - Create the best documentation + +###### H6 - Create the best documentation + +--- + +## Emphasis + +Emphasis, aka italics, with _asterisks_ or _underscores_. + +Strong emphasis, aka bold, with **asterisks** or **underscores**. + +Combined emphasis with **asterisks and _underscores_**. + +Strikethrough uses two tildes. ~~Scratch this.~~ + +--- + +## Lists + +1. First ordered list item +1. Another item ⋅⋅\* Unordered sub-list. +1. Actual numbers don't matter, just that it's a number ⋅⋅1. Ordered sub-list +1. And another item. + +⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown). + +⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ ⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅ ⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.) + +- Unordered list can use asterisks + +* Or minuses + +- Or pluses + +--- + +## Links + +[I'm an inline-style link](https://www.google.com) + +[I'm an inline-style link with title](https://www.google.com "Google's Homepage") + +[I'm a reference-style link][arbitrary case-insensitive reference text] + +[I'm a relative reference to a repository file](../blob/master/LICENSE) + +[You can use numbers for reference-style link definitions][1] + +Or leave it empty and use the [link text itself]. + +URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or and sometimes example.com (but not on Github, for example). + +Some text to show that the reference links can follow later. + +[arbitrary case-insensitive reference text]: https://www.mozilla.org +[1]: http://slashdot.org +[link text itself]: http://www.reddit.com + +--- + +## Images + +Here's our logo (hover to see the title text): + +Inline-style: ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 1') + +Reference-style: ![alt text][logo] + +[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 2' + +--- + +## Code + +```javascript +var s = 'JavaScript syntax highlighting'; +alert(s); +``` + +```python +s = "Python syntax highlighting" +print s +``` + +``` +No language indicated, so no syntax highlighting. +But let's throw in a tag. +``` + +--- + +## Tables + +Colons can be used to align columns. + +| Tables | Are | Cool | +| ------------- | :-----------: | -----: | +| col 3 is | right-aligned | \$1600 | +| col 2 is | centered | \$12 | +| zebra stripes | are neat | \$1 | + +There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. + +| Markdown | Less | Pretty | +| -------- | --------- | ---------- | +| _Still_ | `renders` | **nicely** | +| 1 | 2 | 3 | + +--- + +## Blockquotes + +> Blockquotes are very handy in email to emulate reply text. This line is part of the same quote. + +Quote break. + +> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can _put_ **Markdown** into a blockquote. + +--- + +## Inline HTML + +
+
Definition list
+
Is something people use sometimes.
+ +
Markdown in HTML
+
Does *not* work **very** well. Use HTML tags.
+
+ +--- + +## Line Breaks + +Here's a line for us to start with. + +This line is separated from the one above by two newlines, so it will be a _separate paragraph_. + +This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the _same paragraph_. diff --git a/packages/docusaurus/templates/classic/docs/doc2.md b/packages/docusaurus/templates/classic/docs/doc2.md index 20c0c95a6b..15ba0cd8cf 100644 --- a/packages/docusaurus/templates/classic/docs/doc2.md +++ b/packages/docusaurus/templates/classic/docs/doc2.md @@ -1,7 +1,7 @@ --- id: doc2 -title: document number 2 +title: Document Number 2 --- -This is a link to [another document.](doc3.md) +This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com) diff --git a/packages/docusaurus/templates/classic/docs/doc3.md b/packages/docusaurus/templates/classic/docs/doc3.md index bcb9054fc7..730f232f2a 100644 --- a/packages/docusaurus/templates/classic/docs/doc3.md +++ b/packages/docusaurus/templates/classic/docs/doc3.md @@ -1,6 +1,6 @@ --- id: doc3 -title: This is document number 3 +title: This is Document Number 3 --- Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. diff --git a/packages/docusaurus/templates/classic/docs/exampledoc4.md b/packages/docusaurus/templates/classic/docs/exampledoc4.md index 6f94ffe91b..e78286be66 100644 --- a/packages/docusaurus/templates/classic/docs/exampledoc4.md +++ b/packages/docusaurus/templates/classic/docs/exampledoc4.md @@ -3,4 +3,4 @@ id: doc4 title: Other Document --- -this is another document +This is another document. diff --git a/packages/docusaurus/templates/classic/docs/mdx.md b/packages/docusaurus/templates/classic/docs/mdx.md new file mode 100644 index 0000000000..dd222e2c16 --- /dev/null +++ b/packages/docusaurus/templates/classic/docs/mdx.md @@ -0,0 +1,22 @@ +--- +id: mdx +title: Powered by MDX +--- + +You can write JSX and use React components within your Markdown thanks to [MDX](https://mdxjs.com/). + +export const Highlight = ({children, color}) => ( + + {children} + +); + +Docusaurus green and Facebook blue are my favorite colors. + +I can write **Markdown** alongside my _JSX_! diff --git a/packages/docusaurus/templates/classic/docs/style-guide.md b/packages/docusaurus/templates/classic/docs/style-guide.md deleted file mode 100644 index 3241c8a6b4..0000000000 --- a/packages/docusaurus/templates/classic/docs/style-guide.md +++ /dev/null @@ -1,160 +0,0 @@ ---- -id: style-guide -title: Style Guide -sidebar_label: Style Guide ---- - -# Markdown Style Guide - -To serve as an example page when styling markdown based Docusaurus sites. - -## Headers - -# Create the best documentation - -## Create the best documentation - -### Create the best documentation - -#### Create the best documentation - -##### Create the best documentation - -###### Create the best documentation - ---- - -## Emphasis - -Emphasis, aka italics, with _asterisks_ or _underscores_. - -Strong emphasis, aka bold, with **asterisks** or **underscores**. - -Combined emphasis with **asterisks and _underscores_**. - -Strikethrough uses two tildes. ~~Scratch this.~~ - ---- - -## Lists - -1. First ordered list item -2. Another item ⋅⋅\* Unordered sub-list. -3. Actual numbers don't matter, just that it's a number ⋅⋅1. Ordered sub-list -4. And another item. - -⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown). - -⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ ⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅ ⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.) - -- Unordered list can use asterisks - -* Or minuses - -- Or pluses - ---- - -## Links - -[I'm an inline-style link](https://www.google.com) - -[I'm an inline-style link with title](https://www.google.com "Google's Homepage") - -[I'm a reference-style link][arbitrary case-insensitive reference text] - -[I'm a relative reference to a repository file](../blob/master/LICENSE) - -[You can use numbers for reference-style link definitions][1] - -Or leave it empty and use the [link text itself]. - -URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or and sometimes example.com (but not on Github, for example). - -Some text to show that the reference links can follow later. - -[arbitrary case-insensitive reference text]: https://www.mozilla.org -[1]: http://slashdot.org -[link text itself]: http://www.reddit.com - ---- - -## Images - -Here's our logo (hover to see the title text): - -Inline-style: ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 1') - -Reference-style: ![alt text][logo] - -[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 2' - ---- - -## Code - -```javascript -var s = 'JavaScript syntax highlighting'; -alert(s); -``` - -```python -s = "Python syntax highlighting" -print s -``` - -``` -No language indicated, so no syntax highlighting. -But let's throw in a tag. -``` - ---- - -## Tables - -Colons can be used to align columns. - -| Tables | Are | Cool | -| ------------- | :-----------: | -----: | -| col 3 is | right-aligned | \$1600 | -| col 2 is | centered | \$12 | -| zebra stripes | are neat | \$1 | - -There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. - -| Markdown | Less | Pretty | -| -------- | --------- | ---------- | -| _Still_ | `renders` | **nicely** | -| 1 | 2 | 3 | - ---- - -## Blockquotes - -> Blockquotes are very handy in email to emulate reply text. This line is part of the same quote. - -Quote break. - -> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can _put_ **Markdown** into a blockquote. - ---- - -## Inline HTML - -
-
Definition list
-
Is something people use sometimes.
- -
Markdown in HTML
-
Does *not* work **very** well. Use HTML tags.
-
- ---- - -## Line Breaks - -Here's a line for us to start with. - -This line is separated from the one above by two newlines, so it will be a _separate paragraph_. - -This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the _same paragraph_. diff --git a/packages/docusaurus/templates/classic/docusaurus.config.js b/packages/docusaurus/templates/classic/docusaurus.config.js index 227cc4e3d3..e28f6c26ca 100644 --- a/packages/docusaurus/templates/classic/docusaurus.config.js +++ b/packages/docusaurus/templates/classic/docusaurus.config.js @@ -6,16 +6,16 @@ */ module.exports = { - title: 'My site', + title: 'My Site', tagline: 'The tagline of my site', url: 'https://your-docusaurus-test-site.com', baseUrl: '/', favicon: 'img/favicon.ico', themeConfig: { navbar: { - title: 'My site', + title: 'My Site', logo: { - alt: 'My site Logo', + alt: 'My Site Logo', src: 'img/logo.svg', }, links: [ @@ -63,7 +63,7 @@ module.exports = { alt: 'Facebook Open Source Logo', src: 'https://docusaurus.io/img/oss_logo.png', }, - copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc.`, + copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`, }, }, presets: [ @@ -71,7 +71,10 @@ module.exports = { '@docusaurus/preset-classic', { docs: { - sidebarPath: require.resolve('./sidebars.json'), + sidebarPath: require.resolve('./sidebars.js'), + }, + theme: { + customCss: require.resolve('./css/custom.css'), }, }, ], diff --git a/packages/docusaurus/templates/classic/pages/index.js b/packages/docusaurus/templates/classic/pages/index.js index c551a318b3..955aff747d 100644 --- a/packages/docusaurus/templates/classic/pages/index.js +++ b/packages/docusaurus/templates/classic/pages/index.js @@ -13,45 +13,54 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import withBaseUrl from '@docusaurus/withBaseUrl'; import styles from './styles.module.css'; -const highlights = [ +const features = [ { - title: 'Easy to use', + title: <>Easy to Use, imageUrl: 'img/undraw_docusaurus_mountain.svg', - description: - 'Docusaurus was designed from the ground up to be easily installed and used to get your website up and running quickly.', + description: ( + <> + Docusaurus was designed from the ground up to be easily installed and + used to get your website up and running quickly. + + ), }, { - title: 'Focus on your docs', + title: <>Focus on What Matters, imageUrl: 'img/undraw_docusaurus_tree.svg', - description: - "Docusaurus lets you focus on your docs, and we'll do the chores. Now go ahead and dump all your docs into the docs directory.", + description: ( + <> + Docusaurus lets you focus on your docs, and we'll do the chores. Go + ahead and move your docs into the docs directory. + + ), }, { - title: 'Powered by React', + title: <>Powered by React, imageUrl: 'img/undraw_docusaurus_react.svg', - description: - "Extend or customize your project's layout by reusing React. Docusaurus can be extended while reusing the same header and footer.", + description: ( + <> + Extend or customize your website layout by reusing React. Docusaurus can + be extended while reusing the same header and footer. + + ), }, ]; -/* Note that this is only temporary. TODO: better welcome screen */ function Home() { const context = useDocusaurusContext(); const {siteConfig = {}} = context; return ( -
+
- logo

{siteConfig.title}

{siteConfig.tagline}

@@ -61,15 +70,23 @@ function Home() {
- {highlights && highlights.length && ( -
+ {features && features.length && ( +
- {highlights.map(({imageUrl, title, description}, idx) => ( + {features.map(({imageUrl, title, description}, idx) => (
- {title} + key={idx} + className={classnames('col col--4', styles.feature)}> + {imageUrl && ( +
+ {title} +
+ )}

{title}

{description}

diff --git a/packages/docusaurus/templates/classic/pages/styles.module.css b/packages/docusaurus/templates/classic/pages/styles.module.css index 54605c34c0..b84aeed1d7 100644 --- a/packages/docusaurus/templates/classic/pages/styles.module.css +++ b/packages/docusaurus/templates/classic/pages/styles.module.css @@ -1,78 +1,42 @@ -.header { - color: white; - padding: 1rem 0; +/** + * Copyright (c) 2017-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * CSS files with the .module.css suffix will be treated as CSS modules + * and scoped locally. + */ + +.heroBanner { + padding: 4rem 0; text-align: center; position: relative; overflow: hidden; - min-height: 550px; } -.buttons { +@media screen and (max-width: 966px) { + .heroBanner { + padding: 2rem; + } +} + +.buttons { display: flex; align-items: center; justify-content: center; } -.buttons iframe { - margin-left: 1rem; -} -@media screen and (min-height: 900px) { - .buttons { - margin-top: 2rem; - } -} -@media screen and (max-width: 400px) { - .header { - /* display mainly the header section */ - height: calc(100vh - 120px); - } -} -@media screen and (max-width: 799px) { -.header { - /* display just one highlight */ - height: calc(100vh - 310px); - } -} -@media screen and (min-width: 800px) and (max-height: 999px) { - /* if the viewport is not tall enough, display just the header */ - .header { - height: calc(100vh - 120px); - } -} -@media screen and (min-width: 800px) and (min-height: 1000px) { - /* if the viewport is tall enough, split between header and highlights */ - .header { - padding: 4rem 0; - height: calc((100vh - 60px - 60px) * .6); - } -} -/* secondary section on the first screen */ -.highlights { - background: var(--ifm-color-black-alpha-10); +.features { display: flex; align-items: center; + padding: 2rem 0; width: 100%; - min-height: 350px; } -.highlight { - text-align: center; -} -.highlight img { +.featureImage { height: 200px; width: 200px; } -.highlight p { - text-align: left; -} - -@media screen and (min-width: 520px) and (max-width: 1023px) { - .highlights { - padding-bottom: 2rem; - } -} -@media screen and (min-width: 1024px) { - .highlights { - height: calc((100vh - 60px - 60px) * .4); - } -} \ No newline at end of file diff --git a/packages/docusaurus/templates/classic/sidebars.js b/packages/docusaurus/templates/classic/sidebars.js new file mode 100644 index 0000000000..421c516534 --- /dev/null +++ b/packages/docusaurus/templates/classic/sidebars.js @@ -0,0 +1,13 @@ +/** + * Copyright (c) 2017-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +module.exports = { + docs: { + Docusaurus: ['doc1', 'doc2', 'doc3'], + Features: ['mdx'], + }, +}; diff --git a/packages/docusaurus/templates/classic/sidebars.json b/packages/docusaurus/templates/classic/sidebars.json deleted file mode 100644 index 6dec5c265a..0000000000 --- a/packages/docusaurus/templates/classic/sidebars.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "docs": { - "Docusaurus": ["doc1", "doc2", "doc3"], - "Utilities": ["style-guide"] - }, - "docs-other": { - "First Category": ["doc4", "doc5"] - } -}