id="svg8"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
sodipodi:docname="favicon.svg"
- inkscape:export-filename="/home/mosra/Code/magnum-website/m.css/doc/static/favicon.png"
+ inkscape:export-filename="/home/mosra/Code/magnum-website/m.css/doxygen/favicon-dark.png"
inkscape:export-xdpi="96.000008"
inkscape:export-ydpi="96.000008">
<defs
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.2"
- inkscape:cx="-5.0357758"
+ inkscape:cx="-32.625062"
inkscape:cy="-15.339316"
inkscape:document-units="px"
- inkscape:current-layer="layer1"
+ inkscape:current-layer="layer5"
showgrid="false"
units="px"
inkscape:snap-page="true"
</rdf:RDF>
</metadata>
<g
- inkscape:label="Vrstva 1"
inkscape:groupmode="layer"
- id="layer1"
- transform="translate(0,-292.76665)">
+ id="layer4"
+ inkscape:label="bg-light"
+ style="display:none">
+ <rect
+ y="292.76666"
+ x="0"
+ height="4.2333331"
+ width="4.2333331"
+ id="rect824"
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.52916664;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+ transform="translate(0,-292.76665)" />
+ </g>
+ <g
+ inkscape:groupmode="layer"
+ id="layer2"
+ inkscape:label="bg"
+ style="display:inline">
<rect
+ transform="translate(0,-292.76665)"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#22272e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.52916664;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="rect815"
width="4.2333331"
height="4.2333331"
x="0"
y="292.76666" />
+ </g>
+ <g
+ inkscape:label="mcss"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-292.76665)"
+ style="display:none">
<text
xml:space="preserve"
- style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:4.23333359px;line-height:6.61458302px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#c7cf2f;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;"
+ style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:4.23333359px;line-height:6.61458302px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#c7cf2f;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="2.1055541"
y="295.93744"
id="text838"><tspan
id="tspan836"
x="2.1055541"
y="295.93744"
- style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:4.23333359px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#c7cf2f;fill-opacity:1;stroke-width:0.26458332px;">m</tspan></text>
+ style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:4.23333359px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#c7cf2f;fill-opacity:1;stroke-width:0.26458332px">m</tspan></text>
+ </g>
+ <g
+ inkscape:groupmode="layer"
+ id="layer3"
+ inkscape:label="dox-dark"
+ style="display:inline">
+ <text
+ transform="translate(0,-292.76665)"
+ id="text820"
+ y="295.93744"
+ x="2.1055541"
+ style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:4.23333359px;line-height:6.61458302px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ xml:space="preserve"><tspan
+ style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:4.23333359px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke-width:0.26458332px"
+ y="295.93744"
+ x="2.1055541"
+ id="tspan818"
+ sodipodi:role="line">m</tspan></text>
+ </g>
+ <g
+ inkscape:groupmode="layer"
+ id="layer5"
+ inkscape:label="dox-light"
+ style="display:none">
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:4.23333359px;line-height:6.61458302px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;display:inline;fill:#2e2e2e;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="2.1055541"
+ y="295.93744"
+ id="text829"
+ transform="translate(0,-292.76665)"><tspan
+ sodipodi:role="line"
+ id="tspan827"
+ x="2.1055541"
+ y="295.93744"
+ style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:4.23333359px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro, Semi-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#2e2e2e;fill-opacity:1;stroke-width:0.26458332px">m</tspan></text>
</g>
</svg>
:ini:`TAGFILES` Used to discover what base URL to prepend to
external references
:ini:`HTML_EXTRA_STYLESHEET` List of CSS files to include. Relative paths
- are also searched relative to the
- ``dox2html5.py`` script. See below for more
+ are searched relative to the Doxyfile base dir
+ and to the ``dox2html5.py`` script dir as a
+ fallback. See `Theme selection`_ for more
information.
:ini:`HTML_EXTRA_FILES` List of extra files to copy (for example
additional CSS files that are :css:`@import`\ ed
- from the primary one). Relative paths are also
- searched relative to the ``dox2html5.py``
- script.
+ from the primary one). Relative paths are
+ searched relative to the Doxyfile base dir and
+ to the ``dox2html5.py`` script dir as a
+ fallback.
=============================== ===============================================
In addition, the m.css Doxygen theme recognizes the following extra options:
`Theme selection`_ for more information.
:ini:`M_FAVICON` Favicon URL, used to populate
:html:`<link rel="icon" />`. If empty, no
- :html:`<link>` tag is rendered.
+ :html:`<link>` tag is rendered. Relative
+ paths are searched relative to the Doxyfile
+ base dir and to the ``dox2html5.py`` script
+ dir as a fallback. See `Theme selection`_
+ for more information.
:ini:`M_LINKS_NAVBAR1` Left navbar column links. See
`Navbar links`_ for more information.
:ini:`M_LINKS_NAVBAR2` Right navbar column links. See
https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600 \
../css/m-dark+doxygen.compiled.css
M_THEME_COLOR = #22272e
+ M_FAVICON = favicon-dark.png
If you have a site already using the ``m-dark.compiled.css`` file, there's
another file called ``m-dark.doxygen.compiled.css``, which contains just the
https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700,700i%7CSource+Code+Pro:400,400i,600 \
../css/m-light+doxygen.compiled.css
M_THEME_COLOR = #cb4b16
+ M_FAVICON = favicon-light.png
See the `CSS files`_ section below for more information about customizing the
CSS files.
'M_FILE_TREE_EXPAND_LEVELS': ['1'],
'M_EXPAND_INNER_TYPES': ['NO'],
'M_THEME_COLOR': ['#22272e'],
- 'M_FAVICON': [],
+ 'M_FAVICON': ['favicon-dark.png'],
'M_LINKS_NAVBAR1': ['pages', 'namespaces'],
'M_LINKS_NAVBAR2': ['annotated', 'files'],
'M_PAGE_FINE_PRINT': ['[default]'],
f.write(base85encode_search_data(data))
# Copy all referenced files
- for i in state.images + state.doxyfile['HTML_EXTRA_STYLESHEET'] + state.doxyfile['HTML_EXTRA_FILES'] + ([] if state.doxyfile['M_SEARCH_DISABLED'] else ['search.js']):
+ for i in state.images + state.doxyfile['HTML_EXTRA_STYLESHEET'] + state.doxyfile['HTML_EXTRA_FILES'] + ([state.doxyfile['M_FAVICON'][0]] if state.doxyfile['M_FAVICON'] else []) + ([] if state.doxyfile['M_SEARCH_DISABLED'] else ['search.js']):
# Skip absolute URLs
if urllib.parse.urlparse(i).netloc: continue
<link rel="stylesheet" href="{{ css|basename_or_url|e }}" />
{% endfor %}
{% if M_FAVICON %}
- <link rel="icon" href="{{ M_FAVICON[0] }}" type="{{ M_FAVICON[1] }}" />
+ <link rel="icon" href="{{ M_FAVICON[0]|basename_or_url|e }}" type="{{ M_FAVICON[1] }}" />
{% endif %}
{% block header_links %}
{% endblock %}
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_EXPAND_INNER_TYPES = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_SEARCH_DISABLED = YES
# Keeping navbar enabled so we can test for highlighted items
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 = modules
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
PROJECT_BRIEF = "is cool"
M_THEME_COLOR = 00ffff
-M_FAVICON = favicon.png
+M_FAVICON = favicon-light.png
M_PAGE_HEADER = "<p><a href=\"{filename}\">A self link</a>.</p>"
M_PAGE_FINE_PRINT = "<p><a href=\"http://doxygen.org\">Doxygen</a> version {doxygen_version}.</p>"
M_LINKS_NAVBAR1 = "files pages namespaces" \
<title>A project is cool</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
<link rel="stylesheet" href="m-dark+doxygen.compiled.css" />
- <link rel="icon" href="favicon.png" type="image/png" />
+ <link rel="icon" href="favicon-light.png" type="image/png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="00ffff" />
</head>
<title>My Project</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
<link rel="stylesheet" href="m-dark+doxygen.compiled.css" />
+ <link rel="icon" href="favicon-dark.png" type="image/png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#22272e" />
</head>
<title>My Project</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
<link rel="stylesheet" href="m-dark+doxygen.compiled.css" />
+ <link rel="icon" href="favicon-dark.png" type="image/png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#22272e" />
</head>
XML_OUTPUT =
-M_LINKS_NAVBAR1 = pages \
- namespaces \
- annotated \
- files
-M_LINKS_NAVBAR2 =
-M_PAGE_FINE_PRINT =
-M_THEME_COLOR =
+M_LINKS_NAVBAR1 = pages \
+ namespaces \
+ annotated \
+ files
+M_LINKS_NAVBAR2 =
+M_PAGE_FINE_PRINT =
+M_THEME_COLOR =
+M_FAVICON =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DOWNLOAD_BINARY = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 = "page-in-navbar pages page-b" \
"page-b"
M_LINKS_NAVBAR2 = "page-b" \
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DISABLED = YES
M_PAGE_FINE_PRINT =
M_THEME_COLOR =
+M_FAVICON =
M_LINKS_NAVBAR1 =
M_LINKS_NAVBAR2 =
M_SEARCH_DOWNLOAD_BINARY = YES
'HTML_OUTPUT': 'html',
'M_CLASS_TREE_EXPAND_LEVELS': 1,
'M_EXPAND_INNER_TYPES': False,
- 'M_FAVICON': '',
+ 'M_FAVICON': 'favicon-dark.png',
'M_FILE_TREE_EXPAND_LEVELS': 1,
'M_LINKS_NAVBAR1': ['pages', 'namespaces'],
'M_LINKS_NAVBAR2': ['annotated', 'files'],
self.assertTrue(os.path.exists(os.path.join(self.path, 'html', 'm-dark+doxygen.compiled.css')))
self.assertTrue(os.path.exists(os.path.join(self.path, 'html', 'search.js')))
self.assertTrue(os.path.exists(os.path.join(self.path, 'html', 'searchdata.js')))
+ self.assertTrue(os.path.exists(os.path.join(self.path, 'html', 'favicon-light.png')))
class LayoutGeneratedDoxyfile(BaseTestCase):
def __init__(self, *args, **kwargs):