Commit 855bc29d authored by Mike Wey's avatar Mike Wey
Browse files

Add files to generate documentation with adrdox.

parent 0893ff56
......@@ -73,6 +73,8 @@ ifndef GIRTOD
endif
endif
ADRDOX?=doc2
#######################################################################
GTKD_VERSION=3.9.0
......@@ -154,6 +156,14 @@ $(GIRTOD):
#######################################################################
.PHONY: docs
docs:
$(ADRDOX) --genSearchIndex --skeleton=docs/adrdox/skeleton.html --directory=docs/api/ --special-preprocessor=gtk generated/
cp -f docs/adrdox/style.css docs/api/
cp -f docs/adrdox/Logo.png docs/api/
#######################################################################
# -Isrc
ifeq ("$(OS)","Darwin")
......
<!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>
<!-- You should delete this line if you don't want to use
the JS-based search as it exists just to optimize that. -->
<link rel="prefetch" href="search-results.html" />
</head>
<body>
<div id="page-header">
<div id="logotype">
<a href="http://gtkd.org">
<img class="logo" src="Logo.png"/>
</a>
</div>
<form id="search" action="search-docs.html">
<input placeholder="Find a symbol name..." type="search" name="searchTerm" />
<input type="submit" value="Go" />
</form>
</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>
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment