mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
theme doxygen
This commit is contained in:
parent
b41366a43b
commit
40e3ae5618
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,7 +7,6 @@ venv/
|
||||
.DS_Store
|
||||
ctx.c
|
||||
expected/
|
||||
docs/
|
||||
|
||||
# Assets
|
||||
assets
|
||||
@ -18,3 +17,4 @@ assets
|
||||
*.bin
|
||||
bin/
|
||||
build/
|
||||
docs/doxygen/
|
||||
|
10
Doxyfile
10
Doxyfile
@ -67,9 +67,9 @@ SOURCE_BROWSER = YES
|
||||
INLINE_SOURCES = NO
|
||||
STRIP_CODE_COMMENTS = YES
|
||||
REFERENCED_BY_RELATION = YES
|
||||
REFERENCES_RELATION = YES
|
||||
REFERENCES_RELATION = NO
|
||||
REFERENCES_LINK_SOURCE = NO
|
||||
SOURCE_TOOLTIPS = NO
|
||||
SOURCE_TOOLTIPS = YES
|
||||
USE_HTAGS = NO
|
||||
VERBATIM_HEADERS = NO
|
||||
|
||||
@ -79,9 +79,9 @@ IGNORE_PREFIX =
|
||||
|
||||
GENERATE_HTML = YES
|
||||
HTML_OUTPUT = doxygen
|
||||
HTML_HEADER =
|
||||
HTML_HEADER = docs/doxygen_header.html
|
||||
HTML_FOOTER =
|
||||
HTML_EXTRA_STYLESHEET =
|
||||
HTML_EXTRA_STYLESHEET = docs/doxygen_custom.css
|
||||
HTML_EXTRA_FILES =
|
||||
HTML_COLORSTYLE_HUE = 220
|
||||
HTML_COLORSTYLE_SAT = 100
|
||||
@ -103,7 +103,7 @@ GENERATE_LATEX = NO
|
||||
ENABLE_PREPROCESSING = YES
|
||||
MACRO_EXPANSION = YES
|
||||
EXPAND_ONLY_PREDEF = YES
|
||||
PREDEFINED = NON_MATCHING __attribute__((x))=
|
||||
PREDEFINED = DOXYGEN NON_MATCHING __attribute__((x))=
|
||||
EXPAND_AS_DEFINED = INCLUDE_ASM
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
|
||||
|
150
docs/doxygen_custom.css
Normal file
150
docs/doxygen_custom.css
Normal file
@ -0,0 +1,150 @@
|
||||
/* typography */
|
||||
|
||||
body, table, div, p, dl { font: inherit }
|
||||
|
||||
body, table, div, p, dl, p.reference, p.definition, .memberdecls .header {
|
||||
color: #121212;
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
|
||||
}
|
||||
|
||||
:root { font-size: 10px } /* rem multiplier */
|
||||
h1 { font-size: 3rem; }
|
||||
h2 { font-size: 2.25rem; }
|
||||
h3 { font-size: 1.5rem; }
|
||||
h4 { font-size: 1.25rem; }
|
||||
h5 { font-size: 1rem; }
|
||||
h6 { font-size: .875rem; }
|
||||
h1, h2, h3, h4, h5, h6 { margin-bottom: 3px }
|
||||
h1 { border-bottom: 1px solid #eee }
|
||||
|
||||
.contents a:any-link { color: #357edd }
|
||||
.contents a.visited { color: #5e2ca5 }
|
||||
|
||||
p.reference, p.definition { color: #959da5; font-weight: normal; font-size: 11px; line-height: 1.2 }
|
||||
p.reference a, p.definition a { color: #959da5 !important }
|
||||
p.reference a:hover, p.definition a:hover { color: #357edd }
|
||||
|
||||
.memname, .fragment, .memberdecls, .fragment .line, code {
|
||||
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
}
|
||||
|
||||
#PageDoc, .content, p {
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
color: #1b1f23;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color: #eee;
|
||||
margin: 2em;
|
||||
}
|
||||
|
||||
/* layout */
|
||||
|
||||
html { height: 100% }
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
width: 100%;
|
||||
max-width: 1000px;
|
||||
min-height: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#side-nav {
|
||||
position: relative;
|
||||
width: 250px !important;
|
||||
}
|
||||
|
||||
.ui-resizable-handle, #nav-sync { display: none !important }
|
||||
|
||||
#doc-content {
|
||||
margin-left: 0 !important;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#nav-path { display: none } /* hide footer */
|
||||
#MathJax_Message { display: none } /* hide "MathJax loading..." message */
|
||||
|
||||
#MSearchBox {
|
||||
position: fixed;
|
||||
top: 1em;
|
||||
right: 1em;
|
||||
}
|
||||
|
||||
.contents {
|
||||
font-size: 16px;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
|
||||
/*
|
||||
table {
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
.memItemLeft { width: 32ch }
|
||||
*/
|
||||
|
||||
/* cleaning */
|
||||
|
||||
#details + .groupheader,
|
||||
.definition,
|
||||
.memtitle,
|
||||
.contents > p:first-child > a:first-child /* "Go to the source code of this file." */
|
||||
{ display: none }
|
||||
|
||||
table.memname * {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* candy */
|
||||
|
||||
div.fragment, .memproto {
|
||||
padding: 16px;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
background: #f6f8fa;
|
||||
}
|
||||
|
||||
div.fragment div.line {
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: .2em .4em;
|
||||
margin: 0;
|
||||
font-size: 85%;
|
||||
background: #f6f8fa;
|
||||
}
|
||||
|
||||
.memitem {
|
||||
display: block !important;
|
||||
border-left: 1px solid #eee;
|
||||
padding-left: 1em;
|
||||
margin: 1em 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.memproto {
|
||||
padding: 8px;
|
||||
margin-bottom: .5em;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.memname {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.memdoc {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
}
|
22
docs/doxygen_header.html
Normal file
22
docs/doxygen_header.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!doctype html>
|
||||
<html lang='en'> <!-- closed by doxygen-->
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta name='generator' content='Doxygen $doxygenversion'>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
|
||||
<!--BEGIN PROJECT_NAME--><title>$title - $projectname Documentation</title><!--END PROJECT_NAME-->
|
||||
<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME-->
|
||||
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<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
|
||||
</head>
|
||||
|
||||
<body> <!-- closed by doxygen-->
|
||||
<div> <!-- closed by doxygen-->
|
||||
$searchbox
|
Loading…
Reference in New Issue
Block a user