Skip to content

Commit bff826a

Browse files
authored
./docs v2.0.2 (#580)
* display which file is being produced * force only one file to be processed at a time. race case with htmldeps folders * remove duplicated R code in .Rprofile * compile
1 parent 288327d commit bff826a

24 files changed

+1134
-25
lines changed

docs/.Rprofile

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ html: $(HTML_FILES)
1717
clean:
1818
$(RM) $(HTML_FILES)
1919
$(RM) -r libs examples/libs
20-

docs/basemaps.html

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@
100100
.tabbed-pane {
101101
padding-top: 12px;
102102
}
103+
.html-widget {
104+
margin-bottom: 20px;
105+
}
103106
button.code-folding-btn:focus {
104107
outline: none;
105108
}
@@ -110,18 +113,78 @@
110113
<div class="container-fluid main-container">
111114

112115
<!-- tabsets -->
116+
117+
<style type="text/css">
118+
.tabset-dropdown > .nav-tabs {
119+
display: inline-table;
120+
max-height: 500px;
121+
min-height: 44px;
122+
overflow-y: auto;
123+
background: white;
124+
border: 1px solid #ddd;
125+
border-radius: 4px;
126+
}
127+
128+
.tabset-dropdown > .nav-tabs > li.active:before {
129+
content: "";
130+
font-family: 'Glyphicons Halflings';
131+
display: inline-block;
132+
padding: 10px;
133+
border-right: 1px solid #ddd;
134+
}
135+
136+
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
137+
content: "&#xe258;";
138+
border: none;
139+
}
140+
141+
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
142+
content: "";
143+
font-family: 'Glyphicons Halflings';
144+
display: inline-block;
145+
padding: 10px;
146+
border-right: 1px solid #ddd;
147+
}
148+
149+
.tabset-dropdown > .nav-tabs > li.active {
150+
display: block;
151+
}
152+
153+
.tabset-dropdown > .nav-tabs > li > a,
154+
.tabset-dropdown > .nav-tabs > li > a:focus,
155+
.tabset-dropdown > .nav-tabs > li > a:hover {
156+
border: none;
157+
display: inline-block;
158+
border-radius: 4px;
159+
}
160+
161+
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
162+
display: block;
163+
float: none;
164+
}
165+
166+
.tabset-dropdown > .nav-tabs > li {
167+
display: none;
168+
}
169+
</style>
170+
113171
<script>
114172
$(document).ready(function () {
115173
window.buildTabsets("TOC");
116174
});
175+
176+
$(document).ready(function () {
177+
$('.tabset-dropdown > .nav-tabs > li').click(function () {
178+
$(this).parent().toggleClass('nav-tabs-open')
179+
});
180+
});
117181
</script>
118182

119183
<!-- code folding -->
120184

121185

122186

123187

124-
125188
<style type="text/css">
126189
body {
127190
padding-top: 20px;

docs/choropleths.html

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@
100100
.tabbed-pane {
101101
padding-top: 12px;
102102
}
103+
.html-widget {
104+
margin-bottom: 20px;
105+
}
103106
button.code-folding-btn:focus {
104107
outline: none;
105108
}
@@ -110,18 +113,78 @@
110113
<div class="container-fluid main-container">
111114

112115
<!-- tabsets -->
116+
117+
<style type="text/css">
118+
.tabset-dropdown > .nav-tabs {
119+
display: inline-table;
120+
max-height: 500px;
121+
min-height: 44px;
122+
overflow-y: auto;
123+
background: white;
124+
border: 1px solid #ddd;
125+
border-radius: 4px;
126+
}
127+
128+
.tabset-dropdown > .nav-tabs > li.active:before {
129+
content: "";
130+
font-family: 'Glyphicons Halflings';
131+
display: inline-block;
132+
padding: 10px;
133+
border-right: 1px solid #ddd;
134+
}
135+
136+
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
137+
content: "&#xe258;";
138+
border: none;
139+
}
140+
141+
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
142+
content: "";
143+
font-family: 'Glyphicons Halflings';
144+
display: inline-block;
145+
padding: 10px;
146+
border-right: 1px solid #ddd;
147+
}
148+
149+
.tabset-dropdown > .nav-tabs > li.active {
150+
display: block;
151+
}
152+
153+
.tabset-dropdown > .nav-tabs > li > a,
154+
.tabset-dropdown > .nav-tabs > li > a:focus,
155+
.tabset-dropdown > .nav-tabs > li > a:hover {
156+
border: none;
157+
display: inline-block;
158+
border-radius: 4px;
159+
}
160+
161+
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
162+
display: block;
163+
float: none;
164+
}
165+
166+
.tabset-dropdown > .nav-tabs > li {
167+
display: none;
168+
}
169+
</style>
170+
113171
<script>
114172
$(document).ready(function () {
115173
window.buildTabsets("TOC");
116174
});
175+
176+
$(document).ready(function () {
177+
$('.tabset-dropdown > .nav-tabs > li').click(function () {
178+
$(this).parent().toggleClass('nav-tabs-open')
179+
});
180+
});
117181
</script>
118182

119183
<!-- code folding -->
120184

121185

122186

123187

124-
125188
<style type="text/css">
126189
body {
127190
padding-top: 20px;

docs/colors.html

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@
9898
.tabbed-pane {
9999
padding-top: 12px;
100100
}
101+
.html-widget {
102+
margin-bottom: 20px;
103+
}
101104
button.code-folding-btn:focus {
102105
outline: none;
103106
}
@@ -108,18 +111,78 @@
108111
<div class="container-fluid main-container">
109112

110113
<!-- tabsets -->
114+
115+
<style type="text/css">
116+
.tabset-dropdown > .nav-tabs {
117+
display: inline-table;
118+
max-height: 500px;
119+
min-height: 44px;
120+
overflow-y: auto;
121+
background: white;
122+
border: 1px solid #ddd;
123+
border-radius: 4px;
124+
}
125+
126+
.tabset-dropdown > .nav-tabs > li.active:before {
127+
content: "";
128+
font-family: 'Glyphicons Halflings';
129+
display: inline-block;
130+
padding: 10px;
131+
border-right: 1px solid #ddd;
132+
}
133+
134+
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
135+
content: "&#xe258;";
136+
border: none;
137+
}
138+
139+
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
140+
content: "";
141+
font-family: 'Glyphicons Halflings';
142+
display: inline-block;
143+
padding: 10px;
144+
border-right: 1px solid #ddd;
145+
}
146+
147+
.tabset-dropdown > .nav-tabs > li.active {
148+
display: block;
149+
}
150+
151+
.tabset-dropdown > .nav-tabs > li > a,
152+
.tabset-dropdown > .nav-tabs > li > a:focus,
153+
.tabset-dropdown > .nav-tabs > li > a:hover {
154+
border: none;
155+
display: inline-block;
156+
border-radius: 4px;
157+
}
158+
159+
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
160+
display: block;
161+
float: none;
162+
}
163+
164+
.tabset-dropdown > .nav-tabs > li {
165+
display: none;
166+
}
167+
</style>
168+
111169
<script>
112170
$(document).ready(function () {
113171
window.buildTabsets("TOC");
114172
});
173+
174+
$(document).ready(function () {
175+
$('.tabset-dropdown > .nav-tabs > li').click(function () {
176+
$(this).parent().toggleClass('nav-tabs-open')
177+
});
178+
});
115179
</script>
116180

117181
<!-- code folding -->
118182

119183

120184

121185

122-
123186
<style type="text/css">
124187
body {
125188
padding-top: 20px;

docs/compile.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
cat("\n\n\n\n\n\n\n\n\n", commandArgs(TRUE), "\n")
12
set.seed(0102)
23
options(htmlwidgets.TOJSON_ARGS = list(pretty = TRUE))
34
Sys.setenv(R_KNITR_OPTIONS = 'knitr.chunk.tidy = FALSE')
@@ -17,4 +18,4 @@ i = duplicated(v2)
1718
unlink(c(v1[i], v2), recursive = TRUE)
1819
file.rename(v1[!i], v2[!i])
1920
writeLines(x, f)
20-
21+
invisible(TRUE)

docs/extending.html

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@
9999
.tabbed-pane {
100100
padding-top: 12px;
101101
}
102+
.html-widget {
103+
margin-bottom: 20px;
104+
}
102105
button.code-folding-btn:focus {
103106
outline: none;
104107
}
@@ -109,18 +112,78 @@
109112
<div class="container-fluid main-container">
110113

111114
<!-- tabsets -->
115+
116+
<style type="text/css">
117+
.tabset-dropdown > .nav-tabs {
118+
display: inline-table;
119+
max-height: 500px;
120+
min-height: 44px;
121+
overflow-y: auto;
122+
background: white;
123+
border: 1px solid #ddd;
124+
border-radius: 4px;
125+
}
126+
127+
.tabset-dropdown > .nav-tabs > li.active:before {
128+
content: "";
129+
font-family: 'Glyphicons Halflings';
130+
display: inline-block;
131+
padding: 10px;
132+
border-right: 1px solid #ddd;
133+
}
134+
135+
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
136+
content: "&#xe258;";
137+
border: none;
138+
}
139+
140+
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
141+
content: "";
142+
font-family: 'Glyphicons Halflings';
143+
display: inline-block;
144+
padding: 10px;
145+
border-right: 1px solid #ddd;
146+
}
147+
148+
.tabset-dropdown > .nav-tabs > li.active {
149+
display: block;
150+
}
151+
152+
.tabset-dropdown > .nav-tabs > li > a,
153+
.tabset-dropdown > .nav-tabs > li > a:focus,
154+
.tabset-dropdown > .nav-tabs > li > a:hover {
155+
border: none;
156+
display: inline-block;
157+
border-radius: 4px;
158+
}
159+
160+
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
161+
display: block;
162+
float: none;
163+
}
164+
165+
.tabset-dropdown > .nav-tabs > li {
166+
display: none;
167+
}
168+
</style>
169+
112170
<script>
113171
$(document).ready(function () {
114172
window.buildTabsets("TOC");
115173
});
174+
175+
$(document).ready(function () {
176+
$('.tabset-dropdown > .nav-tabs > li').click(function () {
177+
$(this).parent().toggleClass('nav-tabs-open')
178+
});
179+
});
116180
</script>
117181

118182
<!-- code folding -->
119183

120184

121185

122186

123-
124187
<style type="text/css">
125188
body {
126189
padding-top: 20px;

0 commit comments

Comments
 (0)