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/.gitignore | 1 - docs/Makefile | 3 ++- docs/_themes | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 160000 docs/_themes (limited to 'docs') diff --git a/docs/.gitignore b/docs/.gitignore index 1e9e0413c..d4e11e5ea 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,3 +1,2 @@ _build -_themes 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 diff --git a/docs/_themes b/docs/_themes new file mode 160000 index 000000000..53898ec57 --- /dev/null +++ b/docs/_themes @@ -0,0 +1 @@ +Subproject commit 53898ec579a1c31e8780824c0a255eca004e0e56 -- 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') 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