Skip to content

Conversation

jcreedcmu
Copy link
Contributor

@jcreedcmu jcreedcmu commented Oct 16, 2025

There are a few dozen :::example directives in the manual that won't run correctly if you copy and paste them into https://live.lean-lang.org/ . Fix them all, and include a CI check to ensure that they are all fixes. A sampling of reasons include:

  • #check_decl is defined in reference manual but not available in live
  • imports of Lean or Std are missing
  • opens prior to the :::example are necessary
  • important definitions are in +error blocks and needed to be hoisted

Based on top of #609 .
Progress towards leanprover/verso#569 .

@david-christiansen david-christiansen added the HTML available HTML has been generated for this PR label Oct 16, 2025
@jcreedcmu jcreedcmu marked this pull request as ready for review October 20, 2025 09:23
@jcreedcmu jcreedcmu force-pushed the jcreed-live-link-fixes branch from 665271c to 7decc1b Compare October 20, 2025 11:52
Fix all reference manual example to be self-contained
for the purpose of https://live.lean-lang.org links.
@jcreedcmu jcreedcmu force-pushed the jcreed-live-link-fixes branch from 7decc1b to 5f6d227 Compare October 20, 2025 11:57
Copy link
Contributor

Preview for this PR is ready! 🎉 (also as a proofreading version). built with commit 5f6d227.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HTML available HTML has been generated for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants