Skip to content

Commit ef37e2b

Browse files
cdervlionel-
authored andcommitted
Add a pkgdown website (#70)
Closes #69
1 parent 1eb4599 commit ef37e2b

File tree

5 files changed

+44
-13
lines changed

5 files changed

+44
-13
lines changed

.Rbuildignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@
77
^revdep
88
^vdiffr.Rproj$
99
^CRAN-RELEASE$
10+
^_pkgdown\.yml$
11+
^docs$
12+
^pkgdown$

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
revdep/checks
55
revdep/library
66
src-i386/
7-
src-x64/
7+
src-x64/
8+
docs/

.travis.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
22

3-
language: r
4-
sudo: false
3+
language: R
54
cache: packages
65

76
matrix:
87
include:
9-
- r: oldrel
10-
- r: release
11-
env: R_CODECOV=true
12-
- r: devel
13-
- os: osx
14-
osx_image: xcode7.2
15-
latex: false
16-
17-
after_success:
18-
- if [[ "${R_CODECOV}" ]]; then R -e 'covr::codecov()'; fi
8+
- r: devel
9+
- r: release
10+
after_success:
11+
- Rscript -e 'covr::codecov()'
12+
before_cache:
13+
- Rscript -e 'remotes::install_cran("pkgdown")'
14+
deploy:
15+
provider: script
16+
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
17+
skip_cleanup: true
18+
- r: oldrel
19+
- r: 3.4
20+
- r: 3.3
21+
- r: 3.2
22+
- os: osx
23+
osx_image: xcode7.2
24+
latex: false

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11

22
# vdiffr
33

4+
<!-- badges: start -->
45
[![Travis Build Status](https://travis-ci.org/r-lib/vdiffr.svg?branch=master)](https://travis-ci.org/r-lib/vdiffr)
56
[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/github/r-lib/vdiffr?branch=master&svg=true)](https://ci.appveyor.com/project/r-lib/vdiffr)
7+
[![Codecov test coverage](https://codecov.io/gh/r-lib/vdiffr/branch/master/graph/badge.svg)](https://codecov.io/gh/r-lib/vdiffr?branch=master)
8+
[![CRAN status](https://www.r-pkg.org/badges/version/vdiffr)](https://cran.r-project.org/package=vdiffr)
9+
<!-- badges: end -->
610

711
vdiffr is an extension to the package testthat that makes it easy to
812
test for visual regressions. It provides a Shiny app to manage failed

_pkgdown.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
url: https://vdiffr.r-lib.org
2+
destination: docs
3+
4+
navbar:
5+
structure:
6+
left: [home, reference, news]
7+
right: [github]
8+
components:
9+
news:
10+
text: News
11+
menu:
12+
- text: "Release notes"
13+
- text: "Version 0.3.0"
14+
href: https://www.tidyverse.org/articles/2019/01/vdiffr-0-3-0/
15+
- text: "------------------"
16+
- text: "Change log"
17+
href: news/index.html

0 commit comments

Comments
 (0)