0.0.2 • Published 2 years ago
nuxt-mkdocs v0.0.2
nuxt-mkdocs 
Combining the style and flexibility of Nuxt Content with the syntax of MkDocs.
Usage
Make sure you have npx installed (npx is shipped by default since npm 5.2.0)
npx nuxt-mkdocsThis will create the following directory structure:
/
├─ .nuxt-content/
├─ docs/
│ ├─ index.md
│ ├─ mkdocs.yml
├─ package.json
├─ .gitignoreYou can view the pages to your local browser by running:
npm run serveAnd you can generate the static site for hosting using:
npm run generateThis command will take the markdown files in the docs directory and generate a site in the in a dist directory with the following routes:
| File | URL |
|---|---|
| docs/index.md | / |
| docs/about.md | /about |
| docs/api/endpoints.md | /api/endpoints |
mkdocs.yml is where you will you will store metadata and configuration info about your docs. Read more about mkdocs.yml here.
Contribute
Accepting pull requests for features which help improve the UX of nuxt-mkdocs. Right now the two main development priorities are:
- Replicating a more compete set of
mkdocs.ymlcustomization. - Creating components and themes users can select to style their docs.