From 11129ca073b4926037368d9a0bf079dc422e28f7 Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Sat, 26 Nov 2011 18:30:21 -0500 Subject: updated current docs to use in progress badge --- docs/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/conf.py b/docs/conf.py index c78285840..f97ad1547 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -147,6 +147,7 @@ html_theme = 'pyramid' html_theme_options = { 'github_url': 'https://github.com/Pylons/pyramid' + 'in_progress': True } # The style sheet to use for HTML and HTML Help pages. A file of that name -- cgit v1.2.3 From a3a2186ab501f68de43c76d7d30194169360dc0e Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Sat, 26 Nov 2011 19:17:51 -0500 Subject: =?UTF-8?q?gardening=E2=80=A6=20dumb=20me=20:(?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 4010cf111..895f80344 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -146,7 +146,7 @@ html_theme_path = ['_themes'] html_theme = 'pyramid' html_theme_options = { - 'github_url': 'https://github.com/Pylons/pyramid' + 'github_url': 'https://github.com/Pylons/pyramid', 'in_progress': True } -- cgit v1.2.3 From ecf7a2b8ec62c542aed17558d2525f495a72ae3b Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Sat, 26 Nov 2011 20:02:56 -0500 Subject: attempted to fix theme update for rtd --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 895f80344..e37e758ce 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,6 +38,7 @@ LaTeXTranslator.visit_inline = nothing LaTeXTranslator.depart_inline = nothing book = os.environ.get('BOOK') +rtd = os.environ.get('READTHEDOCS', None) == 'True' # If your extensions are in another directory, add it here. If the directory # is relative to the documentation root, use os.path.abspath to make it @@ -47,6 +48,8 @@ sys.path.append(os.path.abspath(parent)) wd = os.getcwd() os.chdir(parent) os.system('%s setup.py test -q' % sys.executable) +if rtd: + os.system('git submodule update --init') os.chdir(wd) for item in os.listdir(parent): -- cgit v1.2.3 From ecf932c51b8f279199c68fc4925a2cdd0b0671a7 Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Sat, 26 Nov 2011 21:12:53 -0500 Subject: fix for themes on rtd --- docs/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index e37e758ce..39b6e7a04 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,7 +49,10 @@ wd = os.getcwd() os.chdir(parent) os.system('%s setup.py test -q' % sys.executable) if rtd: - os.system('git submodule update --init') + from subprocess import Popen, PIPE + p = subprocess.Popen('which git', shell=True, stdout=subprocess.PIPE) + git = p.stdout.read().strip() + os.system('rm -Rf docs/_themes; {0} submodule update --init'.format(git)) os.chdir(wd) for item in os.listdir(parent): -- cgit v1.2.3 From 9016fe3416407481176df2360335affc15d6255c Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Sat, 26 Nov 2011 21:14:53 -0500 Subject: garden --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 39b6e7a04..97294d245 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,7 +50,7 @@ os.chdir(parent) os.system('%s setup.py test -q' % sys.executable) if rtd: from subprocess import Popen, PIPE - p = subprocess.Popen('which git', shell=True, stdout=subprocess.PIPE) + p = subprocess.Popen('which git', shell=True, stdout=PIPE) git = p.stdout.read().strip() os.system('rm -Rf docs/_themes; {0} submodule update --init'.format(git)) os.chdir(wd) -- cgit v1.2.3 From 6a10cd1156095bec367d89d8c13b6a11a5f8c254 Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Sat, 26 Nov 2011 21:16:41 -0500 Subject: =?UTF-8?q?garden=E2=80=A6=20time=20for=20me=20to=20get=20some=20r?= =?UTF-8?q?est=20I=20think=20:(?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 97294d245..f751c32e6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,7 +50,7 @@ os.chdir(parent) os.system('%s setup.py test -q' % sys.executable) if rtd: from subprocess import Popen, PIPE - p = subprocess.Popen('which git', shell=True, stdout=PIPE) + p = Popen('which git', shell=True, stdout=PIPE) git = p.stdout.read().strip() os.system('rm -Rf docs/_themes; {0} submodule update --init'.format(git)) os.chdir(wd) -- cgit v1.2.3 From afe7a786bd2a75b7c9d36f58856b72b6978ef617 Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Sat, 26 Nov 2011 22:27:43 -0500 Subject: work around for submodule not updating to latest commit --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index f751c32e6..874425808 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,7 +52,7 @@ if rtd: from subprocess import Popen, PIPE p = Popen('which git', shell=True, stdout=PIPE) git = p.stdout.read().strip() - os.system('rm -Rf docs/_themes; {0} submodule update --init'.format(git)) + os.system('{0} submodule update --init; {0} foreach git pull origin master'.format(git)) os.chdir(wd) for item in os.listdir(parent): -- cgit v1.2.3 From 9396b476bab8a2fb885c65791b2150d74ceac122 Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Sat, 26 Nov 2011 22:35:48 -0500 Subject: git submodule missing --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 874425808..4a39f5d64 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,7 +52,7 @@ if rtd: from subprocess import Popen, PIPE p = Popen('which git', shell=True, stdout=PIPE) git = p.stdout.read().strip() - os.system('{0} submodule update --init; {0} foreach git pull origin master'.format(git)) + os.system('{0} submodule update --init; {0} submodule foreach git pull origin master;'.format(git)) os.chdir(wd) for item in os.listdir(parent): -- cgit v1.2.3