From 9c882f2d988c21fd6aaff78ea01b0b153d98cbf2 Mon Sep 17 00:00:00 2001 From: Henk Muller Date: Mon, 31 Oct 2011 09:52:25 +0000 Subject: [PATCH 1/2] Added build directories in doc to standard .gitignore --- .gitignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1dce509..2dff8bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -*/.build_*/* +*/.build*/* */bin/* *.o *.xe @@ -7,3 +7,7 @@ *.xi *.i *.a +doc/.doxygen/ +doc/.sources/ +doc/Doxyfile-e +doc/_build/ From 6ca59826d3c8ab81f632e81e08bb416d2f9e2626 Mon Sep 17 00:00:00 2001 From: Henk Muller Date: Mon, 31 Oct 2011 09:58:08 +0000 Subject: [PATCH 2/2] Added default Makefile for documentation --- doc/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/Makefile diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..ffd774b --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,28 @@ +# Change this line to reflect your repo name +# +REPO=../../xcore_template + +# +# Change this line to title your repo documentation +# +SPHINX_PROJECT_NAME=XCore Template + +# +# Set the version number to something appropriate, eg +# VERSION=0v1 +# +VERSION=0v1 + +# +# Add all module names here eg +# DOXYGEN_DIRS=$(REPO)/module_bob $(REPO)/module_john +# +DOXYGEN_DIRS= + +#========== Nothing needs changing beyond this point +SOURCE_INCLUDE_DIRS=$(REPO) +XDOC_DIR ?= ../../xdoc +include $(XDOC_DIR)/Makefile.inc + +all: html pdf + @if [ ! -d $(REPO)_gh_pages ] ; then echo '**** no gh_pages checked out ****'; exit 0; else cp -r _build/html/* $(REPO)_gh_pages/; cp -r _build/html/.doctrees $(REPO)_gh_pages/; echo 'HTML files copied to $(REPO)_gh_pages'; echo 'Now go to $(REPO)_gh_pages, add, commit, and push to publish the documentation'; fi