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
a4cf1ba6
Commit
a4cf1ba6
authored
Nov 23, 2004
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add htmlhelp stylesheet and build target.
parent
28e9b26f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
112 additions
and
1 deletion
+112
-1
doc/src/sgml/Makefile
doc/src/sgml/Makefile
+4
-1
doc/src/sgml/stylesheet-hh.xsl
doc/src/sgml/stylesheet-hh.xsl
+108
-0
No files found.
doc/src/sgml/Makefile
View file @
a4cf1ba6
...
...
@@ -2,7 +2,7 @@
#
# PostgreSQL documentation makefile
#
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.7
2 2004/03/09 20:10:10 momjian
Exp $
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.7
3 2004/11/23 16:27:59 petere
Exp $
#
#----------------------------------------------------------------------------
...
...
@@ -215,6 +215,9 @@ postgres.xml: postgres.sgml $(GENERATED_SGML)
testxml
:
stylesheet.xsl postgres.xml
$(XSLTPROC)
$(XSLTPROCFLAGS)
--stringparam
pg.version
'
$(VERSION)
'
$^
htmlhelp
:
stylesheet-hh.xsl postgres.xml
$(XSLTPROC)
$(XSLTPROCFLAGS)
--stringparam
pg.version
'
$(VERSION)
'
$^
##
## Check
...
...
doc/src/sgml/stylesheet-hh.xsl
0 → 100644
View file @
a4cf1ba6
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
'1.0'
xmlns=
"http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes=
"#default"
>
<xsl:import
href=
"http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"
/>
<!-- Parameters -->
<xsl:param
name=
"htmlhelp.use.hhk"
select=
"'1'"
/>
<xsl:param
name=
"pg.fast"
select=
"'0'"
/>
<!--
<xsl:param name="draft.mode">
<xsl:choose>
<xsl:when test="contains($pg.version, 'devel')">yes</xsl:when>
<xsl:otherwise>no</xsl:otherwise>
</xsl:choose>
</xsl:param>
-->
<xsl:param
name=
"show.comments"
>
<xsl:choose>
<xsl:when
test=
"contains($pg.version, 'devel')"
>
1
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</xsl:param>
<xsl:param
name=
"callout.graphics"
select=
"'0'"
></xsl:param>
<xsl:param
name=
"toc.section.depth"
>
2
</xsl:param>
<xsl:param
name=
"linenumbering.extension"
select=
"'0'"
></xsl:param>
<xsl:param
name=
"generate.index"
select=
"1 - $pg.fast"
></xsl:param>
<xsl:param
name=
"preface.autolabel"
select=
"1 - $pg.fast"
></xsl:param>
<xsl:param
name=
"section.autolabel"
select=
"1 - $pg.fast"
></xsl:param>
<xsl:param
name=
"section.label.includes.component.label"
select=
"1 - $pg.fast"
></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>
<xsl:param
name=
"generate.legalnotice.link"
select=
"1"
></xsl:param>
<xsl:param
name=
"refentry.xref.manvolnum"
select=
"0"
/>
<xsl:param
name=
"link.mailto.url"
>
pgsql-docs@postgresql.org
</xsl:param>
<xsl:param
name=
"formal.procedures"
select=
"0"
></xsl:param>
<xsl:param
name=
"punct.honorific"
select=
"''"
></xsl:param>
<xsl:param
name=
"chunker.output.indent"
select=
"'yes'"
/>
<xsl:param
name=
"chunk.quietly"
select=
"1"
></xsl:param>
<!-- Change display of some elements -->
<xsl:template
match=
"command"
>
<xsl:call-template
name=
"inline.monoseq"
/>
</xsl:template>
<xsl:template
match=
"productname"
>
<xsl:call-template
name=
"inline.charseq"
/>
</xsl:template>
<xsl:template
match=
"structfield"
>
<xsl:call-template
name=
"inline.monoseq"
/>
</xsl:template>
<xsl:template
match=
"structname"
>
<xsl:call-template
name=
"inline.monoseq"
/>
</xsl:template>
<xsl:template
match=
"symbol"
>
<xsl:call-template
name=
"inline.monoseq"
/>
</xsl:template>
<xsl:template
match=
"systemitem"
>
<xsl:call-template
name=
"inline.charseq"
/>
</xsl:template>
<xsl:template
match=
"token"
>
<xsl:call-template
name=
"inline.monoseq"
/>
</xsl:template>
<xsl:template
match=
"type"
>
<xsl:call-template
name=
"inline.monoseq"
/>
</xsl:template>
<xsl:template
match=
"programlisting/emphasis"
>
<xsl:call-template
name=
"inline.boldseq"
/>
</xsl:template>
<!-- Special support for Tcl synopses -->
<xsl:template
match=
"optional[@role='tcl']"
>
?
<xsl:call-template
name=
"inline.charseq"
/>
?
</xsl:template>
<!--
Format multiple terms in varlistentry vertically, instead
of comma-separated.
-->
<xsl:template
match=
"varlistentry/term[position()!=last()]"
>
<span
class=
"term"
>
<xsl:call-template
name=
"anchor"
/>
<xsl:apply-templates/>
</span><br/>
</xsl:template>
</xsl:stylesheet>
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