|
|
Autodoc - DocBook OutputCompiling HTML, PDF, or other formats out of a DocBook XML document is left as a task for the reader, but can be greatly helped by reading DocBook XSL: The Complete Guide and DocBook: The Definitive Guide.
PostgreSQL Autodoc outputs
a book which is appropriate for compiling directory, or
sectional inclusion into other DocBook documents as
required. For richer database comments, try prefixing the
comment with Example 1. Possible comment
Note that Autodoc will
wrap the comment in a COMMENT ON SCHEMA public IS '@DOCBOOK This is the <literal>public</literal> schema which is better described by <xref linkend="link-to-public-schema">. </para> <para> For <application>Product</application> the <literal>public</literal> schema contains all the generic customer facing static literals such as <link linkend="public-table-status">status key codes</link> and <link linkend="public-table-product">product key codes</link>. '; Example 2. DocBook Example
Since this website is DocBook based, it was a simple
matter of using an Table of Contents List of Figures Table of Contents Table of Contents This schema stores a list of products and information about the product
Structure of product
Constraints on product
Tables referencing store.inventory via Foreign Key Constraints
Table of Contents Store inventory
Structure of inventory
Constraints on inventory
Structure of store
Constraints on store
Tables referencing store.inventory via Foreign Key Constraints
Table of Contents A list of warehouses and information on warehouses Warehouse inventory
Structure of inventory
Constraints on inventory
Indexes on inventory
Structure of products
Figure 4.1. Definition of view products SELECT DISTINCT product.product_id , product.product_code , product.product_description FROM (warehouse.inventory JOIN product.product USING (product_id) ) ORDER BY product.product_id , product.product_code , product.product_description;
Structure of warehouse
Constraints on warehouse
Tables referencing warehouse.inventory via Foreign Key Constraints
|