Skip to content
Compare
Choose a tag to compare
@dotcomboom dotcomboom released this 11 Jan 23:05
· 1 commit to master since this release

This release improves parity with AutoSite's Apricot engine. Sites that have been made in that version of the program should now build correctly under AutoSite Legacy.

  • The pages/ directory is now used, rather than in/. (Keep this in mind when compiling old sites!)
  • modified attribute [#modified#] has been added. By default, the modified date is displayed in YYYY-MM-DD format, but this can be adjusted at build time with --modified. strftime format is followed, see here for a reference or check --help.
  • -s or --silent is now the preferred option for building without console output (-q still works)
  • Special attributes such as modified and root are set before user-defined ones. This means they can be overridden if necessary.
  • Conditional text has been reworked such that checking for emptiness now works as it does in Apricot.

PyPI release is coming soon as of writing, as well as pyinstaller binaries. These don't require an installation of python or through pip.

Installing manually: Install with pip3 install . or pip install . in the source directory depending on your platform. Make sure your PATH is set up to run autosite (pip will likely take care of this for you, but will let you know if manual changes need to be made)! Alternatively, run python3 -m AutoSite or python -m AutoSite where you wish to build.

Known issues

  • Markdown: attributes in links are escaped, so [#root#] for example will not work in paths.