mirror of
https://github.com/macports/macports-guide.git
synced 2026-07-12 18:18:46 -07:00
Add xlink XML namespace to all root elements
In order to convert <link xlink:href=""> for external links correctly, the xlink XML namespace has to be declared explicitly.
This commit is contained in:
@@ -58,9 +58,6 @@ locations in the sources.
|
||||
This would break all links to the guide. As docbookrx does not take
|
||||
configuration parameters, this has to be changed in the visitor directly.
|
||||
|
||||
* `<link xlink:href="...">`
|
||||
This is not converted correctly. All external links are broken.
|
||||
|
||||
* Missing distinction between `<programlisting><prompt></><userinput></></>`, `<screen>`, and `<programlisting>`
|
||||
They all result in similar [source] blocks at the moment. Based on how they
|
||||
are used in the guide, we should keep the semantics by adding style
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<chapter xml:id="guide-terms">
|
||||
<chapter xml:id="guide-terms" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>MacPorts Guide Glossary</title>
|
||||
|
||||
<para>This section defines a number of words which may be new to
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
|
||||
<book>
|
||||
<book xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<info>
|
||||
<title><application>MacPorts</application> Guide</title>
|
||||
<authorgroup>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd"[
|
||||
<!ENTITY macports-version "2.4.3">
|
||||
]>
|
||||
<chapter xml:id="installing">
|
||||
<chapter xml:id="installing" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Installing MacPorts</title>
|
||||
|
||||
<para>This chapter shows you how to install MacPorts and its prerequisites step-by-step. Note that the section about
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<refentry xml:id="porthier">
|
||||
<refentry xml:id="porthier" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refmeta>
|
||||
<refentrytitle>PORTHIER</refentrytitle>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="internals.tests">
|
||||
<section xml:id="internals.tests" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Tests</title>
|
||||
|
||||
<para>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<chapter xml:id="internals">
|
||||
<chapter xml:id="internals" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>MacPorts Internals</title>
|
||||
|
||||
<para>This chapter contains information about the MacPorts file layout,
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
-->
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<chapter xml:id="introduction">
|
||||
<chapter xml:id="introduction" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Introduction</title>
|
||||
|
||||
<para>MacPorts is an easy to use system for compiling, installing, and managing open source software. MacPorts may
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="internals.configuration-files">
|
||||
<section xml:id="internals.configuration-files" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Configuration Files</title>
|
||||
|
||||
<para>The MacPorts configuration files often do not need to be modified for the
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
|
||||
<!-- This section will be hidden by a xsl:template in resources/base.xsl -->
|
||||
<chapter xml:id='macros'>
|
||||
<chapter xml:id='macros' xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Macros</title>
|
||||
|
||||
<!-- Marks a section as outdated with a reason. -->
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="reference.dependencies">
|
||||
<section xml:id="reference.dependencies" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Dependencies</title>
|
||||
|
||||
<para>Free and open source software is highly modular, and MacPorts ports
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="reference.keywords">
|
||||
<section xml:id="reference.keywords" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Global Keywords</title>
|
||||
|
||||
<para>MacPorts keywords are used to specify required or optional items
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
|
||||
<section xml:id="reference.livecheck">
|
||||
<section xml:id="reference.livecheck" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Livecheck / Distcheck</title>
|
||||
|
||||
<para>Options livecheck and distcheck are especially useful for port
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="reference.phases">
|
||||
<section xml:id="reference.phases" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Port Phases</title>
|
||||
|
||||
<section xml:id="reference.phases.introduction">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="reference.startupitems">
|
||||
<section xml:id="reference.startupitems" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>StartupItems</title>
|
||||
|
||||
<para>A StartupItem is a MacPorts facility to run <quote>daemons,</quote> a Unix term for
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="reference.tcl-extensions">
|
||||
<section xml:id="reference.tcl-extensions" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Tcl Extensions & Useful Tcl Commands</title>
|
||||
|
||||
<para>A MacPorts Portfile is a Tcl script, so it may contain any arbitrary
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="reference.variables">
|
||||
<section xml:id="reference.variables" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Global Variables</title>
|
||||
|
||||
<para>Global variables are variables available to any Portfile. For a list
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<section xml:id="reference.variants">
|
||||
<section xml:id="reference.variants" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Variants</title>
|
||||
|
||||
<para>MacPorts variants are conditional modifications of port installation
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<chapter xml:id="development">
|
||||
<chapter xml:id="development" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Portfile Development</title>
|
||||
|
||||
<para>A port is a distribution of software that can be compiled and
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
|
||||
"http://docbook.org/xml/5.0/dtd/docbook.dtd">
|
||||
<chapter xml:id="reference">
|
||||
<chapter xml:id="reference" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Portfile Reference</title>
|
||||
|
||||
<para>This chapter serves as a reference for the major elements of a
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user