Changeset 228560f in rtems-docs
- Timestamp:
- 03/20/17 21:41:41 (7 years ago)
- Branches:
- 5, master
- Children:
- e7f009e
- Parents:
- f97be09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/waf.py
rf97be09 r228560f 229 229 "(https://github.com/remy/inliner)") 230 230 231 def sphinx_cmdline(ctx, build_type, conf_dir, doctrees, source_dir, output_dir): 232 rule = "${BIN_SPHINX_BUILD} %s -b %s -c %s %s -d %s %s %s" % \ 233 (sphinx_verbose(ctx), build_type, conf_dir, version_cmdline(ctx), 234 doctrees, source_dir, output_dir) 235 return rule 236 231 237 def doc_pdf(ctx, source_dir, conf_dir): 232 238 buildtype = 'latex' 233 239 build_dir, output_node, output_dir, doctrees = build_dir_setup(ctx, buildtype) 234 240 pdf_resources(ctx, buildtype) 235 rule = "${BIN_SPHINX_BUILD} %s -b %s -c %s %s -d %s %s %s" % \ 236 (sphinx_verbose(ctx), buildtype, conf_dir, version_cmdline(ctx), 237 doctrees, source_dir, output_dir) 241 rule = sphinx_cmdline(ctx, buildtype, conf_dir, doctrees, source_dir, output_dir) 238 242 ctx( 239 243 rule = rule, … … 285 289 build_dir, output_node, output_dir, doctrees = build_dir_setup(ctx, buildtype) 286 290 html_resources(ctx, buildtype) 287 rule = "${BIN_SPHINX_BUILD} %s -b %s -c %s %s -d %s %s %s" % \ 288 (sphinx_verbose(ctx), buildtype, conf_dir, version_cmdline(ctx), 289 doctrees, source_dir, output_dir) 291 rule = sphinx_cmdline(ctx, buildtype, conf_dir, doctrees, source_dir, output_dir) 290 292 ctx( 291 293 rule = rule, … … 307 309 build_dir, output_node, output_dir, doctrees = build_dir_setup(ctx, buildtype) 308 310 html_resources(ctx, buildtype) 309 rule = "${BIN_SPHINX_BUILD} %s -b %s -c %s %s -d %s %s %s" % \ 310 (sphinx_verbose(ctx), buildtype, conf_dir, version_cmdline(ctx), 311 doctrees, source_dir, output_dir) 311 rule = sphinx_cmdline(ctx, buildtype, conf_dir, doctrees, source_dir, output_dir) 312 312 ctx( 313 313 rule = rule, … … 344 344 help = "Sphinx verbose.") 345 345 ctx.add_option('--pdf', 346 action ='store_true',346 action = 'store_true', 347 347 default = False, 348 348 help = "Build PDF.") 349 349 ctx.add_option('--singlehtml', 350 action ='store_true',350 action = 'store_true', 351 351 default = False, 352 352 help = "Build Single HTML file, requires Node Inliner")
Note: See TracChangeset
for help on using the changeset viewer.