Skip to content

Commit 0ee1667

Browse files
committed
hide basic-page example and move pages dir to top level
1 parent b99910e commit 0ee1667

4 files changed

Lines changed: 15 additions & 7 deletions

File tree

docusaurus.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ const config: import('@docusaurus/types').Config = {
4040
theme: {
4141
customCss: './src/css/custom.css',
4242
},
43+
pages: {
44+
path: './pages',
45+
}
4346
} satisfies import('@docusaurus/preset-classic').Options,
4447
],
4548
],

pages/.git-keep

Whitespace-only changes.

pages/_example-pages/basic-page.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
# Title of the page. Appears in Search Engine results and in the browser tab.
3+
title: Markdown page example
4+
# Description of the page. Appears in Search Engine results .
5+
description: You don't need React to write simple standalone pages.
6+
# Whether to hide the table of contents which is generated from the h2 and h3 headings in the page.
7+
hide_table_of_contents: false
8+
---
9+
10+
# Markdown page example
11+
12+
You don't need React to write simple standalone pages.

src/pages/markdown-page.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)