mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Some formatting changes, add CSS stylesheet. Include indexes in
documentation tarball builds.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
# Postgres documentation makefile
|
# Postgres documentation makefile
|
||||||
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.19 2001/08/29 19:14:39 petere Exp $
|
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.20 2001/09/14 20:37:54 petere Exp $
|
||||||
|
|
||||||
subdir = doc/src
|
subdir = doc/src
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
@ -38,25 +38,29 @@ sources.tar:
|
|||||||
admin.tar developer.tar reference.tar user.tar:
|
admin.tar developer.tar reference.tar user.tar:
|
||||||
$(MAKE) -C sgml clean
|
$(MAKE) -C sgml clean
|
||||||
$(MAKE) -C sgml $(basename $@).html
|
$(MAKE) -C sgml $(basename $@).html
|
||||||
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html
|
$(MAKE) -C sgml $(basename $@).html
|
||||||
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.css
|
||||||
|
|
||||||
programmer.tar:
|
programmer.tar:
|
||||||
$(MAKE) -C sgml clean
|
$(MAKE) -C sgml clean
|
||||||
$(MAKE) -C sgml programmer.html
|
$(MAKE) -C sgml programmer.html
|
||||||
|
$(MAKE) -C sgml programmer.html
|
||||||
abssrcdir=`cd $(srcdir) && pwd`; \
|
abssrcdir=`cd $(srcdir) && pwd`; \
|
||||||
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C $$abssrcdir/graphics catalogs.gif connections.gif
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.css -C $$abssrcdir/graphics catalogs.gif connections.gif
|
||||||
|
|
||||||
tutorial.tar:
|
tutorial.tar:
|
||||||
$(MAKE) -C sgml clean
|
$(MAKE) -C sgml clean
|
||||||
$(MAKE) -C sgml tutorial.html
|
$(MAKE) -C sgml tutorial.html
|
||||||
|
$(MAKE) -C sgml tutorial.html
|
||||||
abssrcdir=`cd $(srcdir) && pwd`; \
|
abssrcdir=`cd $(srcdir) && pwd`; \
|
||||||
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C $$abssrcdir/graphics clientserver.gif
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.css -C $$abssrcdir/graphics clientserver.gif
|
||||||
|
|
||||||
postgres.tar:
|
postgres.tar:
|
||||||
$(MAKE) -C sgml clean
|
$(MAKE) -C sgml clean
|
||||||
$(MAKE) -C sgml postgres.html
|
$(MAKE) -C sgml postgres.html
|
||||||
|
$(MAKE) -C sgml postgres.html
|
||||||
abssrcdir=`cd $(srcdir) && pwd`; \
|
abssrcdir=`cd $(srcdir) && pwd`; \
|
||||||
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C $$abssrcdir/graphics catalogs.gif clientserver.gif connections.gif
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.css -C $$abssrcdir/graphics catalogs.gif clientserver.gif connections.gif
|
||||||
|
|
||||||
man.tar:
|
man.tar:
|
||||||
$(MAKE) -C sgml man
|
$(MAKE) -C sgml man
|
||||||
|
58
doc/src/sgml/stylesheet.css
Normal file
58
doc/src/sgml/stylesheet.css
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
/* $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.css,v 1.1 2001/09/14 20:37:55 petere Exp $ */
|
||||||
|
|
||||||
|
/* color scheme similar to www.postgresql.org */
|
||||||
|
|
||||||
|
BODY {
|
||||||
|
color: #000000;
|
||||||
|
background: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
A:link { color: #000066; }
|
||||||
|
A:visited { color: #000099; }
|
||||||
|
A:active { color: #FF0000; }
|
||||||
|
|
||||||
|
/* center titles */
|
||||||
|
|
||||||
|
BODY.book H1.title, BODY.set H1.title {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 250%;
|
||||||
|
font-family: sans-serif;
|
||||||
|
color: #020167;
|
||||||
|
}
|
||||||
|
|
||||||
|
BODY.book H3.corpauthor, BODY.set H3.corpauthor {
|
||||||
|
text-align: center;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
BODY.book .copyright, BODY.set .copyright {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* decoration for formal examples */
|
||||||
|
|
||||||
|
DIV.example {
|
||||||
|
padding-left: 15px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 0px;
|
||||||
|
border-left-width: 2px;
|
||||||
|
border-color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* less dense spacing of TOC */
|
||||||
|
|
||||||
|
.set .toc DL DT, .book .toc DL DT {
|
||||||
|
padding-top: 1.5ex;
|
||||||
|
padding-bottom: 1.5ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.set .toc DL DL DT, .book .toc DL DL DT {
|
||||||
|
padding-top: 0ex;
|
||||||
|
padding-bottom: 0ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* miscellaneous */
|
||||||
|
|
||||||
|
.navheader TH { font-style: italic; }
|
||||||
|
.comment { color: red; }
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.dsl,v 1.8 2001/05/12 22:51:35 petere Exp $ -->
|
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.dsl,v 1.9 2001/09/14 20:37:55 petere Exp $ -->
|
||||||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||||
|
|
||||||
<!-- must turn on one of these with -i on the jade command line -->
|
<!-- must turn on one of these with -i on the jade command line -->
|
||||||
@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
(define %refentry-xref-manvolnum% #f)
|
(define %refentry-xref-manvolnum% #f)
|
||||||
(define %callout-graphics% #f)
|
(define %callout-graphics% #f)
|
||||||
|
(define %show-comments% #f)
|
||||||
|
|
||||||
(define %content-title-end-punct%
|
(define %content-title-end-punct%
|
||||||
'(#\. #\! #\? #\:))
|
'(#\. #\! #\? #\:))
|
||||||
@ -45,6 +46,7 @@
|
|||||||
(define %html-ext% ".html")
|
(define %html-ext% ".html")
|
||||||
(define %link-mailto-url% (string-append "mailto:" pgsql-docs-list))
|
(define %link-mailto-url% (string-append "mailto:" pgsql-docs-list))
|
||||||
(define %use-id-as-filename% #t)
|
(define %use-id-as-filename% #t)
|
||||||
|
(define %stylesheet% "stylesheet.css")
|
||||||
|
|
||||||
;; Returns the depth of auto TOC that should be made at the nd-level
|
;; Returns the depth of auto TOC that should be made at the nd-level
|
||||||
(define (toc-depth nd)
|
(define (toc-depth nd)
|
||||||
@ -54,6 +56,12 @@
|
|||||||
((string=? (gi nd) (normalize "chapter")) 2)
|
((string=? (gi nd) (normalize "chapter")) 2)
|
||||||
(else 1)))
|
(else 1)))
|
||||||
|
|
||||||
|
;; Put a horizontal line in the set TOC
|
||||||
|
(define (set-titlepage-separator side)
|
||||||
|
(if (equal? side 'recto)
|
||||||
|
(make empty-element gi: "HR")
|
||||||
|
(empty-sosofo)))
|
||||||
|
|
||||||
;; Put date of creation into header
|
;; Put date of creation into header
|
||||||
(define %html-header-tags%
|
(define %html-header-tags%
|
||||||
(list (list "META" '("NAME" "creation") (list "CONTENT" (time->string (time) #t)))))
|
(list (list "META" '("NAME" "creation") (list "CONTENT" (time->string (time) #t)))))
|
||||||
|
Reference in New Issue
Block a user