Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corelib links for rc1 #76

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Corelib links for rc1 #76

wants to merge 4 commits into from

Conversation

mattam82
Copy link
Member

@mattam82 mattam82 commented Jan 25, 2025

Supersedes #71
Closes: #71

@Zimmi48
Copy link
Member

Zimmi48 commented Jan 27, 2025

That's a lot of links!
What about the footer?

Comment on lines +59 to +70
let pre, version =
match String.split_on_char '.' v with
| x :: y :: z :: _ -> false, x ^ "." ^ y ^ "." ^ z
| x :: y :: [] ->
(match String.split_on_char '+' y with
| [] -> assert false
| [y] -> false, x ^ "." ^ y
| y :: _ -> true, x ^ "." ^ y)
| _ -> invalid_arg (v ^ ": invalid version")
in
if pre then "v" ^ version
else "V" ^ version
Copy link
Member

Choose a reason for hiding this comment

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

Note that in theory, the tag version (starting with V) would work fine for the rc as well: https://rocq-prover.org/doc/V9.0+rc1/refman/index.html exists for instance.

The logic of calling the patch function could have been replaced by no call at all.

That being said, I am fine with considering that we link to a branch while in pre-release and to a tagged version afterward.

Note though that so far, we only updated links to the reference manual when releasing the final .0 version. The question then is whether we consider that this is an exceptional case (since the rocq-prover.org website is still in preview) or whether it will keep beeing that way (switching at the time of the rc for 9.1 as well).

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.

3 participants