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: get rid of breathe #1935

Closed
lidavidm opened this issue Jun 25, 2024 · 2 comments · Fixed by #2196
Closed

docs: get rid of breathe #1935

lidavidm opened this issue Jun 25, 2024 · 2 comments · Fixed by #2196
Assignees
Labels
Type: enhancement New feature or request

Comments

@lidavidm
Copy link
Member

What feature or improvement would you like to see?

It constantly causes issues with Sphinx, the rendering isn't great, and it's seemingly not actively developed anymore. We should do what we did with the fake javadoc-intersphinx bridge instead.

@lidavidm lidavidm added the Type: enhancement New feature or request label Jun 25, 2024
@lidavidm lidavidm added this to the ADBC Libraries 13 milestone Jun 25, 2024
@lidavidm lidavidm self-assigned this Jun 25, 2024
@lidavidm
Copy link
Member Author

More incentive: it's not quite maintained, unfortunately. For the time being moving off of breathe would let us keep up with Sphinx updates sphinx-doc/sphinx#12629 (comment)

@lidavidm
Copy link
Member Author

lidavidm commented Sep 3, 2024

It looks like the HTML output is not super easily parseable, but I think we can do this:

  • parse xml/index.xml to get all names; each name appears to have a unique hex ID
  • parse html/search to get a reverse mapping of hex IDs to URLs (since it is not obvious how to generate the URL given only the information in the XML)

Then we can generate a Sphinx inventory

lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Sep 27, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Sep 27, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Sep 27, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Oct 7, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Oct 7, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Oct 7, 2024
lidavidm added a commit that referenced this issue Oct 8, 2024
- Upgrade to Sphinx 8
- Drop `breathe` (now unmaintained)
- Update the intersphinx hack to support cross-linking to
Doxygen-generated docs
- Generate the Doxygen docs as a subdirectory of the main docs

Fixes #1935.

---------

Co-authored-by: Sutou Kouhei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant