Skip to content

Build failure in LeanPlot.ToFloat due to incorrect markdown header nesting #7

Closed

Description

@motisn

Description

When building the project with Lake, the build fails at LeanPlot.ToFloat because of a strict Markdown validation error in the documentation comments.

It seems there is a skipped header level (using ### without a preceding ##), which causes documentation tools like Verso/Subverso to crash the build.

Error Log

error: LeanPlot/ToFloat.lean:50:4: Incorrect header nesting: expected at most `##` but got `###`
error: Lean exited with code 1

Environment

Lean version: 4.31.0, x86_64-w64-windows-gnu

(Note: Written with the assistance of an AI assistant.)

Activity

  1. alok commented on Jul 10, 2026

    @alok
    Owner

    Thanks for the precise report. This was a real Verso/SubVerso validation failure: LeanPlot.ToFloat jumped from a level-one heading directly to ### Rat. PR #5 merged the minimal ### to ## correction as 55d17d2, preserving the contributor fix separately. Follow-up PR #8 updated main to Lean v4.32.0-rc1, ProofWidgets v0.0.104, and Verso v4.32.0-rc1, including the small docs-generator API adjustment required by current Verso. lake build LeanPlot.ToFloat, the full lake build, the 498-job docs build, and both Lean Action CI runs pass. Closing as fixed on main.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions