Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: third_party/simplejson/scripts/make_docs.py

Issue 159607: Extension docs build script, gyp target and PRESUBMIT.PY check (Closed)
Patch Set: remove build step on mac Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/simplejson/index.rst ('k') | third_party/simplejson/setup.cfg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 import os
3 import subprocess
4 import shutil
5
6 SPHINX_BUILD = 'sphinx-build'
7
8 DOCTREES_DIR = 'build/doctrees'
9 HTML_DIR = 'docs'
10 for dirname in DOCTREES_DIR, HTML_DIR:
11 if not os.path.exists(dirname):
12 os.makedirs(dirname)
13
14 res = subprocess.call([
15 SPHINX_BUILD, '-d', DOCTREES_DIR, '-b', 'html', '.', 'docs',
16 ])
17 raise SystemExit(res)
OLDNEW
« no previous file with comments | « third_party/simplejson/index.rst ('k') | third_party/simplejson/setup.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698