-
Notifications
You must be signed in to change notification settings - Fork 684
Add anchors in Corelib html index #20680
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
Add anchors in Corelib html index #20680
Conversation
This is to make it possible to refer to these list items in links (e.g. for rocq-prover#20450).
I don't think the average user cares about other tactics languages when browsing this part of the tutorial. Other tactics languages are already mentioned in the "Creating new tactics" part of the refman. Add a reference to the Ltac2 part of the Rocq website. Prerequisite: rocq-prover#20680 Fixes/closes: rocq-prover#20450
doc/corelib/index-list.html.template
Outdated
<dt> <b>Init</b>: | ||
<dt> <a id="Init"><b>Init</b></a>: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the id
be on the dt
tag instead? Using an a
tag seems wrong to me, those are typically used for links (with a href
attribute).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are probably right. Changed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you prefer, then?
4fb04dd
to
7808a16
Compare
Is there an artifact showing the result? |
Thanks! Is it satisfactory enough in your opinion? |
doc/corelib/index-list.html.template
Outdated
@@ -9,7 +9,7 @@ through the <tt>Require Import</tt> command.</p> | |||
<p>The core library is composed of the following subdirectories:</p> | |||
|
|||
<dl> | |||
<dt> <b>Init</b>: | |||
<dt id="Init"> <b>Init</b>: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<dt id="Init"> <b>Init</b>: | |
<dt id="Init"> <a href="#Init"><b>Init</b></a>: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should do the change for the other headings too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Co-authored-by: Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>
723b2d5
to
536a16a
Compare
Juste added a forgotten '#' somewhere. |
@coqbot merge now |
This is to make it possible to refer to these list items in links (e.g. for #20450).
Not a web person, so there may be better ways to do it.