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

CI: generate doc-building repository in CI #334

Merged
merged 5 commits into from
Feb 7, 2025

Conversation

YaelDillies
Copy link
Contributor

@YaelDillies YaelDillies commented Feb 5, 2025

  • Don't have docbuild lying around always. Currently, the toolchain it gets updated to is independent of the toolchain FLT is on, causing issue every first few days of the month. Now, the toolchain with which the docs are built will always be the one from FLT. No one can accidentally introduce a toolchain mismatch error in the repo by modifying/forgetting to modify the pinned toolchain in docbuild/lakefile.toml anymore.
  • Add scripts/build_docs.sh to automate building the docs. This script creates a temporary docbuild repo, generates the docs, then deletes the temporary repo again.
  • Remove scripts/bump.sh. Now that docbuild doesn't exist outside of CI/building the docs locally with build_docs.sh, instructions to update the repo are simply "Run lake update".

* Don't have `docbuild` lying around always. Currently, the toolchain it gets updated to is independent of the toolchain FLT is on, causing issue every first few days of the month. Now, the toolchain with which the docs are built will always be the one from FLT. No one anymore can accidentally introduce a toolchain mismatch error in the repo by modifying/forgetting to modify the pinned toolchain in `docbuild/lakefile.toml`.
* Add `scripts/build_docs.sh` to automate building the docs. This script creates a temporary `docbuild` repo, generates the docs, then deletes the temporary repo again.
* Remove `scripts/bump.sh`. Now that `docbuild` doesn't exist outside of CI/building the docs locally with `build_docs.sh`, instructions to update the repo are simply "Run `lake update`".
scripts/build_docs.sh Outdated Show resolved Hide resolved
Co-authored-by: Pietro Monticone <[email protected]>
@YaelDillies YaelDillies mentioned this pull request Feb 6, 2025
2 tasks
@kbuzzard
Copy link
Collaborator

kbuzzard commented Feb 7, 2025

Thanks a lot!

@kbuzzard kbuzzard merged commit 1bd7105 into ImperialCollegeLondon:main Feb 7, 2025
2 checks passed
@YaelDillies YaelDillies deleted the no_docbuild branch February 7, 2025 12:35
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

Successfully merging this pull request may close these issues.

3 participants