Publican documentation theme
This is a Publican documentation theme you can adapt or use as-is. Get started…
Documentation features #
The theme provides a high-performance, lightweight, HTML-first static site with:
- example content sections and pages
- a full search facility
- paginated tag lists
- a responsive mobile-first layout
- a light/dark theme switcher
- lightweight social sharing buttons
- SEO meta tags, schema.org, and Open Graph structured data
- syntax color coding
- text and XML sitemaps
- a robots.txt file pointing to the sitemaps
- a website manifest
- minimal unminified CSS and JavaScript
- speculation rules for fast page loads
- printer-friendly layout
- strict Content Security Policy settings to prevent malicious attacks
Developer experience #
The site builds in less than a second and provides:
- easy configuration with
.envfiles - markdown content
- fast build times and file watch mode
- development mode with a localhost server and hot reloading
- production mode with HTML minification
- simple HTML templates with JavaScript
${ expressions }(jsTACS template engine) - function libraries to build navigation menus and format values
- a Node.js only solution with minimal requirements