Commit e64a0c10 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add the option build to the script build_version.

parent 3ea3d250
......@@ -67,7 +67,7 @@ def build():
compile_js()
build_html()
for doc in (API, REFERENCE, USER):
for doc in (USER,):
docsrc = opj(DOCSRC, doc)
if os.path.exists(docsrc):
......@@ -409,6 +409,10 @@ if __name__ == '__main__':
action="store_true",
help="build the API documentation in PDF.")
APS.add_argument("-b", "--build",
action="store_true",
help="build the javascript library and the documentation.")
APS.add_argument("-c", "--compile",
action="store_true",
help="compile the javascript library.")
......@@ -457,6 +461,9 @@ if __name__ == '__main__':
if ARGS.api_pdf:
build_pdf(API)
if ARGS.build:
build()
if ARGS.compile:
compile_js()
......
......@@ -209,10 +209,10 @@ htmlhelp_basename = 'track_publications_api_doc'
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
# 'papersize': 'letterpaper',
'papersize': 'a4paper',
# The font size ('10pt', '11pt' or '12pt').
# 'pointsize': '10pt',
'pointsize': '11pt',
# Additional stuff for the LaTeX preamble.
# 'preamble': '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment