0.0.2 • Published 6 months ago

nuxt-mkdocs v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

nuxt-mkdocs npm

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-mkdocs

This will create the following directory structure:

/
├─ .nuxt-content/
├─ docs/
│  ├─ index.md
│  ├─ mkdocs.yml
├─ package.json
├─ .gitignore

You can view the pages to your local browser by running:

npm run serve

And you can generate the static site for hosting using:

npm run generate

This command will take the markdown files in the docs directory and generate a site in the in a dist directory with the following routes:

FileURL
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:

  1. Replicating a more compete set of mkdocs.yml customization.
  2. Creating components and themes users can select to style their docs.

License

MIT

0.0.2

6 months ago

0.0.1

6 months ago