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

Compile documents in separate jobs before sitegen #81

Closed
2 tasks done
CAMOBAP opened this issue Mar 13, 2022 · 2 comments
Closed
2 tasks done

Compile documents in separate jobs before sitegen #81

CAMOBAP opened this issue Mar 13, 2022 · 2 comments
Assignees

Comments

@CAMOBAP
Copy link
Contributor

CAMOBAP commented Mar 13, 2022

Intro

To speed up our workflow we can do document compilation in separate jobs. The idea is described here https://code.dblock.org/2021/09/03/generating-task-matrix-by-looping-over-repo-files-with-github-actions.html also we already use this approach for mn-templates-* repos.

Open questions

  • can metanorma site generate reuse previously compiled documents?
  • how can we fetch all resources (relaton, ietf, fonts, anything else) once before run?
@CAMOBAP CAMOBAP self-assigned this Mar 13, 2022
@CAMOBAP
Copy link
Contributor Author

CAMOBAP commented Mar 13, 2022

@ronaldtse @opoudjis may I ask you to have a look at open questions, maybe you have answers or some general idea about the task?

@ronaldtse
Copy link
Contributor

can metanorma site generate reuse previously compiled documents

Not right now. We have a long standing task here: metanorma/metanorma-cli#232

how can we fetch all resources (relaton, ietf, fonts, anything else) once before run?

I don't think that is possible. Especially Relaton entries are only known during compilation.

@CAMOBAP CAMOBAP closed this as completed Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants