Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use pkgdown defaults where possible and modernize custom navbar specs #499

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

cjyetman
Copy link
Member

prompted by trying to fix the navbar text showing in black instead of white as with the RMI template (which this does seem to fix)

This pkgdown config must have been written before pkgdwon used the modern navbar > structure and navbar > components properties to customize the navbar. Additionally, pkgdown (now?) has default navbar items that can be used/placed in the structure without having to explicitly define them in the components section, which this leverages to reduce complexity and allow things to be automatically defined.

The "Articles" menu was explicitly defined only pointing to two specific vignettes (ignoring any others). I maintained this behavior, but I suggest that this may not be ideal.

The "News" menu was customized to include a link to the "r2dii blog" which is still just a template with no actual content. I maintained this behavior, but I suggest that this may not be ideal.

@cjyetman cjyetman merged commit 058260d into main Aug 26, 2024
33 checks passed
@cjyetman cjyetman deleted the modernize-pkgdown-navbar-spec branch August 26, 2024 12:49
cjyetman added a commit to RMI-PACTA/r2dii.data that referenced this pull request Aug 26, 2024
cjyetman added a commit to RMI-PACTA/r2dii.analysis that referenced this pull request Aug 26, 2024
cjyetman added a commit to RMI-PACTA/r2dii.analysis that referenced this pull request Aug 26, 2024
cjyetman added a commit to RMI-PACTA/r2dii.data that referenced this pull request Aug 26, 2024
* Update _pkgdown.yml

modernizing pkgdown config in line with:
- RMI-PACTA/r2dii.match#499
- RMI-PACTA/r2dii.match#500
- RMI-PACTA/r2dii.match#502
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants