-
-
Notifications
You must be signed in to change notification settings - Fork 772
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
ICU-22922 ICU4C produce search doxygen doc by default #3408
Conversation
The changes seem fine, but the icu4c-docs-build CI check fails. |
I checked, and it is caused by the following warnings:
They are detected and caused to fail by this part of the command in Which is a good protection, I'm not complaining. It fails with the same warnings when doing My guess is that at some point doxygen was updated to a newer version. Removing the flags does not affect the output (I checked). I can remove them by hand, but running |
840675e
to
b4aab50
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
I've updated If you feel uneasy about it so close to release I can just keep the original Let me know. |
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.
lgtm, let's do it, and thanks!
Weird, the tests passed 16h ago. But the action does a |
The instruction for publishing the icu4c doc (generated with doxygen) use the
doc-searchengine
make target.(see https://unicode-org.github.io/icu/processes/release/tasks/docs.html#icu4c-3)
The result is that the documentation generated has a search box top-right:
https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/
Requires JavaScript, but it is very useful, and this is what we published for a about 5 years (ICU 68.1).
(see the history of the
apidoc/released/icu4c/search
folder).But by default we still produce the non-search version of the doc.
That is what we create with
make dist
, what we install locally, and what we publish in the GitHub released artifacts.(see for example https://github.com/unicode-org/icu/releases/download/release-76-1/icu4c-76_1-docs.zip)
That is less useful.
It is also inconsistent: what I get if I build / install locally or download from release does not match what we publish on the web.
And also means we can't automate as well (we need to build manually to publish the web doc instead of using the official release files).
This change would make everything consistent, with the search version of the C/C++ documentation being default everywhere.
An alternative would be to rename the make targets:
doc
=>doc-nosearch
anddoc-searchengine
=>doc
Checklist