Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
384eb1d4
Commit
384eb1d4
authored
Nov 28, 2013
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Allow selecting web site CSS style sheet in XSLT HTML build
parent
8e18d04d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
doc/src/sgml/Makefile
doc/src/sgml/Makefile
+4
-0
doc/src/sgml/stylesheet.xsl
doc/src/sgml/stylesheet.xsl
+9
-1
No files found.
doc/src/sgml/Makefile
View file @
384eb1d4
...
...
@@ -258,6 +258,10 @@ postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML)
rm
postgres.xmltmp
# ' hello Emacs
ifeq
($(STYLE),website)
XSLTPROC_HTML_FLAGS
+=
--param
website.stylesheet 1
endif
xslthtml
:
xslthtml-stamp
xslthtml-stamp
:
stylesheet.xsl postgres.xml
...
...
doc/src/sgml/stylesheet.xsl
View file @
384eb1d4
...
...
@@ -10,7 +10,6 @@
<!-- Parameters -->
<xsl:param
name=
"base.dir"
select=
"'html/'"
></xsl:param>
<xsl:param
name=
"html.stylesheet"
select=
"'stylesheet.css'"
></xsl:param>
<xsl:param
name=
"use.id.as.filename"
select=
"'1'"
></xsl:param>
<xsl:param
name=
"make.valid.html"
select=
"1"
></xsl:param>
<xsl:param
name=
"generate.id.attributes"
select=
"1"
></xsl:param>
...
...
@@ -21,6 +20,15 @@
<xsl:param
name=
"chunk.quietly"
select=
"1"
></xsl:param>
<xsl:param
name=
"toc.max.depth"
>
2
</xsl:param>
<xsl:param
name=
"website.stylesheet"
select=
"0"
/>
<xsl:param
name=
"html.stylesheet"
>
<xsl:choose>
<xsl:when
test=
"$website.stylesheet = 0"
>
stylesheet.css
</xsl:when>
<xsl:otherwise>
http://www.postgresql.org/media/css/docs.css
</xsl:otherwise>
</xsl:choose>
</xsl:param>
<!-- Change display of some elements -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment