Skip to content

Conversation

@jcreedcmu
Copy link
Contributor

Use meta tag to tell robots to not index any version of the manual other than https://lean-lang.org/doc/reference/latest/ . This includes not indexing the version of the manual that is the current referent of latest, e.g., at time of writing, https://lean-lang.org/doc/reference/4.25.0-rc2/ would instruct crawlers not to index.

@david-christiansen david-christiansen added the HTML available HTML has been generated for this PR label Nov 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

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

run_git_command(["git", "merge", "-m", "merge overlays", "--no-ff", "--no-edit", "-s", "ours", tgt_branch])
run_git_command(["git", "switch", tgt_branch])
run_git_command(["git", "reset", "--hard", src_branch])
run_git_command(["git", "reset", "--hard", src_branch, "--"])
Copy link
Contributor

Choose a reason for hiding this comment

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

What does the extra -- do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In cases where there is a branch named foo and also a file named foo, it disambiguates that I'm talking about the branch, not the file. If you wanted to name the file, you'd put the -- before src_branch rather than after. This actually came up because deploy is a branch and also a directory that exists in the content of branch main right now.

@jcreedcmu jcreedcmu added this pull request to the merge queue Nov 6, 2025
Merged via the queue into leanprover:main with commit fe7b1f1 Nov 6, 2025
9 checks passed
@jcreedcmu jcreedcmu deleted the jcreed/meta branch November 6, 2025 09:38
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.

3 participants