Skip to content

Commit

Permalink
build: GH action
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Reichel <[email protected]>
  • Loading branch information
manticore-projects committed Feb 2, 2025
1 parent 669c4e8 commit e1b317d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Install Python dependencies
run: pip install furo myst_parser sphinx-prompt sphinx_substitution_extensions sphinx_issues sphinx_inline_tabs pygments
- name: Build Sphinx documentation with Gradle
run: FLOATING_TOC=false ./gradlew gitChangelogTask renderRR xslt xmldoc sphinx
run: ./gradlew -DFLOATING_TOC=false gitChangelogTask renderRR xslt xmldoc sphinx
- name: Deploy Sphinx documentation
uses: actions/configure-pages@main
- name: Upload artifact
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# [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"/>

[![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)
[![Gradle CI](https://github.com/JSQLParser/JSqlParser/actions/workflows/gradle.yml/badge.svg)](https://github.com/JSQLParser/JSqlParser/actions/workflows/gradle.yml)
[![CI](https://github.com/JSQLParser/JSqlParser/actions/workflows/ci.yml/badge.svg)](https://github.com/JSQLParser/JSqlParser/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/JSQLParser/JSqlParser/badge.svg?branch=master)](https://coveralls.io/r/JSQLParser/JSqlParser?branch=master)
[![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)
[![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)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,11 @@ spotless {

// define the steps to apply to those files
trimTrailingWhitespace()
indentWithSpaces(4) // or spaces. Takes an integer argument if you don't like 4
leadingTabsToSpaces(4)
endWithNewline()
}
java {
indentWithSpaces(4)
leadingTabsToSpaces(4)
eclipse().configFile('config/formatter/eclipse-java-google-style.xml')
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/rr/xhtml2rst.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<xsl:template match="/xhtml:html/xhtml:body">
<xsl:text disable-output-escaping="yes"><![CDATA[
*********************************************************************
SQL Syntax]]></xsl:text>
SQL Syntax ]]></xsl:text>
<xsl:choose>
<xsl:when test="$isSnapshot='true'">
<xsl:text>|JSQLPARSER_SNAPSHOT_VERSION|</xsl:text>
Expand All @@ -62,7 +62,7 @@ SQL Syntax]]></xsl:text>
<xsl:text><![CDATA[
*********************************************************************
The EBNF and Railroad Diagrams for]]></xsl:text>
The EBNF and Railroad Diagrams for ]]></xsl:text>
<xsl:choose>
<xsl:when test="$isSnapshot='true'">
<xsl:text>|JSQLPARSER_SNAPSHOT_VERSION|</xsl:text>
Expand Down
2 changes: 1 addition & 1 deletion src/site/sphinx/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Java SQL Parser Library
:alt: Java Docs
:target: https://javadoc.io/doc/com.github.jsqlparser/jsqlparser/latest/index.html

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!
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!

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

0 comments on commit e1b317d

Please sign in to comment.