Skip to content

Commit

Permalink
update pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ThierryO committed Jul 19, 2024
1 parent 0f94a56 commit 7639962
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 36 deletions.
57 changes: 29 additions & 28 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
template:
bootstrap: 5
light-switch: false
opengraph:
image:
src: man/figures/hexsticker.png
Expand All @@ -9,22 +11,33 @@ template:
navbar:
title: ~
type: default
left:
- text: NEWS
href: news/index.html
- text: Tutorials
href: articles/index.html
- text: Functions
href: reference/index.html
- text: Contributing
href: CONTRIBUTING.html
right:
- icon: "fa fa-github"
href: https://github.com/inbo/checklist
- icon: "fa fa-twitter"
href: https://twitter.com/INBOVlaanderen
- icon: "fa fa-facebook"
href: https://www.facebook.com/pg/INBOVlaanderen
structure:
left: [intro, reference, news, tutorials, contributing]
right: [search, github]
components:
tutorials:
text: Tutorials
href: articles/index.html
menu:
- text: Philosophy of the checklist package
href: articles/philosophy.html
- text: Setting up checklist for a package
href: articles/getting_started.html
- text: Setting up checklist for a project
href: articles/getting_started_project.html
- text: Organisations
href: articles/organisation.html
- text: Spell checking with checklist
href: articles/spelling.html
- text: Recommended folder structure
href: articles/folder.html
- text: File paths in code
href: articles/path.html
- text: Setting up the integration between GitHub, Zenodo and ORCID
href: articles/zenodo.html
contributing:
text: Contributing
href: CONTRIBUTING.html

reference:
- title: Functions relevant for checking packages
Expand All @@ -47,18 +60,6 @@ reference:
contents:
- has_concept("utils")

articles:
- title: Getting started
contents:
- philosophy
- folder
- path
- getting_started
- getting_started_project
- spelling
- zenodo
- organisation

authors:
Thierry Onkelinx:
href: "https://www.muscardinus.be"
Expand Down
10 changes: 6 additions & 4 deletions inst/package_template/pkgdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ a:hover {
.navbar,
.label-default,
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
background-color: #356196;
background-color: #356196 !important;
}

.navbar-default .navbar-link,
.navbar-default .navbar-nav>li>a {
color: #ffffff;
.navbar,
.navbar-brand,
.nav-link,
.nav-text.text-muted {
color: #ffffff !important;
}

.nav-pills li.active>a, .nav-pills li>a:hover {
Expand Down
10 changes: 6 additions & 4 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ a:hover {
.navbar,
.label-default,
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
background-color: #356196;
background-color: #356196 !important;
}

.navbar-default .navbar-link,
.navbar-default .navbar-nav>li>a {
color: #ffffff;
.navbar,
.navbar-brand,
.nav-link,
.nav-text.text-muted {
color: #ffffff !important;
}

.nav-pills li.active>a, .nav-pills li>a:hover {
Expand Down

0 comments on commit 7639962

Please sign in to comment.