apos-docs
Version:
Documentation static site generator built with Eleventy.
47 lines (31 loc) • 1.8 kB
Markdown
# apos-docs
Documentation static site generator built with Eleventy.
It should work out of the box with minimal configuration. This is meant to be used in combination with GitHub Pages. The final output should work with JavaScript disabled.
[](https://www.npmjs.com/package/apos-docs) [](https://www.npmjs.com/package/apos-docs)
## Description
Takes in a `docs` directory along with your main `README.md`. Compiles the output into an `apos-docs/_site` directory. Adds the content of the `apos-docs/_site` directory to a `gh-pages` branch. The documentation for your repository will be available at `[username].github.io/[repository name]`.
## Documentation
* [Getting started](https://apostolique.github.io/apos-docs/getting-started/)
* [Design choices](https://apostolique.github.io/apos-docs/design-choices/)
* [Markdown showcase](https://apostolique.github.io/apos-docs/markdown/)
## Development
To work on the generator itself:
```sh
npm i
npm run dev
```
This builds the site from `src` and `docs`, serves it on <http://localhost:8080/>, and rebuilds
whenever you edit anything under `src`. Templates, styles and docs refresh in place. Editing a
file in `src/_plugins` or `src/.eleventy.js` restarts eleventy automatically, since those are
only read once at startup.
## Tech Stack
* [node](https://nodejs.org)
* [eleventy](https://www.11ty.dev/)
* [markdown-it](https://github.com/markdown-it/markdown-it)
* [prism](https://github.com/PrismJS/prism)
* [tailwindcss](https://tailwindcss.com/)
## Used by
* <https://learn-monogame.github.io/>
* <https://apostolique.github.io/Apos.Input/>
* <https://apostolique.github.io/Apos.Gui/>
* <https://apostolique.github.io/Apos.Camera/>