Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
e64a0c10
Commit
e64a0c10
authored
Nov 11, 2015
by
LE GAC Renaud
Browse files
Add the option build to the script build_version.
parent
3ea3d250
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
build_version.py
build_version.py
+8
-1
docs/api/conf.py
docs/api/conf.py
+2
-2
No files found.
build_version.py
View file @
e64a0c10
...
...
@@ -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
()
...
...
docs/api/conf.py
View file @
e64a0c10
...
...
@@ -209,10 +209,10 @@ htmlhelp_basename = 'track_publications_api_doc'
latex_elements
=
{
# The paper size ('letterpaper' or 'a4paper').
#
'papersize': '
letter
paper',
'papersize'
:
'
a4
paper'
,
# The font size ('10pt', '11pt' or '12pt').
#
'pointsize': '1
0
pt',
'pointsize'
:
'1
1
pt'
,
# Additional stuff for the LaTeX preamble.
# 'preamble': '',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment