Skip to content

Commit 714063c

Browse files
committed
Update pkgdown
1 parent ca0f3ed commit 714063c

33 files changed

+568
-355
lines changed

_pkgdown.yml

+3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ reference:
2929
- fct_anon
3030
- fct_collapse
3131
- fct_lump
32+
- fct_other
3233
- fct_recode
34+
- fct_relabel
3335

3436
- title: Add new levels
3537
desc: >
@@ -40,6 +42,7 @@ reference:
4042

4143
- title: Other helpers
4244
contents:
45+
- as_factor
4346
- fct_c
4447
- fct_count
4548
- fct_unify

docs/articles/index.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/releases/forcats-0.1.0.html

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Loading
Loading

docs/index.html

+3-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/news/index.html

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pkgdown.css

+54-37
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ img.icon {
55
height: 30px;
66
}
77

8+
body {font-size: 16px;}
9+
h1 {font-size: 40px;}
10+
h2 {font-size: 30px;}
11+
812
/* Fixes for fixed navbar --------------------------*/
913

1014
body {
@@ -19,6 +23,20 @@ body {
1923

2024
.page-header {
2125
margin-top: 0;
26+
margin-bottom: 10px;
27+
padding-bottom: 0px;
28+
}
29+
30+
/* Static header placement on mobile devices */
31+
@media (max-width: 767px) {
32+
.navbar-fixed-top {
33+
position: absolute;
34+
}
35+
}
36+
37+
.navbar-toggle {
38+
margin-top: 8px;
39+
margin-bottom: 5px;
2240
}
2341

2442
/* Table of contents --------------------------*/
@@ -46,30 +64,40 @@ body {
4664
color: #777;
4765
}
4866

49-
5067
/* Syntax highlighting ---------------------------------------------------- */
5168

52-
.fl,.number {color:rgb(21,20,181);}
53-
.fu,.functioncall {color:#264D66 ;}
54-
.ch,.st,.string {color:#375D81 ;}
55-
.kw,.keyword {font-weight:600;}
56-
.argument {color:#264D66 ;}
57-
.co,.comment {color: #333;}
58-
.formalargs {color: #264D66;}
59-
.eqformalargs {color:#264D66;}
60-
.slot {font-style:italic;}
61-
.symbol {color:black ;}
62-
.prompt {color:black ;}
69+
pre {
70+
word-wrap: normal;
71+
word-break: normal;
72+
border: none;
73+
}
6374

64-
pre a {
65-
font-weight: bolder;
75+
pre, code {
76+
background-color: #fafafa;
77+
color: #000000;
78+
-webkit-font-smoothing: subpixel-antialiased;
6679
}
6780

6881
pre img {
6982
background-color: #fff;
7083
display: block;
7184
}
7285

86+
code a, pre a {
87+
color: #375f84;
88+
}
89+
90+
.fl {color: #1514b5;}
91+
.fu {color: #000000;} /* function */
92+
.ch,.st {color: #036a07;} /* string */
93+
.kw {color: #264D66;} /* keyword */
94+
.co {color: #777777;} /* comment */
95+
96+
.message { color: black; font-weight: bolder;}
97+
.error { color: orange; font-weight: bolder;}
98+
.warning { color: orange; font-weight: normal;}
99+
100+
73101
/* Status --------------------------- */
74102

75103
.status-container {
@@ -100,26 +128,22 @@ pre img {
100128
}
101129
*/
102130

131+
/* Reference index & topics ----------------------------------------------- */
103132

104-
/* For reference topics listing ------- */
105-
106-
.section {
107-
margin-bottom: 24px;
108-
}
133+
.ref-index th {font-weight: normal;}
134+
.ref-index h2 {font-size: 20px;}
109135

110-
.topic p {
111-
font-size: 16px;
112-
margin-bottom: 0;
113-
}
136+
.ref-index td {vertical-align: top;}
137+
.ref-index .alias {width: 40%;}
138+
.ref-index .title {width: 60%;}
114139

115-
.topic ul {
116-
padding-top: 0;
117-
list-style-type: square;
118-
}
140+
.ref-index .alias {width: 40%;}
141+
.ref-index .title {width: 60%;}
119142

120-
.topic li a {
121-
color: inherit;
122-
}
143+
.ref-arguments th {text-align: right; padding-right: 10px;}
144+
.ref-arguments th, .ref-arguments td {vertical-align: top;}
145+
.ref-arguments .name {width: 10%;}
146+
.ref-arguments .desc {width: 90%;}
123147

124148
/* For the rstudio footer ------- */
125149

@@ -142,13 +166,6 @@ footer .author {
142166
text-align: right;
143167
}
144168

145-
/* --------------------- darken code link color */
146-
147-
code a {
148-
color: #375f84;
149-
font-weight: 600;
150-
}
151-
152169
/* ---------------------- hover anchor tags */
153170

154171
.hasAnchor {

docs/reference/as_factor.html

+12-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/fct_anon.html

+12-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/fct_c.html

+12-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/fct_collapse.html

+13-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)