Skip to content

Commit 89516bb

Browse files
authored
Merge pull request #331 from chegong18/master
update docguide.sgml,earthdistance.sgml,ecpg.sgml,errcodes.sgml and event-trigger.sgml
2 parents a1ed724 + 7049dbf commit 89516bb

13 files changed

+1513
-743
lines changed

postgresql/doc/src/sgml/docguide.sgml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ ____________________________________________________________________________-->
139139
<listitem>
140140
<para>
141141
This is the definition of DocBook itself. We currently use version
142-
4.2; you cannot use later or earlier versions. You need
142+
4.5; you cannot use later or earlier versions. You need
143143
the <acronym>XML</acronym> variant of the DocBook DTD, not
144144
the <acronym>SGML</acronym> variant.
145145
</para>
@@ -205,7 +205,7 @@ ____________________________________________________________________________-->
205205
<term><ulink url="https://www.oasis-open.org/docbook/">DocBook DTD</ulink></term>
206206
<listitem>
207207
<para>
208-
这是 DocBook 本身的定义。我们目前使用版本 4.2;你不能使用更新或者更早的版本。你需要 DocBook DTD 的<acronym>XML</acronym>变体,而不是<acronym>SGML</acronym>变体。
208+
这是 DocBook 本身的定义。我们目前使用版本 4.5;你不能使用更新或者更早的版本。你需要 DocBook DTD 的<acronym>XML</acronym>变体,而不是<acronym>SGML</acronym>变体。
209209
</para>
210210
</listitem>
211211
</varlistentry>
@@ -222,7 +222,7 @@ ____________________________________________________________________________-->
222222
</para>
223223
</listitem>
224224
</varlistentry>
225-
225+
226226
<varlistentry>
227227
<term><command>xmllint</command>的<ulink url="http://xmlsoft.org/">Libxml2</ulink></term>
228228
<listitem>
@@ -383,7 +383,7 @@ ____________________________________________________________________________-->
383383
<para>
384384
If you use MacPorts, the following will get you set up:
385385
<programlisting>
386-
sudo port install docbook-xml-4.2 docbook-xsl fop
386+
sudo port install docbook-xml-4.5 docbook-xsl fop
387387
</programlisting>
388388
If you use Homebrew, use this:
389389
<programlisting>
@@ -394,7 +394,7 @@ ____________________________________________________________________________-->
394394
<para>
395395
如果使用MacPorts,下面的命令会帮你准备好一切:
396396
<programlisting>
397-
sudo port install docbook-xml-4.2 docbook-xsl fop
397+
sudo port install docbook-xml-4.5 docbook-xsl fop
398398
</programlisting>
399399
如果使用的是Homebrew,就用这个:
400400
<programlisting>
@@ -418,7 +418,7 @@ ____________________________________________________________________________-->
418418
like this:
419419
<screen>
420420
checking for xmllint... xmllint
421-
checking for DocBook XML V4.2... yes
421+
checking for DocBook XML V4.5... yes
422422
checking for dbtoepub... dbtoepub
423423
checking for xsltproc... xsltproc
424424
checking for fop... fop
@@ -431,7 +431,7 @@ ____________________________________________________________________________-->
431431
在你能编译文档之前,你需要运行<filename>configure</filename>脚本,就像你在编译<productname>PostgreSQL</productname>程序本身时所作的那样。检查运行末尾附近的输出,应该看起来像这样:
432432
<screen>
433433
checking for xmllint... xmllint
434-
checking for DocBook XML V4.2... yes
434+
checking for DocBook XML V4.5... yes
435435
checking for dbtoepub... dbtoepub
436436
checking for xsltproc... xsltproc
437437
checking for fop... fop
@@ -483,7 +483,7 @@ ____________________________________________________________________________-->
483483
</screen>
484484
这也是默认的目标。这个命令的输出将出现在子目录<filename>html</filename>中。
485485
</para>
486-
486+
487487
<!--==========================orignal english content==========================
488488
<para>
489489
To produce HTML documentation with the stylesheet used on <ulink
@@ -502,7 +502,19 @@ ____________________________________________________________________________-->
502502
<prompt>doc/src/sgml$ </prompt><userinput>make STYLE=website html</userinput>
503503
</screen>
504504
</para>
505-
</sect2>
505+
506+
<!--==========================orignal english content==========================
507+
<para>
508+
If the <literal>STYLE=website</literal> option is used, the generated HTML
509+
files include references to stylesheets hosted on <ulink
510+
url="https://www.postgresql.org/docs/current/">postgresql.org</ulink> and
511+
require network access to view.
512+
</para>
513+
____________________________________________________________________________-->
514+
<para>
515+
如果使用<literal>STYLE=website</literal>选项,生成的 HTML 文件包括对托管在<ulink url="https://www.postgresql.org/docs/current/">postgresql.org</ulink> 上的样式表的引用,需要网络访问来查看。
516+
</para>
517+
</sect2>
506518

507519
<sect2>
508520
<!--==========================orignal english content==========================

0 commit comments

Comments
 (0)