Skip to content

Commit e1b317d

Browse files
build: GH action
Signed-off-by: Andreas Reichel <[email protected]>
1 parent 669c4e8 commit e1b317d

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Install Python dependencies
7474
run: pip install furo myst_parser sphinx-prompt sphinx_substitution_extensions sphinx_issues sphinx_inline_tabs pygments
7575
- name: Build Sphinx documentation with Gradle
76-
run: FLOATING_TOC=false ./gradlew gitChangelogTask renderRR xslt xmldoc sphinx
76+
run: ./gradlew -DFLOATING_TOC=false gitChangelogTask renderRR xslt xmldoc sphinx
7777
- name: Deploy Sphinx documentation
7878
uses: actions/configure-pages@main
7979
- name: Upload artifact

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# [JSqlParser 5.1 Website](https://jsqlparser.github.io/JSqlParser) <img src="src/site/sphinx/_images/logo-no-background.svg" alt="drawing" width="200" align="right"/>
22

3-
[![Maven deploy snapshot](https://github.com/JSQLParser/JSqlParser/actions/workflows/maven_deploy.yml/badge.svg)](https://github.com/JSQLParser/JSqlParser/actions/workflows/maven_deploy.yml)
4-
[![Gradle CI](https://github.com/JSQLParser/JSqlParser/actions/workflows/gradle.yml/badge.svg)](https://github.com/JSQLParser/JSqlParser/actions/workflows/gradle.yml)
3+
[![CI](https://github.com/JSQLParser/JSqlParser/actions/workflows/ci.yml/badge.svg)](https://github.com/JSQLParser/JSqlParser/actions/workflows/ci.yml)
54
[![Coverage Status](https://coveralls.io/repos/JSQLParser/JSqlParser/badge.svg?branch=master)](https://coveralls.io/r/JSQLParser/JSqlParser?branch=master)
65
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/6f9a2d7eb98f45969749e101322634a1)](https://www.codacy.com/gh/JSQLParser/JSqlParser/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=JSQLParser/JSqlParser&amp;utm_campaign=Badge_Grade)
76
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.jsqlparser/jsqlparser/badge.svg)](http://maven-badges.herokuapp.com/maven-central/com.github.jsqlparser/jsqlparser) [![Javadocs](https://www.javadoc.io/badge/com.github.jsqlparser/jsqlparser.svg)](https://www.javadoc.io/doc/com.github.jsqlparser/jsqlparser)

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,11 +310,11 @@ spotless {
310310

311311
// define the steps to apply to those files
312312
trimTrailingWhitespace()
313-
indentWithSpaces(4) // or spaces. Takes an integer argument if you don't like 4
313+
leadingTabsToSpaces(4)
314314
endWithNewline()
315315
}
316316
java {
317-
indentWithSpaces(4)
317+
leadingTabsToSpaces(4)
318318
eclipse().configFile('config/formatter/eclipse-java-google-style.xml')
319319
}
320320
}

src/main/resources/rr/xhtml2rst.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<xsl:template match="/xhtml:html/xhtml:body">
5151
<xsl:text disable-output-escaping="yes"><![CDATA[
5252
*********************************************************************
53-
SQL Syntax]]></xsl:text>
53+
SQL Syntax ]]></xsl:text>
5454
<xsl:choose>
5555
<xsl:when test="$isSnapshot='true'">
5656
<xsl:text>|JSQLPARSER_SNAPSHOT_VERSION|</xsl:text>
@@ -62,7 +62,7 @@ SQL Syntax]]></xsl:text>
6262
<xsl:text><![CDATA[
6363
*********************************************************************
6464
65-
The EBNF and Railroad Diagrams for]]></xsl:text>
65+
The EBNF and Railroad Diagrams for ]]></xsl:text>
6666
<xsl:choose>
6767
<xsl:when test="$isSnapshot='true'">
6868
<xsl:text>|JSQLPARSER_SNAPSHOT_VERSION|</xsl:text>

src/site/sphinx/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Java SQL Parser Library
5050
:alt: Java Docs
5151
:target: https://javadoc.io/doc/com.github.jsqlparser/jsqlparser/latest/index.html
5252

53-
A huge thank you to our sponsor, [Starlake.ai](https://starlake.ai/) who simplifies data ingestion, transformation, and orchestration, enabling faster delivery of high-quality data. Starlake has been instrumental in providing Piped SQL and numerous test cases for BigQuery, Redshift, DataBricks, and DuckDB. Show your support for ongoing development by visiting Starlake.ai and giving us a star!
53+
A huge thank you to our sponsor, `Starlake.ai <https://starlake.ai/>`_ who simplifies data ingestion, transformation, and orchestration, enabling faster delivery of high-quality data. Starlake has been instrumental in providing Piped SQL and numerous test cases for BigQuery, Redshift, DataBricks, and DuckDB. Show your support for ongoing development by visiting Starlake.ai and giving us a star!
5454

5555
**JSQLParser** is a SQL statement parser built from JavaCC. It translates SQLs in a traversable hierarchy of Java classes.
5656
Since the 5.0 release JSQLParser depends on Java 11 and has introduced new Visitors. Please see the :ref:`Migration to 5.0` guide.

0 commit comments

Comments
 (0)