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

Docs v3 #1281

Merged
merged 6 commits into from
Jan 21, 2025
Merged

Docs v3 #1281

merged 6 commits into from
Jan 21, 2025

Conversation

jonludlam
Copy link
Member

No description provided.

Copy link
Collaborator

@panglesd panglesd left a comment

Choose a reason for hiding this comment

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

The doc improvements look good! Test needs to be updated.

@@ -15,6 +15,15 @@ To generate documentation for your project, you will almost always be using
'drivers' of [odoc] at time of writing, each with their own strengths and
weaknesses:

- {{!/odoc-driver/page-index}The reference driver} is the most up-to-date driver,
and incorporates all of the features of odoc. It is also used for the docs
published on ocaml.org. It does not feature fast rebuilds, nor keeping a
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not yet, should we wait for this to be true or not?

Copy link
Member Author

Choose a reason for hiding this comment

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

hmm, yes, I'll weaken that a little bit.

@@ -55,11 +55,6 @@ let compile ~output_dir ~input_file:file ~includes ~suppress_warnings ~parent_id
in
let cmd = cmd % "--parent-id" % Id.to_string parent_id in
let cmd = if suppress_warnings then cmd % "--suppress-warnings" else cmd in
let dirname = Id.to_fpath parent_id |> Fpath.filename in
let cmd =
if Fpath.filename file = "index.mld" then cmd % "--short-title" % dirname
Copy link
Collaborator

Choose a reason for hiding this comment

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

The --short-title option is not used anymore but still defined. Shouldn't we completely remove it?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, because it will be used.

@jonludlam jonludlam added the no changelog This pull request does not need a changelog entry label Jan 21, 2025
Copy link
Collaborator

@panglesd panglesd left a comment

Choose a reason for hiding this comment

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

What else is supposed to go in this PR?

doc/driver/index.mld Outdated Show resolved Hide resolved
Co-authored-by: Paul-Elliot Anglès d'Auriac <[email protected]>
@jonludlam jonludlam merged commit 9ba4bbf into ocaml:master Jan 21, 2025
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog This pull request does not need a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants