Add conformalforecast to nixtlaverse build pipeline - #54
Open
nasaul wants to merge 1 commit into
Open
Conversation
Clones Nixtla/conformalforecast into both the preview and production builds and registers it in merge_docs.py so its navigation folds into the ConformalForecast anchor. Carries the synforecast lessons (#47, #48) from the start rather than after a broken run: cp -R brings the checkout's .git along, which makes git add stage a newly added project as a gitlink instead of its files, so the nav goes live while every page 404s. Stripping .git before the copy and evicting any cached gitlink before git add avoids both halves. The local conformalforecast/ clone is gitignored; the pipeline fetches it at build time.
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.
Clones
Nixtla/conformalforecastinto both the preview and production builds and registers it inmerge_docs.pyso its navigation folds into theConformalForecastanchor.docs-previewdocsmain#52 and #53 are independent of each other and can merge in either order. This PR must come after both:
merge_navigationlooks the anchor up by name and returns early when it is absent, so merging this one first copies the pages in with nothing linking to them.What changed
preview.yml/production.yml: aClone conformalforecaststep (ref: docs-preview/docs), the copy into the docs tree, and the staging fix below.merge_docs.py:conformalforecastadded toanchor_name_mapandrepos..gitignore: ignores a localconformalforecast/clone so it never gets committed here — the pipeline fetches it at build time.Carrying the #47 / #48 lessons up front
Both fixes are included from the start rather than after a broken run.
cp -Rbrings the checkout’s.gitalong, which makesgit addstage a newly added project as a gitlink instead of its files — the nav goes live while every page 404s. I reproduced it against the real checkout:One deviation from #48: rather than adding a second
git rm --cachedline, conformalforecast joins the existing one as-- synforecast conformalforecast. Same behavior, and it keeps that line from growing once per package forever.Verification
Full preview pipeline simulated end to end — the real
docs-previewtree with #52 applied, the realconformalforecast@docs-previewcheckout,rm -rf .git,cp -R, then the realmerge_docs.py:.mdxon disklight.png,dark.png,favicon.svgpresent; no stray.git, nopull/preview dirsProduction will fail until conformalforecast has a
docsbranchNixtla/conformalforecasthas nodocsbranch yet — nothing publishes to it except a release or abuild-docs.yamlworkflow_dispatchwithdeploy_target=production. Until that runs, the production clone step here fails and takes the nixtlaverse production build with it. Preview is unblocked today.Recommendation: create that branch before merging this PR.