-
Notifications
You must be signed in to change notification settings - Fork 97
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
odoc pages have no TOC #294
Comments
@dbuenzli I'm currently working on this. I was waiting for #261 to be merged (looks like you already did merge it, thanks) before submitting a PR. Regarding "Topics": I thought about it and the reasoning is that I wanted to omit paragraph and subparagraph headings (like "Examples" or "Notes") in the listing, in which case it wouldn't be a complete "table of contents". Normally the different section headings represent library topics, in my opinion. On the other hand, "Contents" is a more general term that would imply that the module symbols would also be included, and that's not the case. I don't feel strongly about this and would be happy to rename "Topics" to "Contents". |
I don't see the problem with this, when you make table of contents in documents and books you don't necessarily include all sub-headings levels .
Frankly it feels a bit a weird I dont' really understand what a "library topic" is. It's even weirder in pages where you could have an
Not really, I would expect this to be found under indexes. I think |
"Contents" it is then :)
Just to clarify: do you mean the global index as the one generated by ocamldoc (example)? |
@rizo any news? Do you still have your code lying around somewhere? How close is it from being finished? :) |
@trefis See linked PR :) (Apologies for the delay. Unfortunately I have been struggling to find time to work on odoc lately.) |
Tried it on a larger manual of mine, works great. Thanks @rizo. |
However did you maybe introduce #365 when you did so ? I suspect you didn't see this since the example |
It would be nice to have some following the same rules as the
.mli
file.Btw. I'm not very fond of calling the preamble to the table of contents
Topics
in the rendering, that's not a topic index, it's really a table of contents. I thinkContents
would be a better name (that's what wikipedia uses and what documentation preparation systems likeLaTeX
generate for you).The text was updated successfully, but these errors were encountered: