New vs Old Documentation URLs

The portal.hdgroup.org URLs have a nice feature in that they encode the name of the function n the URL:
https://portal.hdfgroup.org/display/HDF5/H5D_CLOSE

The new docs.hdfgroup.org URLs use numbered “title” anchors.
https://docs.hdfgroup.org/hdf5/develop/group___h5_d.html#title7

I would be nice if the new docs had predictable anchors for the function names. For example, it would great if the following worked.
https://docs.hdfgroup.org/hdf5/develop/group___h5_d.html#H5D_CLOSE

In the Julia language package HDF5.jl, we generate our documentation with links to the online HDF5 documentation because of the predictability of the URLs. It would be sad to lose this if the old documentation were to go away.
https://juliaio.github.io/HDF5.jl/stable/api_bindings/#HDF5.API.h5d_close

I’m not sure how much control we have over the URL fragment generation. I think Doxygen guarantees they are stable for a given function prototype, but not much else. I need to dig a little deeper into the Doxygen documentation. I think there was an option to export some kind of a sitemap…

G.

Could we use this patch for doxygen?

Is the tag file available?

https://www.doxygen.nl/manual/config.html#cfg_generate_tagfile

In doxygen/Doxyfile we specify

GENERATE_TAGFILE       = hdf5.tag

I.e., we create the tag file but do not currently use it for anything. Here’s an example:

https://docs.hdfgroup.org/hdf5/develop/hdf5.tag

G.

This is really nice to have so we can easily cross reference downstream documentation with the doxygen documentation.

Hi @gheber is the Doxygen hdf5.tag file available anywhere?

My users are asking if we can still cross reference the documentation:

I came up with this script to build the hdf5.tag file myself.

curl -fsSL https://pixi.sh/install.sh | bash
pixi global install cmake
pixi global install doxygen
git clone https://github.com/HDFGroup/hdf5.git
cd hdf5
git checkout hdf5-1.14.6
mkdir build
cmake -D HDF5_BUILD_DOCS=ON ..
make -j hdf5hllib_doc
1 Like

Yes, installing that file was overlooked, because we do generate it. Created:
" Install doxygen tag file #5403"

Also, I have been attempting to fix the doxygen search box - I can generate the file to index everything, but I have not successfully found an easy method to install the functionality.

Allen