Skip to content

Commit

Permalink
chore: Tweak supplementary documentation building process
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorld committed Apr 16, 2020
1 parent 1ebd3cd commit b6306a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CONTRIBUTING
Rakefile
README.Rrst
README.rst
README.html
^\.appveyor\.yml$
^_pkgdown.yml$
^\.lintr$
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/.Rhistory
revdep
README.md
README.html
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ desc "Build files for packaging"
task :default do
sh 'Rscript -e "devtools::document()"'
sh 'Rscript -e "knitr::knit(\"README.Rrst\")"'
sh 'pandoc -o README.md README.rst'
sh 'rst2html README.rst README.html'
sh 'Rscript -e "pkgdown::build_site()"'
end

0 comments on commit b6306a1

Please sign in to comment.