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

Fixes for odoc #1130

Merged
merged 28 commits into from
Apr 15, 2024
Merged

Fixes for odoc #1130

merged 28 commits into from
Apr 15, 2024

Conversation

sim642
Copy link
Contributor

@sim642 sim642 commented Apr 14, 2024

Closes #1093.

make doc already uses odoc and it builds, but with many warnings. This PR fixes a bunch of the fixable ones (there are still all the "unresolvedroot" ones which I'm not sure how should be fixed):

  1. Fix heading levels to start from 1, not 6.
  2. Fix module synopses by separating them with empty lines.
  3. Fix @since and @raise tags.
  4. Replace @added and @obsolete tags with standard @since and @deprecated.
  5. Fix some ambiguous references.

src/batChar.mli Outdated Show resolved Hide resolved
@sim642 sim642 marked this pull request as ready for review April 14, 2024 15:09
@UnixJunkie
Copy link
Member

I'll have a look, thanks.

@UnixJunkie UnixJunkie self-assigned this Apr 15, 2024
@UnixJunkie
Copy link
Member

Since it is a large PR, it might take me some time though.
I'll try to do this before the end of the day.

@UnixJunkie
Copy link
Member

Looks good to me.
Thanks for taking care of batteries.
This must have been crazily annoying to fix so many odoc warnings!

@UnixJunkie UnixJunkie merged commit c4dfc61 into ocaml-batteries-team:master Apr 15, 2024
13 of 16 checks passed
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.

Switch to odoc?
2 participants