-
Notifications
You must be signed in to change notification settings - Fork 358
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
Allow user to change bookdown::gitbook() options #84
Conversation
I'm working on a way to fix Note2, it will be done soon |
I made a mistake with the different level of list but it's fixed now (with a totally different approach). You can try with these options
Sorry to have done it in several PR :/ |
Thanks! I’ve been meaning to do this for awhile. I’ll try to review over the next week. |
* Add hadamardown template (#67) * Add hadamardown * Update documentation * Update DESCRIPTION * Switch to PDF by default * Update README.md * Update README.md * updates README.md (#78) * updates README.md * changes dependencies from devtools to remotes. * Update template.tex (#79) * Add link to amsterdown pkg in README (#80) * Fixed broken URLs and added few more (#85) * Fixed broken URLs and added few more * Reversed a URL change for markdown cheatsheet I moved the Rmakrdown Cheatsheet under R Markdown and reversed the modification of the Markdown Cheatsheet. * Allow user to change bookdown::gitbook() options (#84) * Add ... * Allow user to change "before" and "after" toc arguments * Pass all type of option and sub-options to bookdown::gitbook Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> Co-authored-by: Leon Reteig <35737105+lcreteig@users.noreply.github.com> Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
* Tweak phrasing * Updates (#68) * Add hadamardown template (#67) * Add hadamardown * Update documentation * Update DESCRIPTION Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> * update (#88) * Add hadamardown template (#67) * Add hadamardown * Update documentation * Update DESCRIPTION * Switch to PDF by default * Update README.md * Update README.md * updates README.md (#78) * updates README.md * changes dependencies from devtools to remotes. * Update template.tex (#79) * Add link to amsterdown pkg in README (#80) * Fixed broken URLs and added few more (#85) * Fixed broken URLs and added few more * Reversed a URL change for markdown cheatsheet I moved the Rmakrdown Cheatsheet under R Markdown and reversed the modification of the Markdown Cheatsheet. * Allow user to change bookdown::gitbook() options (#84) * Add ... * Allow user to change "before" and "after" toc arguments * Pass all type of option and sub-options to bookdown::gitbook Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> Co-authored-by: Leon Reteig <35737105+lcreteig@users.noreply.github.com> Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com> * Fix Package Fancyhdr Warning: \headheight is too small (12.0pt): Make it at least 14.49998pt. * Fix abstract messing up bib findings/fix spacing * Move preliminary content to their own folder * Start using {here} * Apply {styler} / Can't use rmd_files with {thesisdown} in _bookdown.yml * Remove extra line Co-authored-by: Chester Ismay <chester.ismay@datarobot.com> Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> Co-authored-by: Leon Reteig <35737105+lcreteig@users.noreply.github.com> Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
* Tweak phrasing * Updates (#68) * Add hadamardown template (#67) * Add hadamardown * Update documentation * Update DESCRIPTION Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> * update (#88) * Add hadamardown template (#67) * Add hadamardown * Update documentation * Update DESCRIPTION * Switch to PDF by default * Update README.md * Update README.md * updates README.md (#78) * updates README.md * changes dependencies from devtools to remotes. * Update template.tex (#79) * Add link to amsterdown pkg in README (#80) * Fixed broken URLs and added few more (#85) * Fixed broken URLs and added few more * Reversed a URL change for markdown cheatsheet I moved the Rmakrdown Cheatsheet under R Markdown and reversed the modification of the Markdown Cheatsheet. * Allow user to change bookdown::gitbook() options (#84) * Add ... * Allow user to change "before" and "after" toc arguments * Pass all type of option and sub-options to bookdown::gitbook Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> Co-authored-by: Leon Reteig <35737105+lcreteig@users.noreply.github.com> Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com> * Fix Package Fancyhdr Warning: \headheight is too small (12.0pt): Make it at least 14.49998pt. * Fix abstract messing up bib findings/fix spacing * Move preliminary content to their own folder * Start using {here} * Apply {styler} / Can't use rmd_files with {thesisdown} in _bookdown.yml * Remove extra line * Switch to https from http * Add License, update dev version, clean up dependencies * Update documentation * Clean up Rmds * Reduce size of data * Tweak package definition in R file * Add {usethis} commands for setup * Move pictures to images folder * Add hex to README * Add pkgdown build to docs * Update NEWS for 0.1.0 Co-authored-by: Chester Ismay <chester.ismay@datarobot.com> Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> Co-authored-by: Leon Reteig <35737105+lcreteig@users.noreply.github.com> Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
* Tweak phrasing * Updates (#68) * Add hadamardown template (#67) * Add hadamardown * Update documentation * Update DESCRIPTION Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> * update (#88) * Add hadamardown template (#67) * Add hadamardown * Update documentation * Update DESCRIPTION * Switch to PDF by default * Update README.md * Update README.md * updates README.md (#78) * updates README.md * changes dependencies from devtools to remotes. * Update template.tex (#79) * Add link to amsterdown pkg in README (#80) * Fixed broken URLs and added few more (#85) * Fixed broken URLs and added few more * Reversed a URL change for markdown cheatsheet I moved the Rmakrdown Cheatsheet under R Markdown and reversed the modification of the Markdown Cheatsheet. * Allow user to change bookdown::gitbook() options (#84) * Add ... * Allow user to change "before" and "after" toc arguments * Pass all type of option and sub-options to bookdown::gitbook Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> Co-authored-by: Leon Reteig <35737105+lcreteig@users.noreply.github.com> Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com> * Fix Package Fancyhdr Warning: \headheight is too small (12.0pt): Make it at least 14.49998pt. * Fix abstract messing up bib findings/fix spacing * Move preliminary content to their own folder * Start using {here} * Apply {styler} / Can't use rmd_files with {thesisdown} in _bookdown.yml * Remove extra line * Switch to https from http * Add License, update dev version, clean up dependencies * Update documentation * Clean up Rmds * Reduce size of data * Tweak package definition in R file * Add {usethis} commands for setup * Move pictures to images folder * Add hex to README * Add pkgdown build to docs * Update NEWS for 0.1.0 * Add /docs/ to git (Will use GitHub Actions to build pkgdown down the road) Co-authored-by: Chester Ismay <chester.ismay@datarobot.com> Co-authored-by: Antoine Bichat <30300749+abichat@users.noreply.github.com> Co-authored-by: Leon Reteig <35737105+lcreteig@users.noreply.github.com> Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org whenever possible) and link to this issue. If a reprex is not applicable, recording a short Loom video showing what you are seeing can go a long way in helping to diagnose problems. |
With ellipsis here and the check of toc sub-options, YAML configuration like these will be passed to
bookdown::gitbook
correctly.Note: it's a better version of my last PR, you can ignore it.
Note 2: it does not take into account other toc sub-options like
scroll_highlight
.