Skip to content

Releases: riccardoporreca/rmdgallery

rmdgallery 0.4.2

30 Oct 21:36
35add88
Compare
Choose a tag to compare

CI maintenance

  • Continuous Integration maintenance, based on simplified GitHub Actions workflows with special handling for macOS (#31).

Full Changelog: v0.4.1...v0.4.2

rmdgallery 0.4.1

01 Jul 06:18
451060b
Compare
Choose a tag to compare

CI maintenance

  • Continuous Integration maintenance, based on GitHub Actions only, now including code coverage and pkgdown, formerly done via Travis CI (#28).

rmdgallery 0.4.0

16 May 18:19
4426577
Compare
Choose a tag to compare

New features

  • A function site_path(), constructing paths relative to the site source directory, is now available when evaluating {{...}} expressions based on page-specific metadata and at rendering time (#25).

rmdgallery 0.3.1

04 May 13:25
1908541
Compare
Choose a tag to compare

rmdgallery 0.3.1

Patch release

  • The provided templates now support title field values that would require quoting or escaping (#23).

rmdgallery 0.3.0

15 Apr 21:47
6bddc27
Compare
Choose a tag to compare

New features

  • include_before and include_after in the gallery site configuration now define the path to a file with the included content (#14). The old inline content definition is still supported but triggers a deprecation warning.
  • A new field order_by in the gallery site configuration allows specifying a set of fields the metadata should be ordered by (#15).
  • A new metadata field page_name is included for each page, containing the name of the corresponding element in the metadata list eventually used for the resulting HTML page (#15).
  • Icons for the gallery navigation bar menu are now supported in the metadata, and specified as a new field menu_icon or by defining the menu_entry field with two components text and icon (#16).

Minor fix

  • The gallery_site() generator now works with an empty list of metadata (#20).

rmdgallery 0.2.2

30 Mar 21:54
a8ce294
Compare
Choose a tag to compare

Patch release

  • The gallery_site() generator now works when rmarkdown::render_site() is called with any path to a directory containing the website sources (#11).

rmdgallery 0.2.1

29 Mar 20:27
cae177f
Compare
Choose a tag to compare

Patch release

  • Fix handling of missing type_field in the gallery site configuration (#10).

rmdgallery 0.2.0

29 Mar 17:16
eff7a65
Compare
Choose a tag to compare

New features

  • Metadata in YAML format are now also supported (#2).
  • Custom page types are now supported as an alternative to the template field of the metadata. Page types are defined and mapped to actual templates in the gallery site configuration, using new fields type_field and type_template (#4).
  • Default values for unspecified fields in the metadata can now be defined using the new defaults field in the gallery site configuration (#3).

Maintenance

  • Updated package README to cover new features and point to branch develop for using the development version.
  • Extended test coverage for new as well as existing utilities.

rmdgallery 0.1.0

27 Mar 00:48
Compare
Choose a tag to compare

First versioned release

  • The package provides the gallery_site website generator to be used with rmarkdown::render_site(). This generates a simple R Markdown website including a gallery of pages with embedded content, based on metadata in JSON format and custom site configuration options.
  • Three templates are provided for including different content in gallery pages: embed-url (embed an external page given its URL), embed-html (include raw HTML for embedding arbitrary content), embed-script (generate embedded content by including JavaScript code).
  • Custom templates are supported and can be defined with the help of the provided gallery_content() function.
  • Usage and behavior extensively described in the package README.