Skip to content

Commit 454c2f2

Browse files
doc: many website cosmetics about Release vs. Snapshot
1 parent e428c7f commit 454c2f2

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
java-version: '11'
3030
distribution: 'temurin'
3131
- name: Build with Gradle
32-
uses: gradle/gradle-build-action@v2
32+
uses: gradle/gradle-build-action@2.4.2
3333
with:
3434
arguments: build check
3535
# arguments: build check publish

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: master
2222
fetch-depth: 0
2323
- name: Setup Gradle
24-
uses: gradle/gradle-build-action@v2
24+
uses: gradle/gradle-build-action@2.4.2
2525
- name: Run build with Gradle Wrapper
2626
run: FLOATING_TOC=false gradle --no-build-cache clean xmldoc sphinx
2727
- name: Deploy

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ tasks.register('xmldoc', Javadoc) {
161161
options.doclet = "com.github.markusbernhardt.xmldoclet.XmlDoclet"
162162
title = "API $version"
163163
options.addBooleanOption("rst", true)
164-
options.addBooleanOption("withFloatingToc", true)
164+
options.addBooleanOption("withFloatingToc", Boolean.parseBoolean(System.getenv().getOrDefault("FLOATING_TOC", "true")))
165165
options.addStringOption("basePackage", "net.sf.jsqlparser")
166166
options.addStringOption("filename", outFile.getName())
167167

src/main/resources/rr/xhtml2rst.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
<xsl:template match="/xhtml:html/xhtml:body">
5050
<xsl:text disable-output-escaping="yes">
5151
*********************************************************************
52-
SQL Syntax JSQLParser-</xsl:text><xsl:choose>
52+
SQL Syntax </xsl:text><xsl:choose>
5353
<xsl:when test="$isSnapshot='true'"><xsl:text>|JSQLPARSER_SNAPSHOT_VERSION|</xsl:text></xsl:when>
5454
<xsl:otherwise><xsl:text>|JSQLPARSER_VERSION|</xsl:text></xsl:otherwise>
5555
</xsl:choose><xsl:text>
5656
*********************************************************************
5757

58-
The EBNF and Railroad Diagrams for JSQLParser-</xsl:text><xsl:choose>
58+
The EBNF and Railroad Diagrams for </xsl:text><xsl:choose>
5959
<xsl:when test="$isSnapshot='true'"><xsl:text>|JSQLPARSER_SNAPSHOT_VERSION|</xsl:text></xsl:when>
6060
<xsl:otherwise><xsl:text>|JSQLPARSER_VERSION|</xsl:text></xsl:otherwise>
6161
</xsl:choose><xsl:text>.

0 commit comments

Comments
 (0)