Skip to content

Commit 36bf8da

Browse files
committed
website React class warning fixed
1 parent a088e9b commit 36bf8da

File tree

7 files changed

+65
-2
lines changed

7 files changed

+65
-2
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ srcjs
99
vignettes
1010
FUNDING.yml
1111
.gitattributes
12+
^\.travis\.yml$
13+
^appveyor\.yml$

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
2+
3+
language: R
4+
cache: packages

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<!-- badges: start -->
2+
[![Travis build status](https://travis-ci.org/JohnCoene/grapher.svg?branch=master)](https://travis-ci.org/JohnCoene/grapher)
3+
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/JohnCoene/grapher?branch=master&svg=true)](https://ci.appveyor.com/project/JohnCoene/grapher)
24
<!-- badges: end -->
35

46
# grapher

appveyor.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# DO NOT CHANGE the "init" and "install" sections below
2+
3+
# Download script file from GitHub
4+
init:
5+
ps: |
6+
$ErrorActionPreference = "Stop"
7+
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
8+
Import-Module '..\appveyor-tool.ps1'
9+
10+
install:
11+
ps: Bootstrap
12+
13+
cache:
14+
- C:\RLibrary
15+
16+
environment:
17+
NOT_CRAN: true
18+
# env vars that may need to be set, at least temporarily, from time to time
19+
# see https://github.com/krlmlr/r-appveyor#readme for details
20+
# USE_RTOOLS: true
21+
# R_REMOTES_STANDALONE: true
22+
23+
# Adapt as necessary starting from here
24+
25+
build_script:
26+
- travis-tool.sh install_deps
27+
28+
test_script:
29+
- travis-tool.sh run_tests
30+
31+
on_failure:
32+
- 7z a failure.zip *.Rcheck\*
33+
- appveyor PushArtifact failure.zip
34+
35+
artifacts:
36+
- path: '*.Rcheck\**\*.log'
37+
name: Logs
38+
39+
- path: '*.Rcheck\**\*.out'
40+
name: Logs
41+
42+
- path: '*.Rcheck\**\*.fail'
43+
name: Logs
44+
45+
- path: '*.Rcheck\**\*.Rout'
46+
name: Logs
47+
48+
- path: '\*_*.tar.gz'
49+
name: Bits
50+
51+
- path: '\*_*.zip'
52+
name: Bits

docs/docs/install.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ title: Installation
44
sidebar_label: Installation
55
---
66

7+
[![Travis build status](https://travis-ci.org/JohnCoene/grapher.svg?branch=master)](https://travis-ci.org/JohnCoene/grapher)
8+
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/JohnCoene/grapher?branch=master&svg=true)](https://ci.appveyor.com/project/JohnCoene/grapher)
9+
710
grapher is not yet on [CRAN](https://cran.r-project.org/), it will have go through a thorough testing phase before being submitted. The code is hosted on [Github](http://github.com/JohnCoene/grapher) and can be installed using either `devtools` or `remotes`.
811

912
Some functions rely on Jeroen Ooms' [V8](https://github.com/jeroen/V8) package which requires Google's V8 JavaScript engine installed, the installation instructions are available in the [README of V8](https://github.com/jeroen/V8) and below. If you do not want to install V8 skip this step but that is not recommended.

docs/website/core/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Footer extends React.Component {
9595
</div>
9696
</section>
9797
<section className="copyright">
98-
<a class="github-button" href="https://github.com/sponsors/JohnCoene" data-icon="octicon-heart" aria-label="Sponsor @JohnCoene on GitHub">Sponsor</a>
98+
<a className="github-button" href="https://github.com/sponsors/JohnCoene" data-icon="octicon-heart" aria-label="Sponsor @JohnCoene on GitHub">Sponsor</a>
9999
<br/>
100100
{this.props.config.copyright}
101101
</section>

docs/website/pages/en/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class Index extends React.Component {
101101
contents={props.children}
102102
layout={props.layout}
103103
/>
104-
<div class="btnwrap">
104+
<div className="btnwrap">
105105
<a className="button" href='docs/get-started.md'>
106106
Get Started
107107
</a>

0 commit comments

Comments
 (0)