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

Feat/exclude qc from articles #51

Closed
wants to merge 3 commits into from

Conversation

ml-ebs-ext
Copy link
Contributor

@ml-ebs-ext ml-ebs-ext commented Feb 6, 2025

(DONT REVIEW / APPROVE / MERGE THIS THING UNTIL FURTHER NOTICE)

Running pkgdown::build_site() twice does the trick but it would potentially be slow for packages with a long reference.
That's why we run pkgdown::init() + pkgdown::build_article('qc').

Sadly, building that article requires that the package is installed because of a system.file() call inside of val_report_child.Rmd.

Sadlier, there is no way of telling pkgdown to do a dummy package installation through pkgdown::build_article(...), so we go ahead and just do a regular devtools::install() of the package.

Sadliest, since each rendered page has its own independent header, when you visit the Changelog section, the dropdown still includes the offending QC link because the file was there at the time of rendering:
image

I'm still doubting I should PR these changes...

@ml-ebs-ext ml-ebs-ext requested a review from zsigmas February 6, 2025 19:11
@ml-ebs-ext ml-ebs-ext closed this Feb 7, 2025
@ml-ebs-ext ml-ebs-ext deleted the feat/exclude_qc_from_articles branch February 7, 2025 17:45
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.

1 participant