[BUILD] add mkdocs and doc portal PR previews - #124
Open
thomasbaronnet wants to merge 5 commits into
Open
thomasbaronnet wants to merge 5 commits into
thomasbaronnet wants to merge 5 commits into
Conversation
Build and publish a mkdocs pr-preview plus a doc-portal preview on pull requests, and clean them up when the PR closes.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #124 +/- ##
=======================================
Coverage 38.27% 38.27%
=======================================
Files 17 17
Lines 1207 1207
Branches 140 140
=======================================
Hits 462 462
Misses 715 715
Partials 30 30 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| --entrypoint sh \ | ||
| "$DOC_PORTAL_IMAGE" \ | ||
| -c 'sh /app/docker/doc-portal-rebuild-source.sh qek && cp -r /app/packages/doc-portal/dist/. /out/' | ||
| -c 'cd /app && pnpm --filter @pasqal/doc-portal run build:selected && cp -r /app/packages/doc-portal/dist/. /out/' |
Author
There was a problem hiding this comment.
Well actually we need to rebuild all the doc portal so the links point inside the preview (like …/pr-N/qoolqit/). The other solution is to rebuild just qek but we'll have to run a script to change all the links after the build is done, and I think it's a bit "fragile". It won't take much long time and we'll have a better working platform. Let me know what you think
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build and publish a mkdocs pr-preview plus a doc-portal preview on pull requests, and clean them up when the PR closes.