Skip to content

Publish 0.2.0

Compare
Choose a tag to compare
@JohnSundell JohnSundell released this 03 Jan 23:05
· 65 commits to master since this release
105089c
  • When using the command line tool publish run, the local web server's address is now prefixed with http://, which enables you to click it to open your site in your web browser (by @slashmo). Also, if any error was encountered when starting that server, it's now reported to the user (by @camdeardorff).
  • Nested items are now generated at the correct path. So if you place a content item in Content/yourSection/path/to/item it will be generated at Output/yourSection/path/to/item (by @tonisuter).
  • You can now exclude an entire section from a website's sitemap.xml by including its path in excludedPaths (by @artrmz).
  • Plugins can now easily be added when using the default publishing pipeline, using the plugins: argument (by @slashmo).
  • RSS/podcast feeds are now only re-generated when their content was changed.
  • RSSFeedConfiguration and PodcastFeedConfiguration are now value types.
  • A podcast/RSS feed's publishing date can now be customized.
  • Attempting to publish a website with an empty pipeline now throws an error.
  • Publishing steps can now easily create and use cache files, using PublishingContext.cacheFile(named:).
  • Publish now uses version 0.4.0 of Plot.

Also thanks to @fbernutz, @danielmgauthier and @brettkoonce for fixing spelling errors in the documentation.