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

Rmd lessons can't be built with subdirectories #17

Open
dpshelio opened this issue Oct 6, 2019 · 1 comment
Open

Rmd lessons can't be built with subdirectories #17

dpshelio opened this issue Oct 6, 2019 · 1 comment

Comments

@dpshelio
Copy link
Contributor

dpshelio commented Oct 6, 2019

As explained in rmarkdown's documentatin, a rmakdown site can only generate pages in a flat directory.

A main restriction of this site generator is that it assumes all Rmd documents are under a flat directory (i.e., no pages under subdirectories).

For the translations to be shown on the same webpage I can think of two ways:

  1. Change the website generator (e.g., Jekyll). This would be good to keep all the lessons using the same template and same look and feel, but it would require a significant effort from the maintainers.
  2. Create static links to the home page of the built version of the translations. This would require that the translations have all the same directory structure and building infrastructure than the original site. (Note that on other lessons, the repositories only contains the content and the tooling of the parent lessons builds all together: the master lesson and its translations).

List of lessons (that I've found so far) affected by this:

@fmichonneau
Copy link

We can update the make script run the rmarkdown command in each of the subdirectories in succession.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants