Skip to content

Add boilerplate for docs versioning - #127

Merged
EiffL merged 3 commits into
mainfrom
docs/versioning
Aug 21, 2026
Merged

Add boilerplate for docs versioning#127
EiffL merged 3 commits into
mainfrom
docs/versioning

Conversation

@aboucaud

@aboucaud aboucaud commented May 11, 2026

Copy link
Copy Markdown
Member

Inspired on what was done for ASTRA except here I only kept the manual publication and did not port the automated workflow other than the justfile recipes.

Since the docs seem to be handled by Cloudfare, I don't know what kind of setup is required.

@github-actions

Copy link
Copy Markdown
Contributor

❌ Eval Results

Metric Value
Score 0.00
Build complete
Cost $0.00
Turns 0
Duration 0s
lightcone-cli 0.3.5.dev12+g88b0002a3 (88b0002a)
Results Download

Graders

No grader results

Full output
20:11:54 lightcone.eval.build Building lightcone-cli wheel from /home/runner/work/lightcone-cli/lightcone-cli ...
20:11:59 lightcone.eval.build Built lightcone_cli-0.3.5.dev12+g88b0002a3-py3-none-any.whl (commit 88b0002a)
20:12:01 lightcone.eval.harness Trial build-snae-0 failed: Failed to create sandbox: Invalid credentials
Traceback (most recent call last):
  File "/home/runner/work/lightcone-cli/lightcone-cli/src/lightcone/eval/harness.py", line 112, in run_trial
    sandbox.create()
  File "/home/runner/work/lightcone-cli/lightcone-cli/src/lightcone/eval/sandbox.py", line 149, in create
    self._sandbox = self._daytona.create(
                    ^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/lightcone-cli/lightcone-cli/.venv/lib/python3.12/site-packages/daytona_sdk/_utils/errors.py", line 181, in sync_wrapper
    process_n_raise_exception(e)
  File "/home/runner/work/lightcone-cli/lightcone-cli/.venv/lib/python3.12/site-packages/daytona_sdk/_utils/errors.py", line 139, in process_n_raise_exception
    raise create_daytona_error(
daytona_sdk.common.errors.DaytonaAuthenticationError: Failed to create sandbox: Invalid credentials
  snae trial 0: score=0.00 error: Failed to create sandbox: Invalid credentials

lightcone-cli: 0.3.5.dev12+g88b0002a3 (HEAD 88b0002a)
ASTRA: 0.2.9

  Eval Results: Scores  
┏━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Task ┃     Score     ┃
┡━━━━━━╇━━━━━━━━━━━━━━━┩
│ snae │ 0.00 +/- 0.00 │
│      │  pass@k: 0%   │
│      │   1 errors    │
└──────┴───────────────┘

   Eval Results: Cost &   
         Duration         
┏━━━━━━┳━━━━━━━━━━━━━━━━━┓
┃ Task ┃ Cost / Duration ┃
┡━━━━━━╇━━━━━━━━━━━━━━━━━┩
│ snae │      $0.00      │
│      │       0s        │
└──────┴─────────────────┘

Total: 1 trials, $0.00, 0s

Results saved to: eval-results/build-88b0002a/results.json

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
lightcone-cli 8ae0679 Commit Preview URL

Branch Preview URL
May 11 2026, 08:12 PM

@aboucaud
aboucaud requested a review from EiffL May 11, 2026 20:13
@aboucaud aboucaud added the documentation Improvements or additions to documentation label May 14, 2026
EiffL and others added 2 commits August 21, 2026 11:07
… workflow

Refreshes this branch onto post-#168 main and finishes the integration
the original boilerplate left open:

- Move [project.extra.version] provider = "mike" from pyproject.toml to
  zensical.toml — it is zensical site config, not package metadata, and
  an unknown "extra" key under [project] is invalid PEP 621.
- Rework docs-deploy.yml: replace the actions/deploy-pages artifact
  upload with mike deploy --push --update-aliases <version> latest plus
  mike set-default --push latest. Version comes from the release tag,
  or from a workflow_dispatch input for intermediate redeploys.
- Update CLAUDE.md to describe the CI-driven release flow and the
  GitHub Pages "deploy from gh-pages branch" hosting requirement.

Verified locally: uv sync --group docs installs squidfunk's mike fork
(2.2.0+zensical-0.1.0) and zensical build succeeds with the version
provider enabled (selector wiring present in the JS bundle).

Note: repo Pages settings must be switched from "GitHub Actions" to
"Deploy from a branch" / gh-pages once the first mike deploy has run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014PC18whir9otmXpQbaEgir
@EiffL
EiffL marked this pull request as ready for review August 21, 2026 09:10

@EiffL EiffL left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@EiffL
EiffL merged commit 5b871f6 into main Aug 21, 2026
8 of 9 checks passed
@EiffL
EiffL deleted the docs/versioning branch August 21, 2026 09:11
EiffL added a commit that referenced this pull request Aug 21, 2026
…tion

Brings PR #127 (mike-based docs versioning) across the rebuild:
- zensical.toml keeps [project.extra.version] provider = "mike"
- pyproject docs group keeps the squidfunk mike fork dependency
- docs-deploy.yml is the mike-based workflow (deploy <version> + latest
  to gh-pages on release; manual redeploy via workflow_dispatch)
- justfile stays deleted (removed intentionally in the rebuild); its
  mike recipes live in the workflow, CLAUDE.md now points at the raw
  mike commands for local use

Verified: uv sync --group docs installs mike 2.2.0+zensical-0.1.0 and
zensical build succeeds with the version provider enabled.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014PC18whir9otmXpQbaEgir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants