Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite36ddab

Browse files
committed
Build HTML documentation using XSLT stylesheets by default
The old DSSSL build is still available for a while using the make target"oldhtml".
1 parent4ecd197 commite36ddab

File tree

2 files changed

+23
-35
lines changed

2 files changed

+23
-35
lines changed

‎doc/src/sgml/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ draft: postgres.sgml $(ALMOSTALLSGML) stylesheet.dsl
106106
$(JADE.html.call) -V draft-mode$<
107107
cp$(srcdir)/stylesheet.css html/
108108

109-
html: html-stamp
109+
oldhtml: oldhtml-stamp
110110

111-
html-stamp: postgres.sgml$(ALLSGML) stylesheet.dsl
111+
oldhtml-stamp: postgres.sgml$(ALLSGML) stylesheet.dsl
112112
$(MAKE) check-tabs
113113
$(MKDIR_P) html
114114
$(JADE.html.call) -i include-index$<
@@ -258,9 +258,9 @@ ifeq ($(STYLE),website)
258258
XSLTPROC_HTML_FLAGS += --param website.stylesheet 1
259259
endif
260260

261-
xslthtml: xslthtml-stamp
261+
html: html-stamp
262262

263-
xslthtml-stamp: stylesheet.xsl postgres.xml
263+
html-stamp: stylesheet.xsl postgres.xml
264264
$(XMLLINT) --noout --valid postgres.xml
265265
$(XSLTPROC)$(XSLTPROCFLAGS)$(XSLTPROC_HTML_FLAGS)$^
266266
cp$(srcdir)/stylesheet.css html/

‎doc/src/sgml/stylesheet.css

Lines changed: 19 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,67 +2,67 @@
22

33
/* color scheme similar to www.postgresql.org */
44

5-
BODY {
5+
body {
66
color:#000000;
77
background:#FFFFFF;
88
font-family: verdana, sans-serif;
99
}
1010

11-
A:link{color:#0066A2; }
12-
A:visited{color:#004E66; }
13-
A:active{color:#0066A2; }
14-
A:hover{color:#000000; }
11+
a:link{color:#0066A2; }
12+
a:visited{color:#004E66; }
13+
a:active{color:#0066A2; }
14+
a:hover{color:#000000; }
1515

16-
H1 {
16+
h1 {
1717
font-size:1.4em;
1818
font-weight: bold;
1919
margin-top:0em;
2020
margin-bottom:0em;
2121
color:#EC5800;
2222
}
2323

24-
H2 {
24+
h2 {
2525
font-size:1.2em;
2626
margin:1.2em0em1.2em0em;
2727
font-weight: bold;
28-
color:#666;
28+
color:#EC5800;
2929
}
3030

31-
H3 {
31+
h3 {
3232
font-size:1.1em;
3333
margin:1.2em0em1.2em0em;
3434
font-weight: bold;
3535
color:#666;
3636
}
3737

38-
H4 {
38+
h4 {
3939
font-size:0.95em;
4040
margin:1.2em0em1.2em0em;
4141
font-weight: normal;
4242
color:#666;
4343
}
4444

45-
H5 {
45+
h5 {
4646
font-size:0.9em;
4747
margin:1.2em0em1.2em0em;
4848
font-weight: normal;
4949
}
5050

51-
H6 {
51+
h6 {
5252
font-size:0.85em;
5353
margin:1.2em0em1.2em0em;
5454
font-weight: normal;
5555
}
5656

5757
/* center some titles */
5858

59-
.BOOK .TITLE, .BOOK .CORPAUTHOR, .BOOK .COPYRIGHT {
59+
.book .title, .book .corpauthor, .book .copyright {
6060
text-align: center;
6161
}
6262

6363
/* decoration for formal examples */
6464

65-
DIV.EXAMPLE {
65+
div.example {
6666
padding-left:15px;
6767
border-style: solid;
6868
border-width:0px;
@@ -71,28 +71,16 @@ DIV.EXAMPLE {
7171
margin:0.5ex;
7272
}
7373

74-
/* less dense spacing of TOC */
75-
76-
.BOOK .TOCDLDT {
77-
padding-top:1.5ex;
78-
padding-bottom:1.5ex;
79-
}
80-
81-
.BOOK .TOCDLDLDT {
82-
padding-top:0ex;
83-
padding-bottom:0ex;
84-
}
85-
8674
/* miscellaneous */
8775

88-
PRE.LITERALLAYOUT, .SCREEN, .SYNOPSIS, .PROGRAMLISTING {
76+
pre.literallayout, .screen, .synopsis, .programlisting {
8977
margin-left:4ex;
9078
}
9179

92-
.COMMENT{color: red; }
80+
.comment{color: red; }
9381

94-
VAR{font-family: monospace;font-style: italic; }
82+
var{font-family: monospace;font-style: italic; }
9583
/* Konqueror's standard style for ACRONYM is italic. */
96-
ACRONYM{font-style: inherit; }
84+
acronym{font-style: inherit; }
9785

98-
.OPTION{white-space: nowrap; }
86+
.option{white-space: nowrap; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp