sample: https://www.jannikbuschke.de/gatsby-antd-docs/
Forked from https://github.com/cvluca/gatsby-starter-markdown.
This starter is boilerplate for (technical) documentation websites optionally accomponied by a blog (you can use it forever you want of course).
npm install gatsby -g
gatsby new my-docs https://github.com/jannikbuschke/gatsby-antd-docs
cd my-docs
npm run start
Visit http://localhost:8000.
Edit files in /content/docs
and see live updates.
- Ant Design
- Typescript
- Markdown
- MDX
- Syntax highlighting
- Add typescript
- Remove Redux
- General simplifications
- Add mdx
- Add syntax highlighting with prismjs
- Improve Header UI
- Fix menu item links not showing active state
- Blog feature / second content type
- Improved typings
- Improved responsiveness
- Add Search
In order to host the site the sites path needs to be put into gatsby-config.js export object on to the property pathPrefix. Then run
npm run build
and copy the content of the public folder to the webspace.
MIT