The default doxygen version is too low

I am seeking advice on resolving an issue I am facing with my documentation site for a C++ project, which is hosted on Cloudflare Pages. I recently added three-way comparison operators to the source code; however, Doxygen is unable to detect them, rendering the feature unusable. I later discovered that the default version of Doxygen on Cloudflare Pages is 1.8.6, which was last updated on 24-12-2013.

My suggested solution is to upgrade the Doxygen version to 1.8.20 (released on 24-08-2020) or add support for new versions. Is there any way to manually update Doxygen or is there a better solution to this issue?

It looks like there’s no Enviroment Variable to update this, as per Build image | Cloudflare Pages docs
However, the default version of Doxygen on Pages Build Image V2 seems to be 1.9.4
Build Image Update · cloudflare/pages-build-image · Discussion #1 · GitHub

If you join the Cloudflare Community discord (Cloudflare Developers), you can drop your pages.dev into the Pages build Image V2 Thread in the pages-discussion channel (https://discord.com/channels/595317990191398933/1104067231991742504/1104067247426764880), and get your project opted into the new build image as a beta tester.

2 Likes

Thanks Chaika, I have joined the channel. Before v2 becoming stable, here is my workaround:

mkdir -p $HOME/tmp
pushd $HOME/tmp
wget https://github.com/doxygen/doxygen/releases/download/Release_1_9_6/doxygen-1.9.6.linux.bin.tar.gz
tar -zxf doxygen-1.9.6.linux.bin.tar.gz
export PATH=$HOME/tmp/doxygen-1.9.6/bin:$PATH
popd

Just download pre-build binary file and add it to system $PATH.

1 Like