mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Switch to using custom jam_pygments, with pygments, code styling to avoid client-side javascript and also support styling with PDF output. This uses the custom jam_pygments PIP package here <https://github.com/bfgroup/jam_pygments>.
38 lines
954 B
Plaintext
38 lines
954 B
Plaintext
# Copyright 2004,2006 Vladimir Prus
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
import asciidoctor ;
|
|
|
|
path-constant PYGMENTS_DIR : src/pygments ;
|
|
|
|
project tools/build/doc
|
|
;
|
|
|
|
html index : src/standalone.adoc :
|
|
:
|
|
<flags>--require=$(PYGMENTS_DIR)/pygments_init.rb
|
|
<flags>--trace
|
|
<flags>--verbose
|
|
;
|
|
explicit index ;
|
|
|
|
install html-hljs : [ glob src/hljs/*.js ] : <location>html/hljs ;
|
|
explicit html-hljs ;
|
|
|
|
install html-hljs-styles : [ glob src/hljs/styles/*.css ] : <location>html/hljs/styles ;
|
|
explicit html-hljs-styles ;
|
|
|
|
install html : index : <location>html ;
|
|
explicit html ;
|
|
|
|
alias standalone-html : html html-hljs html-hljs-styles ;
|
|
|
|
###############################################################################
|
|
|
|
alias boostdoc ;
|
|
explicit boostdoc ;
|
|
|
|
alias boostrelease : standalone-html ;
|
|
explicit boostrelease ;
|