| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The documentation build can now selectively disable doing the APIdocs
build (which is slow, and requires Sphinx and some extensions to be
installed); and skip building pdf versions of docs (which requires fop
or equivalent to be installed). Both can be disabled by using a csv:
scons doc SKIP_DOCS=pdf,api
TODO: pdf disabling is only partly working. It does not build the
pdf version of the api docs, but does build pdf manpages and user guide.
The latter are not "installed": there is no build/doc/PDF, but there
are pdfs in the build directory, build/doc/man and build/doc/user.
This is part two of the doc build change (begun in #4492)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Simplify the handling of info for each doc, avoid constructs like
docs[doc][DOCDEPENDS].append(btarget)
by unpacking the doc values.
This is part 1 of a small rework.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removes the old bootstrap.py file. The still-used manifest parser
is moved inline into doc/SConscript
* Some reformatting and license text updates, as well as fstringinfying.
* Help text is modified, adding the recent zipapp option, and indent
changes let more stuff fit on the screen.
* Aliases added for most of the build targets listed in the help msg.
The ones now listed all work when given as cli targets, except the
the two full source balls:
scons: *** Do not know how to make File target `src-tar-gz' (/home/mats/github/scons/src-tar-gz). Stop.
scons: *** Do not know how to make File target `src-zip' (/home/mats/github/scons/src-zip). Stop.
Should these two be removed from the listing? I think we get the former
directly from github, and the latter hasn't been around for a while.
Fixes #4341
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
| |
|
|
| |
update-release-info to use 'Released: <date here>' instead of range of years.
|
| |
|
|
| |
using it
|
| | |
|
| |
|
|
| |
tarball for distribution
|
| | |
|
| |
|
|
|
|
|
| |
src/engine/SCons moved to SCons, affects wired in paths
in documentation, and doc building scripts
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
| |
working with py3. Need to switch to sphinx(?)
|
| | |
|
| | |
|
| |
|
|
| |
site_scons/BuildCommandLine.py. Sorted out all changes caused by that.
|
| |
|
|
| |
setup into site_scons/epydoc.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A couple of minor reformats along the way, most prominently, in tests,
if being edited anyway, make sure the docstring most tests have is
actually the docstring (sometimes the __revision__ line came before,
which makes the string not be the docstring).
Snuck in some minor framework changes that were orphaned when another
draft PR was not needed: this almost all docstring changes, the
functional part is using casefold instead of lower in a match func -
a slightly better approach which is now possible that Py2 compatibility
is not needed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
checker-suggested fixes:
Mostly, fix remaining instances of comparing none without "is"
Some trailing whitespace on lines
A couple of instances of list init followed immediately by
several appends, turned into a single list init
Some double comparisons turned into a single expression
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
In doc/SConscript, the function in bootstrap.py to parse a
manifest was called with an scons path (#src/engine) but bootstrap
does not run in an scons context, it is run via subprocess.Popen.
Preprocess the path. Along the way, change the function to open
the file itself instead of being passed a list already read
from the file, update the comment, and clean some whitespace issues.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
Also consistently use ISO 8601 date format
to be understood everywhere.
Also use gmtime to be independent of timezone.
|
| |
|
|
| |
creation as we're moving to pip install being the main install path.
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
process are installed
- fixed refmiscinfo for MAN pages
|
| | |
| |
| |
| | |
by intercepting previously added ImportError from SConsDoc
|
| | | |
|
| |\ \
| |/
| |
| |
| | |
Hand-updated a few things to keep them python3-safe, and handled
several merge conflicts.
|
| | |
| |
| |
| | |
now correctly linked to its counterpart in "build/doc"
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
- now copying the scons.css to the final doc archive, too
|
| | |
| |
| |
| |
| |
| | |
- fixed EPUB builder
- corrected anchor style for links in CSS
- documents now include chapter in section numbering
|
| |\ \
| |/ |
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
| |
folder and all additional documentation sources get packaged properly
- added basic support for wildcards and recursive globbing in MANIFEST files
- added missing JPG/SVG files
|
| |
|
|
| |
- corrected the doc folder SConscripts and added XSL and titlepage files where required
|
| |
|
|
| |
- prepared introduction of SCons XSD namespace
|
| |
|
|
| |
SCons 0.98 (revision 6661c9ea429f by Steven Knight)
|
| | |
|
| |
|
|
|
|
|
| |
not found in PATH. Actual for Windows, can be refactored later
into epydocs builder. HTML only for now.
Review: http://codereview.appspot.com/4639061/
|
| |
|
|
|
| |
Fixes and refactoring in the bin/scons-proc.py script to support this.
Fixes to various parts of the XML input.
|
| |
|
|
|
|
| |
.xml files (some new, some updated) next to the modules that implement
them. Generate the man page using the output generated from the .xml
file by bin/scons-proc.py.
|
| |
|
|
|
|
|
| |
Comb out all code that supported earlier versions of Python. Most such
code is in snippets of only a few lines and can be identified by having
a Python version string in it. Such snippets add up; this combing pass
probably got rid of over 500 lines of code.
|
| |
|
|
|
| |
development. Note that this set of changes is NOT backward-compatible;
the trunk no longer works with Python 1.5.2, 2.0, or 2.1.
|
| |
|
|
|
| |
support command-line option parsing and generating output on
streams other than sys.stdout.
|
| | |
|
| | |
|
| | |
|