Skip to content

Commit

Permalink
Some adrdox related changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeWey committed Apr 20, 2021
1 parent dd08ce6 commit 67b498d
Show file tree
Hide file tree
Showing 8 changed files with 132 additions and 2 deletions.
8 changes: 7 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ifndef GIRTOD
endif
endif

ADRDOX?=doc2
ADRDOX?=adrdox

#######################################################################

Expand Down Expand Up @@ -163,6 +163,12 @@ docs:
cp -f docs/adrdox/style.css docs/api/
cp -f docs/adrdox/Logo.png docs/api/

docs-online:
$(ADRDOX) --jobs=1 --skeleton=docs/adrdox/skeleton-online.html --directory=docs/api/ --special-preprocessor=gtk generated/
cp -f docs/adrdox/style.css docs/api/
cp -f docs/adrdox/Logo.png docs/api/
cp -fr docs/adrdox/fonts/ docs/api/

#######################################################################

# -Isrc
Expand Down
Binary file added docs/adrdox/fonts/fontello.eot
Binary file not shown.
88 changes: 88 additions & 0 deletions docs/adrdox/fonts/fontello.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/adrdox/fonts/fontello.ttf
Binary file not shown.
Binary file added docs/adrdox/fonts/fontello.woff
Binary file not shown.
Binary file added docs/adrdox/fonts/fontello.woff2
Binary file not shown.
36 changes: 36 additions & 0 deletions docs/adrdox/skeleton-online.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<title>GtkD API Documentation</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div id="page-header">
<div id="logotype">
<a href="http://gtkd.org">
<img class="logo" src="Logo.png"/>
</a>
</div>

<div id="search-box">
<form method="get" action="https://google.com/search">
<input type="hidden" value="google-search" id="sourceid" name="sourceid" />
<input type="hidden" value="api.gtkd.org" id="domains" name="domains" />
<input type="hidden" value="api.gtkd.org" id="sitesearch" name="sitesearch" />
<span id="search-query"><input placeholder="Search" id="q" name="q" /></span>
<span id="search-submit"><button type="submit"><i class="fa fa-search"></i><span>go</span></button></span>
</form>
</div>
</div>
<div id="page-body">
<div id="page-content">
</div>
<div id="page-nav">
</div>
</div>
<div id="page-footer">Page generated by <a href="https://github.com/adamdruppe/adrdox">adrdox</a></div>
</body>
</html>

0 comments on commit 67b498d

Please sign in to comment.