Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
b18f783f
Commit
b18f783f
authored
May 18, 2016
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add string.h to the docs
parent
b6c0cf96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
doc/build.py
doc/build.py
+3
-8
No files found.
doc/build.py
View file @
b18f783f
...
@@ -9,11 +9,6 @@ from distutils.version import LooseVersion
...
@@ -9,11 +9,6 @@ from distutils.version import LooseVersion
def
pip_install
(
package
,
commit
=
None
,
**
kwargs
):
def
pip_install
(
package
,
commit
=
None
,
**
kwargs
):
"Install package using pip."
"Install package using pip."
if
commit
:
if
commit
:
check_version
=
kwargs
.
get
(
'check_version'
,
''
)
#output = check_output(['pip', 'show', package.split('/')[1]])
#if check_version in output:
# print('{} already installed'.format(package))
# return
package
=
'git+git://github.com/{0}.git@{1}'
.
format
(
package
,
commit
)
package
=
'git+git://github.com/{0}.git@{1}'
.
format
(
package
,
commit
)
print
(
'Installing {}'
.
format
(
package
))
print
(
'Installing {}'
.
format
(
package
))
check_call
([
'pip'
,
'install'
,
'--upgrade'
,
package
])
check_call
([
'pip'
,
'install'
,
'--upgrade'
,
package
])
...
@@ -49,7 +44,7 @@ def create_build_env():
...
@@ -49,7 +44,7 @@ def create_build_env():
'12dde8afdb0a7bb5576e2656692c3478c69d8cc3'
,
'12dde8afdb0a7bb5576e2656692c3478c69d8cc3'
,
check_version
=
'1.4a0.dev-20151013'
)
check_version
=
'1.4a0.dev-20151013'
)
pip_install
(
'michaeljones/breathe'
,
pip_install
(
'michaeljones/breathe'
,
'
1c9d7f80378a92cffa755084823a78bb38ee4acc
'
)
'
6b1c5bb7a1866f15fc328b8716258354b10c1daa
'
)
def
build_docs
(
version
=
'dev'
,
**
kwargs
):
def
build_docs
(
version
=
'dev'
,
**
kwargs
):
doc_dir
=
kwargs
.
get
(
'doc_dir'
,
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)))
doc_dir
=
kwargs
.
get
(
'doc_dir'
,
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)))
...
@@ -63,7 +58,7 @@ def build_docs(version='dev', **kwargs):
...
@@ -63,7 +58,7 @@ def build_docs(version='dev', **kwargs):
GENERATE_MAN = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
GENERATE_RTF = NO
CASE_SENSE_NAMES = NO
CASE_SENSE_NAMES = NO
INPUT = {0}/format.h {0}/ostream.h
INPUT = {0}/format.h {0}/ostream.h
{0}/string.h
QUIET = YES
QUIET = YES
JAVADOC_AUTOBRIEF = YES
JAVADOC_AUTOBRIEF = YES
AUTOLINK_SUPPORT = NO
AUTOLINK_SUPPORT = NO
...
@@ -87,7 +82,7 @@ def build_docs(version='dev', **kwargs):
...
@@ -87,7 +82,7 @@ def build_docs(version='dev', **kwargs):
'-Dversion='
+
version
,
'-Drelease='
+
version
,
'-Aversion='
+
version
,
'-Dversion='
+
version
,
'-Drelease='
+
version
,
'-Aversion='
+
version
,
'-b'
,
'html'
,
doc_dir
,
'html'
])
'-b'
,
'html'
,
doc_dir
,
'html'
])
try
:
try
:
check_call
([
'lessc'
,
'--clean-css'
,
check_call
([
'lessc'
,
#
'--clean-css',
'--include-path='
+
os
.
path
.
join
(
doc_dir
,
'bootstrap'
),
'--include-path='
+
os
.
path
.
join
(
doc_dir
,
'bootstrap'
),
os
.
path
.
join
(
doc_dir
,
'fmt.less'
),
os
.
path
.
join
(
doc_dir
,
'fmt.less'
),
'html/_static/fmt.css'
])
'html/_static/fmt.css'
])
...
...
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