Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
J.3. Building The Documentation
Prev UpAppendix J. DocumentationHome Next

J.3. Building The Documentation

Once you have everything set up, change to the directorydoc/src/sgml and run one of the commands described in the following subsections to build the documentation. (Remember to use GNU make.)

J.3.2. Manpages

We use the DocBook XSL stylesheets to convertDocBookrefentry pages to *roff output suitable for man pages. To create the man pages, use the command:

doc/src/sgml$make man

J.3.3. PDF

To produce a PDF rendition of the documentation usingFOP, you can use one of the following commands, depending on the preferred paper format:

  • For A4 format:

    doc/src/sgml$make postgres-A4.pdf

  • For U.S. letter format:

    doc/src/sgml$make postgres-US.pdf

Because the PostgreSQL documentation is fairly big,FOP will require a significant amount of memory. Because of that, on some systems, the build will fail with a memory-related error message. This can usually be fixed by configuring Java heap settings in the configuration file~/.foprc, for example:

# FOP binary distributionFOP_OPTS='-Xmx1500m'# DebianJAVA_ARGS='-Xmx1500m'# Red HatADDITIONAL_FLAGS='-Xmx1500m'

There is a minimum amount of memory that is required, and to some extent more memory appears to make things a bit faster. On systems with very little memory (less than 1 GB), the build will either be very slow due to swapping or will not work at all.

Other XSL-FO processors can also be used manually, but the automated build process only supports FOP.

J.3.4. Plain Text Files

The installation instructions are also distributed as plain text, in case they are needed in a situation where better reading tools are not available. TheINSTALL file corresponds toChapter 16, with some minor changes to account for the different context. To recreate the file, change to the directorydoc/src/sgml and entermake INSTALL.

In the past, the release notes and regression testing instructions were also distributed as plain text, but this practice has been discontinued.

J.3.5. Syntax Check

Building the documentation can take very long. But there is a method to just check the correct syntax of the documentation files, which only takes a few seconds:

doc/src/sgml$make check


Prev Up Next
J.2. Tool Sets Home J.4. Documentation Authoring
epubpdf
Go to PostgreSQL 11
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp