Lines Matching full:build
36 Sphinx build wrapper that handles Kernel-specific business rules:
38 - it gets the Kernel build environment vars;
96 Handles a sphinx-build target, adding needed arguments to build
150 Get the number of jobs to be used for docs build passed via command
165 # by sphinx-build time. Among them, it may contain sphinx verbosity
174 # Other sphinx-build arguments go as-is, so place them
180 # Build a list of sphinx args, honoring verbosity here if specified
236 # versions of Python and sphinx-build.
272 self.sphinxbuild = os.environ.get("SPHINXBUILD", "sphinx-build")
278 # Get directory locations for LaTeX build toolchain
304 Executes sphinx-build using current python3 command.
308 jobs, as we don't want sphinx-build to run in parallel with other
337 # We can't simply call python3 sphinx-build, as OpenSUSE
339 # between different versions of sphinx-build. So, only call it
389 """Build PDF files in parallel if possible"""
398 # non-zero even when build succeeds. So, let's do the best next thing:
399 # Ignore build errors. At the end, check if all PDF files were built,
462 a new build is needed to create the PDF output from the latex
474 # usage during xelatex build by passing the location of a config
503 # from POSIX jobserver. So, this covers the case where build comes
542 # In verbose mode, print a summary with the build results per file.
544 # On both cases, return code 1 indicates build failures,
571 sys.exit(f"Error: Can't build {n_failures} PDF file(s): {failures}")
658 def build(self, target, sphinxdirs=None, member in SphinxBuilder
662 Build documentation using Sphinx. This is the core function of this
663 module. It prepares all arguments required by sphinx-build.
670 # Cleandocs doesn't require sphinx-build
680 # Other targets require sphinx-build, so check if it exists
694 # Fill in base arguments for Sphinx build
726 # The sphinx-build tool has a bug: internally, it tries to set
736 # Step 1: Build each directory in separate.
777 sys.exit(f"Build failed: return code: {result}")
780 sys.exit(f"Build failed: {repr(e)}")
790 # sphinx-build finishes
841 - SPHINXBUILD: Documentation build tool (default: "sphinx-build").
864 help="Documentation target to build")
866 help="Specific directories to build")
881 help="place build in verbose mode")
884 help="Sets number of jobs to use with sphinx-build(default: auto)")
889 parser.add_argument('-s', '--skip-sphinx-build', action='store_true',
890 help="Skip sphinx-build step")
905 builder.build(args.target, sphinxdirs=args.sphinxdirs,