Cockatrice/docs/doxygen
RickyRister 4539a30534
Some checks are pending
CodeQL / Analyze (cpp) (push) Waiting to run
CodeQL / Analyze (actions) (push) Waiting to run
Build Desktop / Configure (push) Waiting to run
Build Desktop / vcpkg baseline (push) Waiting to run
Build Desktop / Debian 13 (push) Blocked by required conditions
Build Desktop / Fedora 45 release (push) Blocked by required conditions
Build Desktop / Fedora 45 debug (push) Blocked by required conditions
Build Desktop / Servatrice_Debian 12 (push) Blocked by required conditions
Build Desktop / Ubuntu 26.04 (push) Blocked by required conditions
Build Desktop / Arch (push) Blocked by required conditions
Build Desktop / Debian 12 (push) Blocked by required conditions
Build Desktop / Fedora 44 (push) Blocked by required conditions
Build Desktop / Ubuntu 24.04 (push) Blocked by required conditions
Build Desktop / Ubuntu 26.04 sanitize (push) Blocked by required conditions
Build Desktop / Ubuntu 26.04 cover (push) Blocked by required conditions
Build Desktop / macOS 14 (push) Blocked by required conditions
Build Desktop / macOS 15 (push) Blocked by required conditions
Build Desktop / macOS 27 Debug (push) Blocked by required conditions
Build Desktop / Windows 10 (push) Blocked by required conditions
Build Desktop / macOS 13 Intel (push) Blocked by required conditions
Build Desktop / Prune caches (push) Waiting to run
Build Docker / Servatrice (arm) (push) Waiting to run
Build Docker / Servatrice (x86) (push) Waiting to run
Build Docker / Publish multi-platform Servatrice image (push) Blocked by required conditions
Replace deprecated Q_OS_MAC macro (#7900)
2026-11-13 10:27:29 +01:00
..
css [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00
filters [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00
groups [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00
html [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00
images [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00
js [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00
pages Replace deprecated Q_OS_MAC macro (#7900) 2026-11-13 10:27:29 +01:00
theme@46483f1e5a [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00
DoxygenLayout.xml [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00
README.md [Docs] Move documentation sources to docs/ and include CONTRIBUTING (#7584) 2026-11-07 17:47:10 +01:00

Building Doxygen Documentation

We use Doxygen for our code documentation.
After installing the tool, you can build a HTML webpage into the /docs-output folder according to our configuration:

doxygen Doxyfile

Open the index.html file in the /docs-output/html/ folder to browse the result locally.
There is also an online version we host at the Cockatrice webpage: cockatrice.github.io/docs

Doxygen's own documenation can be found at www.doxygen.nl/manual.


Doxygen Documentation Theme

Required changes to the Doxyfile config from the theme docs to make doxygen-awesome-css work:

HTML_EXTRA_STYLESHEET  = doxygen-awesome.css      # Main CSS file of the theme
GENERATE_TREEVIEW      = YES                      # Optional, also works without
HTML_COLORSTYLE        = LIGHT                    # Required with doxygen-awesome-css theme, Auto Dark Mode will still work
DISABLE_INDEX          = NO                       # YES is bugged in the theme, see jothepro/doxygen-awesome-css/issues/201
FULL_SIDEBAR           = NO                       # Required for doxygen-awesome-css theme

Cockatrice dedicated color adjustments are configured in the cockatrice_docs_style.css file that uses & overrides the theme definitions.