#6715 closed enhancement (fixed)
Add menu tabs to gdal.org site
Reported by: | Jeff McKenna | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.2.0 |
Component: | Docs | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
The following changes will add a few tabs into the top menu of gdal.org For a screenshot see http://pasteboard.co/ndEWlCsFM.png
Please execute the following:
1) apply the attached patch (menu.patch), which modifies GDAL's Doxygen config file
2) add the second attached file (DoxygenLayout.xml) into the GDAL home directory, which is used to setup the menus
3) on whatever server is used to generate the html, it's important that we upgrade the installed Doyxygen version. Ubuntu for example by default uses a much older Doxygen package, and therefore the generated menus don't look properly (they don't display the sub-menus, on mouse-over).
- check installed Doxygen version (we need 1.8.12):
doxygen --version
- download 1.8.12
wget http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.12.src.tar.gz
- install new version
- tar -xzvf doxygen-1.8.12.src.tar.gz - cd doxygen-1.8.12 - mkdir build - cd build - cmake -G "Unix Makefiles" .. - make - sudo cp bin/doxygen /usr/local/bin/ - (normal 'sudo make install' didn't work for me in this case)
- verify the installed doxygen version
doxygen --version
4) regenerate html
- inside GDAL home directory, execute:
doxygen
Attachments (3)
Change History (9)
by , 7 years ago
Attachment: | menu.patch added |
---|
comment:1 by , 7 years ago
Sorry for that. Please download 'menu.patch' and 'DoxygenLayout.2.xml', but rename the second file to 'DoxygenLayout.xml'
comment:3 by , 7 years ago
I've fixed independantly the issue with the link to track. You need to escape & to & I've added in the makefile a test to check that Doxygen >= 1.8 and if not, I strip the customization. I've verified that the doxygenlayout.xml works at least with Doxygen 1.8.6. www.gdal.org that is used for the refreshing cron job has Doxygen 1.8.8
comment:4 by , 7 years ago
I've just manually triggered a manual refresh. http://gdal.org/ looks good.
patch to the Doxygen config file