mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-14 09:39:08 +01:00
Move CSS compilation to build.py for use by Travis
This commit is contained in:
@@ -58,8 +58,8 @@ def build_docs():
|
||||
raise CalledProcessError(p.returncode, cmd)
|
||||
check_call(['sphinx-build', '-D', 'breathe_projects.format=doxyxml',
|
||||
'-b', 'html', doc_dir, 'html'])
|
||||
#check_call(['lessc', '--clean-css', '--include-path=bootstrap', 'cppformat.less',
|
||||
# 'html/_static/cppformat.css'], cwd=doc_dir)
|
||||
check_call(['lessc', '--clean-css', '--include-path=' + os.path.join(doc_dir, 'bootstrap'),
|
||||
os.path.join(doc_dir, 'cppformat.less'), 'html/_static/cppformat.css'])
|
||||
return 'html'
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user