Finish configuring Doxygen.

Fix #4 - Add theming support to Doxygen
This commit is contained in:
S David 2022-08-23 23:20:47 -04:00
parent dc85fe72d2
commit 3ece8768c4
6 changed files with 176 additions and 2 deletions

3
.gitignore vendored
View File

@ -97,7 +97,8 @@ build-*/*
test-*.log
compile_commands.json
*.bak
docs/*
docs/html
docs/man
tags
*cache
.DS_Store

View File

@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "Ascension"
PROJECT_NAME = "Ascensdant"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version

99
docs/extra/dark-mode.css Normal file
View File

@ -0,0 +1,99 @@
body, dl.reflist dd, span.lineno, a.line
{
background-color: #181A1B;
color: #AEADA3;
}
a {
color: #C3C2B7 !important;
text-shadow: none !important;
}
a:visited {
color: #8D8D8D !important;
text-shadow: none !important;
}
dt, dt {
background-color: #282828 !important;
background-image: none !important;
color: #AEADA3 !important;
}
.memproto, dl.reflist dt {
text-shadow: none !important;
}
.contents .directory {
color: #AEADA3 !important;
}
.memtitle, .memproto, .navpath ul,ul.sm, ul.sm-dox, .sm-dox a, .sm-dox a:focus, .sm-dox a:hover, .sm-dox a:active
{
background-image: none !important;
background-color: #282828 !important;
color: #AEADA3 !important;
text-shadow: none !important;
border-color: #1C1C1C !important;
}
.memdoc {
border-bottom: 1px dotted #1C1C1C !important;
border-left: 1px solid #1C1C1C !important;
border-right: 1px solid #1C1C1C !important;
}
.directory {
color
}
tr.heading h2, tr.heading h3, tr.heading h1, h2.groupheader {
color: #AEADA3 !important;
}
.memdoc, tr.even, tr > td.memItemLeft, tr > td.memItemRight, div.memtemplate
{
background-image: none !important;
background-color: #292929 !important;
color: #AEADA3 !important;
}
div {
border-color: grey !important;
}
div.fragment,div.textBlock, div.compoundTemplParams, div.headertitle, p.definition
{
background-image: none !important;
background-color: #292929 !important;
color: #AEADA3 !important;
}
td.mdescLeft, td.mdescRight {
background-image: none !important;
background-color: #292929 !important;
color: #AEADA3 !important;
}
img {
filter: invert(80%) hue-rotate(180deg) saturate(400%) drop-shadow(1.5pt 1pt 1px black);
}
#MSearchBox {
background-color: #282828 !important;
border-color: #353535 !important;
}
div.line
{
font-family: Monaco, Menlo, monospace, fixed !important;
}
/* vim: sts=4 ts=4 expandtab sw=4 : */

BIN
docs/extra/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

74
docs/extra/headerFile Normal file
View File

@ -0,0 +1,74 @@
<!-- HTML header for doxygen 1.9.3-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen $doxygenversion"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME-->
<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME-->
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
<!--BEGIN DISABLE_INDEX-->
<!--BEGIN FULL_SIDEBAR-->
<script type="text/javascript">var page_layout=1;</script>
<!--END FULL_SIDEBAR-->
<!--END DISABLE_INDEX-->
<script type="text/javascript" src="$relpath^jquery.js"></script>
<script type="text/javascript" src="$relpath^dynsections.js"></script>
$treeview
$search
$mathjax
<link href="$relpath^$stylesheet" rel="stylesheet" type="text/css" />
$extrastylesheet
<link rel="shortcut icon" href="$relpath^favicon.png" type="image/x-icon" />
</head>
<body>
<!--BEGIN DISABLE_INDEX-->
<!--BEGIN FULL_SIDEBAR-->
<div id="side-nav" class="ui-resizable side-nav-resizable"><!-- do not remove this div, it is closed by doxygen! -->
<!--END FULL_SIDEBAR-->
<!--END DISABLE_INDEX-->
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!--BEGIN TITLEAREA-->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<!--BEGIN PROJECT_LOGO-->
<td id="projectlogo"><img alt="Logo" src="$relpath^$projectlogo"/></td>
<!--END PROJECT_LOGO-->
<!--BEGIN PROJECT_NAME-->
<td id="projectalign">
<div id="projectname">$projectname<!--BEGIN PROJECT_NUMBER--><span id="projectnumber">&#160;$projectnumber</span><!--END PROJECT_NUMBER-->
</div>
<!--BEGIN PROJECT_BRIEF--><div id="projectbrief">$projectbrief</div><!--END PROJECT_BRIEF-->
</td>
<!--END PROJECT_NAME-->
<!--BEGIN !PROJECT_NAME-->
<!--BEGIN PROJECT_BRIEF-->
<td>
<div id="projectbrief">$projectbrief</div>
</td>
<!--END PROJECT_BRIEF-->
<!--END !PROJECT_NAME-->
<!--BEGIN DISABLE_INDEX-->
<!--BEGIN SEARCHENGINE-->
<!--BEGIN !FULL_SIDEBAR-->
<td>$searchbox</td>
<!--END !FULL_SIDEBAR-->
<!--END SEARCHENGINE-->
<!--END DISABLE_INDEX-->
</tr>
<!--BEGIN SEARCHENGINE-->
<!--BEGIN FULL_SIDEBAR-->
<tr><td colspan="2">$searchbox</td></tr>
<!--END FULL_SIDEBAR-->
<!--END SEARCHENGINE-->
</tbody>
</table>
</div>
<!--END TITLEAREA-->
<!-- end header part -->

BIN
docs/extra/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB