Skip to content

feat: add Blueprint deployment for proof tracking#5

Merged
FrankieeW merged 3 commits intomainfrom
feat/blueprint-deployment
Feb 25, 2026
Merged

feat: add Blueprint deployment for proof tracking#5
FrankieeW merged 3 commits intomainfrom
feat/blueprint-deployment

Conversation

@FrankieeW
Copy link
Copy Markdown
Owner

Summary

  • Add Blueprint system for visualizing Lean proof progress and dependencies
  • Configure GitHub Actions workflow for automated deployment to GitHub Pages
  • Add source files for web and print versions with ideal factorization theorems

Changes

  • blueprint/src/web.tex - Main blueprint content with theorems and definitions
  • blueprint/src/print.tex - Print version source
  • blueprint/src/plastex.cfg - plastex configuration
  • .github/workflows/blueprint.yml - CI workflow for building and deploying

Test plan

  • Local build with leanblueprint web succeeds
  • GitHub Actions workflow will deploy to GitHub Pages on merge

Preview

After merging, the blueprint will be available at: https://FrankieeW.github.io/ANT/blueprint/

- Add blueprint directory with web.tex and print.tex sources
- Add GitHub Actions workflow for automated deployment
- Configure plastex and leanblueprint dependencies
- Add .gitignore for build artifacts
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3e70924958

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

path: blueprint/web

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Gate Pages deployment to non-PR events

This workflow deploys unconditionally, but the same job is triggered on pull_request (on.pull_request at lines 9-10), so actions/deploy-pages will run during PR checks as well. For forked PRs, the token does not get pages: write, so the deployment step fails and turns otherwise-valid PRs red; add an if guard (or split build/deploy jobs) so deployment only runs on trusted push/manual contexts.

Useful? React with 👍 / 👎.

Comment on lines +1 to +4
\DeclareOption*{}
\ProcessOptions

\newcommand{\graphcolor}[3]{}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Replace placeholder blueprint.sty before PDF builds

The committed blueprint.sty is only a stub and does not define the theorem/definition macros used throughout print.tex/web.tex (for example \begindefinition), so invoke build (tasks.py runs pdflatex print.tex) cannot succeed from a fresh checkout unless a separate manual copy step has already overwritten this file. This makes the advertised local PDF build path broken by default.

Useful? React with 👍 / 👎.

@FrankieeW FrankieeW merged commit 56224c8 into main Feb 25, 2026
2 checks passed
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.

1 participant