pub-server default theme with responsive sidebar.
This theme is included with pub-server.
To use this theme in a project, include "pub-theme-doc" in the "pkgs" array in pub-config.js.
This theme will reference pub-pkg-font-awesome
icons, if included in pkgs
. For syntax highlighting, combine this theme with either pub-pkg-prism or pub-pkg-highlight.
In pub-config set the following:
opts.docTitle
and optionallyopts.docSubTitle
opts.github
In your downstream project create fragments with the following names, to replace the defaults.
---- /#navicon ----
_!bars fw lg_
---- /#doctitle ----
# [Awesome Framework](/)
documentation
---- /#topmenu ----
- [](/about-us)
- [_!github lg fw_](https://github.com/jldec/pub-server)
On small screens, the navigation sidebar will be hidden, and appear when hovering over the navicon.
- github-like markdown css thanks to https://github.com/sindresorhus/github-markdown-css