refresh.site: Refresh all posts and pages if : - layouts newer than any...

Description Usage Arguments Value

View source: R/engine.R

Description

Refresh all posts and pages if : - layouts newer than any html files : rebuild everything - DONE - no corresponding html for source OR source newer than html file : build - html files with no source : delete html - otherwise do nothing and return false todo - Error testing

Usage

1
2
  refresh.site(site, site.state, post.layout, tag.layout,
    fig.path, includetags)

Arguments

site

Absolute path to your Samatha site

site.state

The value of get.site.state(site): modification times for elements of the site

post.layout

The name of the layout file used to render posts

tag.layout

The name of the layout file used to render subject tags

fig.path

name of the directory in the site where figures (particularly R charts etc.) are to be kept

Value

logical TRUE if site has been updated, FALSE otherwise


DASpringate/samatha documentation built on May 6, 2019, 1:16 p.m.