SPAAM-community / intro-to-ancient-metagenomics-book

Introduction to Ancient Metagenomics Book
http://www.spaam-community.org/intro-to-ancient-metagenomics-book/
Creative Commons Attribution 4.0 International
6 stars 10 forks source link

Consider translation with babeldown #89

Open jfy133 opened 1 month ago

jfy133 commented 1 month ago

https://docs.ropensci.org/babeldown/articles/quarto.html

jfy133 commented 1 month ago

For setup:

  1. Get DeeplAPI key: https://www.deepl.com/en/pro-api
  2. Make sure babeldown pkg is installed
  3. Make sure keyring pkg is installed and add API
  4. Make sure usethis is installed
  5. Add API key to keyring (https://keyring.r-lib.org/index.html)
  6. Follow workflow 1: https://docs.ropensci.org/babeldown/articles/quarto.html
    • Don't technically ahve to use keyring but w/e
    • Don't change the API URL as in example, use default api-free, if you get 403 forbidden, you're using wrong URL!

Note: would need to add babeldown to gha and render via babeldown render call (not quarto render)