ropensci-review-tools / babelquarto

Renders a Multilingual Quarto Project (Book or Website)
https://docs.ropensci.org/babelquarto/
Other
39 stars 7 forks source link

clicking on the spanish version of the boox k example does not work #10

Closed dmontecino closed 1 year ago

dmontecino commented 1 year ago

Hi! Thanks for developing this!

I was just exploring, and when I clicked the Spanish version of the book, I got this:

Screen Shot 2023-07-20 at 3 27 28 PM
maelle commented 1 year ago

ouch, good catch!!

maelle commented 1 year ago

I am so smart... https://mastodon.social/@maelle/110751171955046163

Thanks so much for noticing @dmontecino

maelle commented 1 year ago

Now the example is ok! Thanks again!

dmontecino commented 1 year ago

Awesome, thank you!!!

dmontecino commented 11 months ago

@maelle this is probably a very silly question, but when I reproduce your example and click on the other languages I get this:

Screen Shot 2023-10-23 at 9 08 19 PM

Could you point me why and what am I missing?

parent_dir <- "~/OneDrive - Wildlife Conservation Society/SMART/SMART_WILDLIFE_HEALTH/SMART_FOR_HEALTH_2023"
project_dir <- "SMART_for_Health_dictionary"
babelquarto::quarto_multilingual_book(parent_dir = parent_dir, 
                                      project_dir = project_dir)

babelquarto::render_book(file.path(parent_dir, project_dir), site_url = "https://example.com")

# babelquarto::quarto_multilingual_website(parent_dir = parent_dir,
#                                          project_dir = project_dir)

# babelquarto::render_website(file.path(parent_dir, project_dir))

usethis::use_git() # making the project having git

usethis::use_github() # creating a repo in gihub to hold the data dictionary project
maelle commented 11 months ago

I'd say the problem is the use of the URL "https://example.com/" instead of the actual URL where your website is deployed?

dmontecino commented 11 months ago

sorry for the basic questions. If I deployed it in a githubpage then it should work..

maelle commented 11 months ago

don't be sorry! I hope it works