Hindsite Change Log
See the Github commit logs for a full list of changes.
Version 2.0.2 (2022-07-30)
- Upgrade go-rimu dependency.
Version 2.0.1 (2022-05-30)
- Upgrade dependencies.
Version 2.0.0 (2022-05-29)
Major new features
- A built-in lint checker for validating generated webpages.
- New command-line options:
-site,-config,-var,-keep,-lint,-from - Command-line configuration files and configuration variables.
- Added the
docsbuilt-in site template for building documentation sites. The Hindsite documentation is based on thedocstemplate. - Expanded documentation
- Enhanced
helpcommand.
Upgrading from version 1 to version 2
See the BREAKING CHANGE items in the details below.
Details
- Added server I (Info) keyboard command.
- BREAKING CHANGE: Automated
urlprefixinjection so that it's no longer necessary to explicitly prefix document and template root-relative URLs. - Added the
-keepcommand-line option tobuildandservecommands. - Added the
-config CONFIG_FILEcommand-line option which augments the site root configuration. - Added the
-from SOURCEcommand-line option to the new command which sets the name of the document initialisation template file. - Added common
-var NAME=VALUEcommand-line option to set root configuration variables. - Added optional
COMMANDparameter to the help command. IfCOMMANDis specified the command topic on the Hindsite documentation website is opened in the default web browser. - BREAKING CHANGE: Added
-site SITE_DIRoption (the previous optional leadingSITE_DIRargument syntax is deprecated). Use of the version 1 syntax will usually generate ato many command argumentserror. - Added
-lintoption to build and serve commands to perform validity checks on the generated HTML document files. - BREAKING CHANGE: The
templatesconfiguration variable has been extended to include file pattern (previously it only accepted file name extensions). For example the Hindsite version 1 templates configuration value.css|.html|.js|.mdwould become*.css|*.html|*.js|*.mdin Hindsite version 2. - BREAKING CHANGE: The
exclude/includeconfiguration variables only apply to the content directory (previously applied to both content and template directories). - BREAKING CHANGE: Replaced
initcommand-builtinoption with the mandatory-fromoption. The semantics differ in that-fromcan specify the location of a non-builtin template — previously the-templateoption was used which was confusing and less flexible). - Add built-in docs site template.
- Rename built-in minimal site template to hello.
- Add help to hindsite
servecommand: prints help if any key other than the R, D, N keys are entered while the serve command is running. - Add Rimu CSS admonition classes to Hindsite built-in templates and documentation website.
- Refactor project directories layout.
Version 1.4.1 (2021-08-22)
- Refactor project directories layout.
- Upgrade dependencies.
- Migrate from the
go-bindatatool to the Goembedpackage for embedded data.
Version 1.4.0 (2018-12-10)
- Hindsite projects are now called sites. The word site is more descriptive and less generic than project.
- Added the
newcommand which is used to create new content documents. - The hindsite site directory command argument
(
SITE_DIR) is optional and defaults to the current directory. - Added
servecommand-navigateoption to automatically navigate to new and updated documents. - Extended
servecommand-port [HTTP_PORT][:LR_PORT]option to allow LiveReload port to be specified as well as LiveReload to be disabled. - Added
servecommandDandNinteractive commands to toggle server-draftsand-navigateoptions respectively.
Version 1.3.0 (2018-11-11)
- Allow unquoted date/time front matter
datevalues in TOML headers. - Added site search to built-in blog template.
- Additional tests (80.3% coverage).
- Migrated to Go 1.11 modules.
Version 1.2.0 (2018-07-03)
- The
servecommand now displays a sensible error message if the server port is already in use. initcommand behavioral change: If the-template TEMPLATE_DIRoption specifies a location outside the site directory and the defaultSITE_DIR/templatedirectory does not exist or is empty then theTEMPLATE_DIRis copied toSITE_DIR/template.- Implemented code coverage tests.
Version 1.1.0 (2018-06-23)
- Added document
idfront matter value along with the relatedidconfiguration parameter. - Colorized console error and success messages.
- Better error messages.
- Added Disqus FAQ.
- The
buildcommand now reports parse errors from all documents instead of quitting at the first error.
Version 1.0.0 (2018-05-20)
First public release.