From 94c2dc0bae9cf14cc6a5548119933e4477d07042 Mon Sep 17 00:00:00 2001 From: cguardia Date: Mon, 18 Apr 2011 15:14:24 -0500 Subject: test adding theme as a submodule --- docs/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/Makefile') diff --git a/docs/Makefile b/docs/Makefile index 1d032cf45..3fbf56d0a 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -85,4 +85,5 @@ epub: @echo "Build finished. The epub file is in _build/epub." _themes: - git clone git://github.com/Pylons/pylons_sphinx_theme.git _themes + git submodule init + git submodule update -- cgit v1.2.3 From f2d5cb59deba682d7c1d461ab5e90ba1802d42ac Mon Sep 17 00:00:00 2001 From: cguardia Date: Mon, 18 Apr 2011 21:41:37 -0500 Subject: fixed makefile to update theme submodule correctly --- docs/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs/Makefile') diff --git a/docs/Makefile b/docs/Makefile index 3fbf56d0a..21e91d114 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -25,7 +25,7 @@ help: clean: -rm -rf _build/* -html: _themes +html: theme mkdir -p _build/html _build/doctrees $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html @echo @@ -47,7 +47,7 @@ pickle: web: pickle -htmlhelp: _themes +htmlhelp: theme mkdir -p _build/htmlhelp _build/doctrees $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp @echo @@ -84,6 +84,5 @@ epub: @echo @echo "Build finished. The epub file is in _build/epub." -_themes: - git submodule init - git submodule update +theme: + cd ..;git submodule update --init;cd docs -- cgit v1.2.3