| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
|
| |
In Python3 this is the default.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
Another regen of generated files, as there were a
couple of changes that affected those.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
| |
accidentally left print statements in bin/scons-proc.py
rebased to current master, which caused a couple of
generated file changes.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
| |
other changes due to path changes
rewording in doc howto rst
check in the doc flow image used by the howto, as it's tricky to generate
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
src/engine/SCons moved to SCons, affects wired in paths
in documentation, and doc building scripts
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Lots of markup changes
* Some wording changes.
* Some lists compacted into <simplelist> instead of <variablelist>
when it didn't need necessary to have linfeed+intent following
the term. That is, using the inline style:
term - descriptiong of term
* Several inline lists of arguments to passed functions were
broken out into <simplelist> for better readability.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
| |
Be more clear in response to a review comment.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
| |
Fix a couple of typos discoverted by sider.
Update doc entries in the (shared) function descriptions
of Export, Import and Return (Environment.xml)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
User Guide wording missed some details - one of which is
mentioned in an issue. Fixes #798.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Tools is now is own subsection of Construction Environments,
with an expanded description, also slightly reorganizing
existing content.
The description of the Tool function/method was also reworded
to be more descriptive and less repetitive.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
docs: update Variables content
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Apply current formatting styles for funcs/methods (that is,
func/method name is marked up, instance name is marked up, params
are marked up, each with the appropriate docbook tag.
* Word around the obsolete reference to built-in cmp function,
which no longer exists in Python 3. We should probably transtion
the API towards taking a key function instead, since that conversion
is already done internally.
* Clarify the way AddVariables is described - it takes a list of tuples,
but that "list" isn't a Python list object, but rather one or more
tuples, varargs-style. Also describe the content of the tuples.
* Tweak some other wordings on variable helpers and validators.
* Rework userguide chapter examples to use keyword arguments for calls
to Add and for the *Variable functions.
* Add a User Guide example of a help message that is more than a
simple one (reuses an EnumVariable example) to illustrate that the
generated help text is more than the help=helpstring.
* Word differently the back-reference to Options in the User Guide.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Fix one more instance of moved scons.py
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bootstrap directory not used any longer, dropped.
One generated example (troubleshoot_stacktrace) was directly affected.
A different generated troubleshooting example was instroduced
by an earlier change but never committed, including here
for completeness.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
| |
Apply new formatting styles.
Tweak a lot of wordings.
Make sure manpage consistently describes return types.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
| |
Consider construction variable as environment variables,
using that markup in scons.xml and generating it into
the variables.gen file (which is included in man and userguide).
If possible, use the entity from variables.mod, which
already has the envar markup generated.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use <varname> to mark up variables in these three areas,
also a few other variables that were marked up differently.
Sometimes that markup comes in the form of using an existing
entity (&BUILD_TARGETS; for example), which is already
suitably marked up in the entity definition.
Use <parameter> to mark up when they're in the context of
function params.
The parse_flags kwarg now includes a link to the env.ParseFlags
method, since the latter describes how the args are distributed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Update generation of scons-xml entities
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR #3602 introduced a new problem - the documents that include
the generated functions and builders files now don't validate.
The global function/environment method name was bolded by
using <emphasis>, but Docbook doesn't allow that inside a
<literal> element (it actually works fine with the processing
tools we use, but does fail validation).
Rework the idea: use <function> and <methodname> for the markup,
and change the way those are rendered in html (man/html.xsl and
user/html.xsl) - the PDF already rendered these in bold so no
change needed there. Also don't wrap the whole contents of the
<term> element in <literal>, which would have left the argument
list in regular font which the function name and instance
name in monospace - an odd look. So the argument list was
wrapped in <parameter>, since that's what they are. Don't
bother to try to parse it down into individual args, just do
the whole chunk, less the parentheses.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/| |
Revamp scons build - Modernize packaging and purge obsolete build logic
|
| |
| |
| |
| | |
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 set of minor changes to various extra files (i.e. not scons.xml itself).
Mainly this reformats some example code when it looked bad in a
fixed-width version (pdf or Linux-style manpage).
Also: additional wording on default environment (included here because
file was being modified anyway), and define an entity for default env. in
doc/scons.mod.
Commits changes to two generated .mod files to make sure entities
list is correct even if even if a full regen of these files
(bin/docs-update-generated) is not done.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
manpage: new markup on Scanner Objects
|
| |
| |
| |
| |
| |
| | |
Apply improved markup and add some links for Scanner Objects
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
|
| |
Slight wording change to program locations.
Move requirements paragraph to last in section, and
mention pywin32 is recommended on Windows.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
Address review comment (PR #3593) and clean up some
markup issues and ordering.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Various cleansup to sections Configure Contexts,
Command-Line Construction Variables and SConscript Variables.
Stylesheet-level changes place multiple function signature
entries each on their own line (affects primarily Configure
Contexts).
A couple of stylesheet files were checked in in DOS format,
changed them to the same as the rest of the codebase
(this shows lots of spurious diff).
Discovered a few minor tweaks to make to code implementing
the above, so this is not completely doc-only.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
| |
Add version note to manpage
Turn linedraw chars into module-level constants, and
use in the other place it was hardcoded.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This picks up and hopefully completes PR #3560.
Add documentation for new --tree "linedraw" option.
There is a new example output in userguide, which renumbers
several of the existing troubleshoot_tree example outputs.
Test is cleaned up a bit (not just the added part).
The actual function in Util is made a little more genral -
it uses unicode chr() values instead of literally pasting
in the line drawing characters.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
| |
All the options where the option-argument is a choice between
several (and possibly a choice of several, comma-separated)
now are rendered in the same way.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
| |
The definition of options is now marked up with Docbook option tags.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Continue manpage cleanups
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Eliminate some "note" wording in manpage. This is a "tone" thing,
trying to avoid so many "asides", like "Note that blah blah", by
trying to reword into a more regular flow, and occasionally dropping
the aside if it doesn't seem quite suited to the manpage.
More harmonization of docbook entity usage, cleanup
of comments around generated sections, and other fiddling.
<literallayout> around a code fragment was changed to <programlisting>
<literallayout> around output was changed to <screen>
If a <screen> section contained use input, that was marked
with the <userinput> entity. These changes ought to also
facilitate better conversion to other document markup formats,
something which has been discussed.
In the Description section, the remaining command-line discussion
at the end was merged into the earlier wording about command-line
processing, to improve the flow a bit.
Some options entries were adjusted for appearance - indents, etc.
Mention of Python 2.7 as a requirement is dropped.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
troubleshooting and caching sections got some improvements to the
xml entities used, mainly for options. A few wording tweaks as well.
added a blurb to troublseshooting to urge looking for simpler
answers.
scons.mod - options section changes to use <option> markup.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|\
| |
| | |
Another round of user guide fiddling
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| | |
Some markup changes, a few werding additions.
Signed-off-by: Mats Wichmann <mats@linux.com>
|