From f468300f5adf2092ccd50f534e5b6636aa5dfad7 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Wed, 17 Jun 2020 09:35:54 -0600 Subject: Fix docbook 4.5 vs 5 usage [ci skip] Recent changes introduced the use of the Docbook 5 syntax for external links (), which works okay for the doc build, but breaks the internal tools which do formal validation against the scons-modified docbook DTD ("sconsdoc") because sconsdoc is a modification of Docbook 4.5 thus pinning us to that version. xlink was a Docbook 5 introduction to use more standard W3C syntax for the links (xlink is a W3C spec of its own). Back off this new usage: go back to the old usage pattern (), because trying to uplift sconsdoc looks a fairly substantial task. Signed-off-by: Mats Wichmann --- SCons/Platform/__init__.py | 4 ++-- doc/man/scons.xml | 11 +++++------ doc/user/main.xml | 1 - doc/user/misc.xml | 4 ++-- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/SCons/Platform/__init__.py b/SCons/Platform/__init__.py index e2a7b1e..4c912d4 100644 --- a/SCons/Platform/__init__.py +++ b/SCons/Platform/__init__.py @@ -56,9 +56,9 @@ import SCons.Tool def platform_default(): - r"""Return the platform string for our execution environment. + """Return the platform string for our execution environment. - The returned value should map to one of the SCons/Platform/*.py + The returned value should map to one of the SCons/Platform/\*.py files. Since scons is architecture independent, though, we don't care about the machine architecture. """ diff --git a/doc/man/scons.xml b/doc/man/scons.xml index 6b77a4c..18e4321 100644 --- a/doc/man/scons.xml +++ b/doc/man/scons.xml @@ -41,7 +41,6 @@ @@ -7448,22 +7447,22 @@ and will silently revert to non-cached behavior in such cases. The SCons User Guide at - + The SCons Design Document (old) The SCons Cookbook at - + for examples of how to solve various problems with &SCons;. SCons source code - - on GitHub + + on GitHub The SCons API Reference - + (for internal details) diff --git a/doc/user/main.xml b/doc/user/main.xml index dded9cf..19d7071 100644 --- a/doc/user/main.xml +++ b/doc/user/main.xml @@ -62,7 +62,6 @@ SCons &buildversion; diff --git a/doc/user/misc.xml b/doc/user/misc.xml index bd20397..3a2713a 100644 --- a/doc/user/misc.xml +++ b/doc/user/misc.xml @@ -685,9 +685,9 @@ env.Command('directory_build_info', See - + JSON Compilation Database Format Specification - + for complete information -- cgit v0.12