Skip to content

Commit

Permalink
Add a GitHub logo to the Doxygen footer
Browse files Browse the repository at this point in the history
This logo is with a link to the Upa URL repository.
  • Loading branch information
rmisev committed Aug 1, 2024
1 parent 35c04cb commit 1a18bad
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ HTML_HEADER = doc/header.html
# that doxygen normally uses.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_FOOTER =
HTML_FOOTER = doc/footer.html

# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
# sheet that is used by each HTML page. It can be used to fine-tune the look of
Expand Down
1 change: 1 addition & 0 deletions doc/common/github-mark-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions doc/common/github-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions doc/common/version-select.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,18 @@
cursor: pointer;
line-height: inherit;
}

.github-mark {
display: inline-block;
width: 20px;
height: 20px;
background-color: var(--page-background-color);
background-image: url(github-mark.svg);
background-repeat: no-repeat;
background-size: 20px;
vertical-align: middle;
}

html.dark-mode .github-mark {
background-image: url(github-mark-white.svg);
}
1 change: 1 addition & 0 deletions doc/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ul>
$navpath
<li class="footer">$generatedby <a href="https://www.doxygen.org/index.html"><img class="footer" src="$relpath^doxygen.svg" width="104" height="31" alt="doxygen"/></a> $doxygenversion </li>
<li class="footer"><a target="_blank" href="https://github.com/upa-url/upa"><span class="github-mark"></span></a></li>
</ul>
</div>
<!--END GENERATE_TREEVIEW-->
Expand Down

0 comments on commit 1a18bad

Please sign in to comment.