forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit684cf76
committed
Get rid of parameterized marked sections in SGML
Previously, we created a variant of the installation instructions forproducing the plain-text INSTALL file by marking up certain parts ofinstallation.sgml using SGML parameterized marked sections. Markedsections will not work anymore in XML, so before we can convert thedocumentation to XML, we need a new approach.DocBook provides a "profiling" feature that allows selecting contentbased on attributes, which would work here. But it imposes a noticeableoverhead when building the full documentation and causes complicationswhen building some output formats, and given that we recently spent afair amount of effort optimizing the documentation build time, it seemssad to have to accept that.So as an alternative, (1) we create our own mini-profiling layer thatadjusts just the text we want, and (2) assemble the pieces of contentthat we want in the INSTALL file using XInclude. That way, there is nooverhead when building the full documentation and most of the "ugly"stuff in installation.sgml can be removed and dealt with out of line.1 parent3709ca1 commit684cf76
File tree
6 files changed
+280
-255
lines changed- doc/src/sgml
6 files changed
+280
-255
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
138 |
| - | |
139 |
| - | |
| 137 | + | |
| 138 | + | |
140 | 139 |
| |
141 | 140 |
| |
142 | 141 |
| |
|
Lines changed: 0 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - |
0 commit comments
Comments
(0)