Add build step for Spanish content#39
Conversation
|
@mishig25 any idea why we cannot see the PR build? It seems one cannot reach the https://moon-ci-docs.huggingface.co/docs/course/ URL, but I'm not entirely sure if that's the cause of the problem 🤔 |
sgugger
left a comment
There was a problem hiding this comment.
This is a good first step. I was thinking of adding a language argument in the general job later on, for when we also build several docs in Transformers, but it might require a bit more work and I probably won't get to that until next week, so happy to go with this workflow in the meantime.
|
Oh, this approach doesn't work because we overwrite the content in each build step with i.e. the If it works, I'll open a PR there :) |
|
Nice, the multilingual build worked! |
This reverts commit b53b566.
|
The documentation is not available anymore as the PR was closed or merged. |
Add build step for Spanish content
This PR adds a new build step to the PR / release CI to build the course content for Spanish.
Since each language lives in a separate
chapters/LANG-IDfolder, this seems like the simplest approach since we cannot easily build the content directly from thechaptersdirectory (no global_toctree/ymlfile anymore).An alternative would be to extend the
path_to_docsarg in thedoc-buildertemplates to be an array that one loops over, but maybe that can wait until we see there are too many languages to handle in the CI.