NEWS.md
pkgdown
, formerly done via Travis CI (#28).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).title
field values that would require quoting or escaping (#23).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.order_by
in the gallery
site configuration allows specifying a set of fields the metadata should be ordered by (#15).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).menu_icon
or by defining the menu_entry
field with two components text
and icon
(#16).gallery_site()
generator now works with an empty list of metadata (#20).gallery_site()
generator now works when rmarkdown::render_site()
is called with any path to a directory containing the website sources (#11).type_field
in the gallery
site configuration (#10).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).defaults
field in the gallery
site configuration (#3).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.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).gallery_content()
function.