Skip to content

Adding pkgdown site built by GHA - #1028

Merged
cderv merged 43 commits into
rstudio:masterfrom
apreshill:pkgdown-quillt
Feb 25, 2021
Merged

cderv merged 43 commits into
rstudio:masterfrom
apreshill:pkgdown-quillt

Conversation

@apreshill

@apreshill apreshill commented Nov 19, 2020 •

Copy link
Copy Markdown
Contributor

Leaving as a draft for now while we finalize the pkgdown template design (cc @cderv)

This site currently publishes to: https://pkgs.rstudio.com/bookdown/

The site is in the RStudio Netlify org.

To do before merging:

  1. Finalize pkgdown template (adding book to homepage, add examples, group reference page)

  2. Change the branch to deploy from in the GH action to master

  3. Add 2 secrets (NETLIFY_AUTH_TOKEN and NETLIFY_SITE_ID) to this repo. I don't have admin access to add myself.

  4. Add a code of conduct (required by Netlify's open source policy)

Note: we currently depend on the dev version of pkgdown to render NEWS.md correctly.

@CLAassistant

CLAassistant commented Nov 19, 2020 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Comment thread .gitignore Resolved
@cderv

cderv commented Feb 18, 2021

Copy link
Copy Markdown
Collaborator

This pkgdown website is now at the same state as the one for rmarkdown. It can be seen at https://pkgs.rstudio.com/bookdown/

What I did:

  • Add a bookdown.Rmd vignettes to use as Get Started
  • Modify _pkgdown.yml to be the same as in other repo
  • Updated README.md, CONTRIBUTING.md
  • Added the development version tooltip
  • Added blog post in NEWS section
  • Organized the topics for the reference page
  • Add an examples.Rmd: Idea is to have a page with more than a link to https://bookdown.org, so I used quillt::examples() by fetching the same books as the home page of bookdown.org. This would benefit an improvement in what the function can do to be better looking IMO.

What is left:

On difference to decide to change or not:

  • Bookdown have a NEWS file using the form CHANGES IN bookdown VERSION 0.22 - pkgdown was made compatible with that but it will look different on both site because rmarkdown uses the form rmarkdown 2.7. Should it be uniform ?

Waiting for thoughts and feedback on this. @apreshill you can take the lead on this now.

@cderv
cderv marked this pull request as ready for review February 18, 2021 18:01
@apreshill

Copy link
Copy Markdown
Contributor Author

Hi @cderv thank you! I just made a few small wording changes, LMK if all looks ok still from your perspective.

@cderv

cderv commented Feb 19, 2021

Copy link
Copy Markdown
Collaborator

I finished tweaking and checking. There is only a few pieces missing as said above.
We may need to select only a few books from the community for the examples sections instead of listing all ones from bookdown.org.

@yihui yihui left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have configured the secret env vars. Thanks!

Comment thread _pkgdown.yml Resolved
@cderv
cderv merged commit 32bba73 into rstudio:master Feb 25, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants