doc: add a custom doxygen theme based on doxygen-awesome

Theme from doxygen-awesome-css with custom modifications based on the
pipewire.org website to use the same type of blue, grey, etc.

doxygen-awesome-css is MIT licensed, see
https://github.com/jothepro/doxygen-awesome-css
This commit is contained in:
Peter Hutterer 2021-05-21 14:53:48 +10:00
parent cbe29c070c
commit 079b90bde5
4 changed files with 1386 additions and 1 deletions

View file

@ -41,7 +41,13 @@ foreach extra : extra_docs
inputs += meson.source_root() / 'doc' / extra
endforeach
cssfiles = [
meson.source_root() / 'doc' / 'doxygen-awesome.css',
meson.source_root() / 'doc' / 'custom.css'
]
doxyfile_conf.set('inputs', ' '.join(inputs))
doxyfile_conf.set('cssfiles', ' '.join(cssfiles))
doxyfile = configure_file(input: 'Doxyfile.in',
output: 'Doxyfile',
@ -53,7 +59,7 @@ if docdir == ''
endif
html_target = custom_target('pipewire-docs',
input: [ doxyfile ] + inputs,
input: [ doxyfile ] + inputs + cssfiles,
output: [ 'html' ],
command: [ doxygen, doxyfile ],
install: true,