diff options
| -rw-r--r-- | docs/Makefile | 11 | ||||
| -rw-r--r-- | docs/footer.html | 2 | ||||
| -rw-r--r-- | docs/footer.jd | 0 | ||||
| -rw-r--r-- | docs/header.html | 10 | ||||
| -rw-r--r-- | docs/header.jd | 3 |
5 files changed, 17 insertions, 9 deletions
diff --git a/docs/Makefile b/docs/Makefile index 5104d81c20..c655e0c09b 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,13 +1,12 @@ HEADERS := $(wildcard ../include/android/*.h) -all: html jd +all: html website html: $(HEADERS) Doxyfile mkdir -p html doxygen -jd: $(HEADERS) Doxyfile header.jd - mkdir -p jd - HTML_HEADER=header.jd HTML_FOOTER=footer.jd HTML_OUTPUT=jd doxygen - for file in jd/*.html; do mv "$${file}" "$${file/.html/.jd}"; done - rm -f jd/index.jd +website: $(HEADERS) Doxyfile header.html + mkdir -p website + HTML_HEADER=header.html HTML_FOOTER=footer.html HTML_OUTPUT=website doxygen + rm -f website/index.html diff --git a/docs/footer.html b/docs/footer.html new file mode 100644 index 0000000000..308b1d01b6 --- /dev/null +++ b/docs/footer.html @@ -0,0 +1,2 @@ +</body> +</html> diff --git a/docs/footer.jd b/docs/footer.jd deleted file mode 100644 index e69de29bb2..0000000000 --- a/docs/footer.jd +++ /dev/null diff --git a/docs/header.html b/docs/header.html new file mode 100644 index 0000000000..04727b3dab --- /dev/null +++ b/docs/header.html @@ -0,0 +1,10 @@ +<html devsite> +<head> + <meta name="top_category" value="ndk" /> + <meta name="subcategory" value="reference" /> + <meta name="book_path" value="/ndk/reference/_book.yaml" /> + <title>$title</title> + <link rel="stylesheet" type="text/css" href="doxygen-dac.css"> +</head> +<body> +<div id="top"><!-- we must have this tag, it's closed by doxygen. ¯\_(ツ)_/¯ --> diff --git a/docs/header.jd b/docs/header.jd deleted file mode 100644 index e50f41b03b..0000000000 --- a/docs/header.jd +++ /dev/null @@ -1,3 +0,0 @@ -page.title=$title -page.customHeadTag=<link rel="stylesheet" type="text/css" href="doxygen-dac.css"> -@jd:body |