Skip to content

Commit 3473c42

Browse files
committed
fix: remove h1 tags in default files in cli
1 parent 83ce917 commit 3473c42

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

cli/src/constants.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,23 @@ export const SidebarFileContent = `introduction.md
22
getting-started.md
33
`;
44

5-
export const IndexFileContent = `Welcome to Hyperdocs!
5+
export const IndexFileContent = `# Welcome to Hyperdocs!
66
77
This page will be rendered at at the root of the documetation at /docs/
88
9-
Visit https://hyperdocs.netlify.app/docs/ for more info.
9+
Visit https://hyperdocs.netlify.app/docs for more info.
1010
`;
1111

12-
export const IntroductionFileContent = `# Introduction
13-
14-
Introduce your project here.
12+
export const IntroductionFileContent = `Introduce your project here.
1513
1614
You can use jsx inside this markdown file and also use many prebuilt components.
1715
18-
Visit https://hyperdocs.netlify.app/docs/ for more info.
16+
Visit https://hyperdocs.netlify.app/docs for more info.
1917
`;
2018

21-
export const GettingStartedFileContent = `# Getting Started
19+
export const GettingStartedFileContent = `You can write your project's getting started guide here.
2220
23-
Write your project's getting started guide here.
21+
You can delete this file and remove it from \`_sidebar.txt\` if you would like to not have this page
2422
2523
To create a new page, just run \`hyperdocs-cli new <filename>\``;
2624

0 commit comments

Comments
 (0)