1.2.0 • Published 10 months ago

pub-theme-doc v1.2.0

Weekly downloads
52
License
MIT
Repository
github
Last release
10 months ago

pub-theme-doc

pub-server default theme with responsive sidebar.

npm.io

installation

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.

to customize the header text and github url

In pub-config set the following:

  • opts.docTitle and optionally opts.docSubTitle
  • opts.github

to customize the header content structure

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)

responsive view

On small screens, the navigation sidebar will be hidden, and appear when hovering over the navicon.

npm.io

credits

1.2.0

10 months ago

1.1.15

3 years ago

1.1.14

5 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

10 years ago

1.1.9

10 years ago

1.1.8

10 years ago

1.1.7

10 years ago

1.1.6

10 years ago

1.1.5

10 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago