summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py2
1 files changed, 1 insertions, 1 deletions
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):