Modernise greta.pkgdown to a Bootstrap 5 template package - #1
Merged
Conversation
Restructure greta.pkgdown into a standard Bootstrap 5 pkgdown template package following the tidyverse/tidytemplate layout. The shared greta theme now lives in inst/pkgdown/BS5/: - _pkgdown.yml: shared template block (bslib purple #A379CC, tinted code background, Roboto/Roboto Mono) plus opengraph and a shared forum navbar component. - extra.scss: shared navbar and code chrome, plus opt-in home-page scaffolding. - templates/navbar.html: wordmark-in-navbar override. - assets/name_icon_on_white.png: default navbar wordmark. Remove the dead fork-era templates (content-*, layout-home, footer, navbar) and pkgdown.css. Fix DESCRIPTION (Language es -> en-GB, new Title/Description, URL/BugReports, version 0.1.0). Self-host the site with template: package: greta.pkgdown and drop greta-stats.org/twitter references. Refresh the pkgdown workflow to the r-lib v2 action deploying to gh-pages, and document how greta packages consume the template in index.md/README.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restructures greta.pkgdown into a standard Bootstrap 5 pkgdown template package (tidytemplate model), so greta packages can inherit a shared theme via
template: package: greta.pkgdown.inst/pkgdown/BS5/: shared_pkgdown.yml(bslib purple#A379CC, Roboto, opengraph),extra.scss,templates/navbar.htmlwordmark override, and a defaultname_icon_on_white.png. The theme is lifted read-only from greta's livepkgdown/config.pkgdown.cssand the sevencontent-*/layout-home/footer/navbartemplates).Language: es→en-GB, new Title/Description, URL/BugReports, version 0.1.0), self-hosts the site withtemplate: package: greta.pkgdown, drops greta-stats.org/twitter links, refreshes the pkgdown workflow to the r-lib v2 gh-pages action, and documents usage in index.md/README.Next: validate on an extension (e.g. greta.dynamics), then migrate greta itself.