Skip to content

Commit 35d44fa

Browse files
authored
Merge pull request #217 from SpatLyu/build_website_pkgdown2.1.0
Update pkgdown.yml and extra.css to ensure that the site rendering under pkgdown2.1.0 is the same as before
2 parents fa1c62b + 6eac7f0 commit 35d44fa

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
4242
- uses: r-lib/actions/setup-r-dependencies@v2
4343
with:
44-
extra-packages: local::., [email protected]
44+
extra-packages: any::pkgdown, local::.
4545
needs: website
4646

4747
- name: Deploy package

pkgdown/_pkgdown.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
url: https://r-spatial.github.io/qgisprocess
22
template:
33
bootstrap: 5
4+
bslib:
5+
pkgdown-navbar-bg: '#497d29'
46

57
navbar:
68
bg: custom
7-
structure:
8-
right: [github, twitter, linkedin]
9-
109
components:
1110
github:
1211
icon: fa-github
@@ -15,26 +14,26 @@ navbar:
1514

1615
reference:
1716
- title: "Discover and learn geoprocessing algorithms"
18-
- contents:
17+
contents:
1918
- has_concept("topics about information on algorithms & processing providers")
2019
- title: "Prepare special input arguments"
21-
- contents:
20+
contents:
2221
- has_concept("topics about preparing input values")
2322
- title: "Run geoprocessing algorithms"
24-
- contents:
23+
contents:
2524
- has_concept("functions to run one geoprocessing algorithm")
2625
- qgis_function
2726
- title: "Handle processing results"
28-
- contents:
27+
contents:
2928
- qgis_extract_output
3029
- qgis_clean_result
3130
- has_concept("main functions to access or manage processing results")
3231
- title: "Coerce processing output"
33-
- contents:
32+
contents:
3433
- has_concept("topics about coercing processing output")
3534
- title: "Explore and manage QGIS and qgisprocess state"
36-
- contents:
35+
contents:
3736
- has_concept("functions to manage and explore QGIS and qgisprocess")
3837
- title: "Programming and debugging"
39-
- contents:
38+
contents:
4039
- has_concept("topics about programming or debugging utilities")

pkgdown/extra.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ h1,h2,h3 {
1313
font-weight: bold;
1414
}
1515

16-
17-
.navbar-dark {
18-
background-color:#497d29;
19-
}
20-
21-
.navbar-dark input[type="search"] {
16+
.nav-item input[type="search"] {
2217
border-color: #6c757d;
2318
background-color: #ffffff;
2419
color: #212529;

0 commit comments

Comments
 (0)