2026-09-28 05:59:19 -06:00
# Doxygen Awesome
2026-09-24 14:08:32 -06:00
[](https://github.com/jothepro/doxygen-awesome-css/releases/latest)
[](https://github.com/jothepro/doxygen-awesome-css/blob/main/LICENSE)

< div class = "title_screenshot" >

< / div >
2026-09-28 05:59:19 -06:00
**Doxygen Awesome** is a custom CSS theme for [Doxygen ](https://github.com/doxygen/doxygen ) HTML documentation with many customization options.
2026-09-24 14:08:32 -06:00
## Motivation
2026-09-28 05:59:19 -06:00
I really like how the Doxygen HTML documentation is structured, but IMHO it looks a bit outdated.
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
This theme is an attempt to modernize the visuals of Doxygen without changing its overall layout too much.
2026-09-24 14:08:32 -06:00
## Features
- 🌈 Clean, modern design
2026-09-28 05:59:19 -06:00
- 🚀 Highly customizable by adjusting CSS variables
- 🧩 No changes to the HTML structure of Doxygen are required
2026-09-24 14:08:32 -06:00
- 📱 Improved mobile usability
- 🌘 Dark mode support!
2026-09-28 05:59:19 -06:00
- 🥇 Works best with **Doxygen 1.9.1** - **1.9.4** and **1.9.6** - **1.18.0**
2026-09-24 14:08:32 -06:00
## Examples
Some websites using this theme:
- [Documentation of this repository ](https://jothepro.github.io/doxygen-awesome-css/ )
- [wxWidgets ](https://docs.wxwidgets.org/3.2/ )
- [OpenCV 5.x ](https://docs.opencv.org/5.x/ )
- [Zephyr ](https://docs.zephyrproject.org/latest/doxygen/html/index.html )
- [Spatial Audio Framework (SAF) ](https://leomccormack.github.io/Spatial_Audio_Framework/index.html )
2026-09-28 05:59:19 -06:00
- [Randolf Richardson's C++ classes ](https://www.randolf.ca/c++/docs/ )
2026-09-24 14:08:32 -06:00
- [libsl3 ](https://a4z.github.io/libsl3/ )
2026-09-28 05:59:19 -06:00
- [DuMu<sup>x</sup> ](https://dumux.org/docs/doxygen/master/ )
- [OpenRemise ](https://openremise.at/ )
2026-09-24 14:08:32 -06:00
## Installation
2026-09-28 05:59:19 -06:00
To use the theme when generating your documentation, bring the required CSS and JS files from this repository into your project.
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
This can be done in several ways:
- manually copying the files
- adding the project as a Git submodule
- downloading the project with CMake FetchContent
- adding the project as an npm/xpm dependency
- installing the theme system-wide
All theme files are located in the root of this repository and start with the prefix `doxygen-awesome-` . You may not need all of them. Follow the installation instructions to determine which files are required for your setup.
### Git submodule
For projects that use Git, add the repository as a submodule and check out the desired release:
```sh
2026-09-24 14:08:32 -06:00
git submodule add https://github.com/jothepro/doxygen-awesome-css.git
cd doxygen-awesome-css
2026-09-28 05:59:19 -06:00
git checkout v2.5.0
2026-09-24 14:08:32 -06:00
```
2026-09-28 05:59:19 -06:00
### CMake with FetchContent
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
For projects that build with CMake, the `FetchContent` module can be used to download the repository at configuration time.
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
Add the following snippet to your `CMakeLists.txt` :
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
```cmake
include(FetchContent)
FetchContent_Declare(
doxygen-awesome-css
URL https://github.com/jothepro/doxygen-awesome-css/archive/refs/heads/main.zip
)
FetchContent_MakeAvailable(doxygen-awesome-css)
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
# Save the location the files were cloned into
# This allows us to get the path to doxygen-awesome.css
FetchContent_GetProperties(doxygen-awesome-css SOURCE_DIR AWESOME_CSS_DIR)
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
# Generate the Doxyfile
set(DOXYFILE_IN ${CMAKE_CURRENT_SOURCE_DIR}/doc/Doxyfile.in)
set(DOXYFILE_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
configure_file(${DOXYFILE_IN} ${DOXYFILE_OUT} @ONLY )
```
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
This downloads the latest main (but any other revision could be used) and unpacks in the build folder. The `Doxyfile.in` can reference this location in the `HTML_EXTRA_STYLESHEET` field
```text
HTML_EXTRA_STYLESHEET = @AWESOME_CSS_DIR@/doxygen -awesome.css
```
When the configure stage of CMake is run, the `Doxyfile.in` is rendered to Doxyfile and Doxygen can be run as usual.
### npm/xpm dependency
In the npm ecosystem, this project can be added as a development dependency
to your project:
```sh
cd your-project
npm install https://github.com/jothepro/doxygen-awesome-css#v2 .5.0 --save-dev
ls -l node_modules/@jothepro/doxygen -awesome-css
```
Similarly, in the [xPack ](https://xpack.github.io ) ecosystem, this project can be added
as a development dependency to an [`xpm` ](https://xpack.github.io/xpm/ )
managed project.
### System-wide
You can even install the theme system-wide by running `make install` .
The files will be installed to `/usr/local/share/` by default,
but you can customize the install location with `make PREFIX=/my/custom/path install` .
### Choosing a layout
There are two layout options. Choose one of them and configure Doxygen accordingly:
2026-09-24 14:08:32 -06:00
< div class = "tabbed" >
2026-09-28 05:59:19 -06:00
- < b class = "tab-title" > Base Theme</ b >< div class = "darkmode_inverted_image" >

< / div >
Comes with the typical Doxygen titlebar. Optionally the treeview in the sidebar can be enabled.
2026-09-24 14:08:32 -06:00
Required files: `doxygen-awesome.css`
Required `Doxyfile` configuration:
```
GENERATE_TREEVIEW = YES # optional. Also works without treeview
DISABLE_INDEX = NO
FULL_SIDEBAR = NO
HTML_EXTRA_STYLESHEET = doxygen-awesome-css/doxygen-awesome.css
HTML_COLORSTYLE = LIGHT # required with Doxygen >= 1.9.5
```
2026-09-28 05:59:19 -06:00
- < b class = "tab-title" > Sidebar-Only Theme</ b >< div class = "darkmode_inverted_image" >

< / div >
2026-09-24 14:08:32 -06:00
Hides the top titlebar to give more space to the content. The treeview must be enabled in order for this theme to work.
Required files: `doxygen-awesome.css` , `doxygen-awesome-sidebar-only.css`
Required `Doxyfile` configuration:
```
GENERATE_TREEVIEW = YES # required!
DISABLE_INDEX = NO
FULL_SIDEBAR = NO
HTML_EXTRA_STYLESHEET = doxygen-awesome-css/doxygen-awesome.css \
doxygen-awesome-css/doxygen-awesome-sidebar-only.css
HTML_COLORSTYLE = LIGHT # required with Doxygen >= 1.9.5
```
< / div >
2026-09-28 05:59:19 -06:00
< br >
@warning
2026-09-24 14:08:32 -06:00
- This theme is not compatible with the `FULL_SIDEBAR = YES` option provided by Doxygen!
- `HTML_COLORSTYLE` must be set to `LIGHT` since Doxygen 1.9.5!
2026-09-28 05:59:19 -06:00
### Further installation instructions
2026-09-24 14:08:32 -06:00
- [Installing extensions ](docs/extensions.md )
- [Customizing the theme (colors, spacing, border-radius, ...) ](docs/customization.md )
- [Tips and Tricks for further configuration ](docs/tricks.md )
## Browser support
Tested with
2026-09-28 05:59:19 -06:00
- Chrome 153, Chrome 152 for Android, Chrome 141 for iOS
- Safari 26, Safari for iOS 26
- Firefox 155, Firefox 142 for Android, Firefox 148 for iOS
- Edge 152
- Opera One 135
2026-09-24 14:08:32 -06:00
2026-09-28 05:59:19 -06:00
The theme does not strive to be backward compatible with (significantly) older browser versions.
2026-09-24 14:08:32 -06:00
## Credits
2026-09-28 05:59:19 -06:00
Thanks for all the bug reports and inspiring feedback on GitHub!
2026-09-24 14:08:32 -06:00
Special thanks to all the contributors:
< br > < br >
< a href = "https://github.com/jothepro/doxygen-awesome-css/graphs/contributors" >
< img src = "https://contrib.rocks/image?repo=jothepro/doxygen-awesome-css" / >
< / a >
2026-09-28 05:59:19 -06:00
< div class = "section_buttons" >
| Read Next |
|---------------------------------:|
| [Extensions ](docs/extensions.md ) |
< / div >