From 0ec23ae6813e8f880fc31847fde1b8f6066fdf2f Mon Sep 17 00:00:00 2001 From: jruaux Date: Mon, 18 Mar 2024 17:03:50 -0700 Subject: [PATCH] build: Removed ghpages publishing from riot cli --- VERSION | 2 +- docs/guide/src/docs/asciidoc/quickstart.adoc | 6 +--- plugins/riot/riot.gradle | 34 -------------------- 3 files changed, 2 insertions(+), 40 deletions(-) diff --git a/VERSION b/VERSION index 944880fa1..67b096daf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.2.0 +3.2.1-SNAPSHOT diff --git a/docs/guide/src/docs/asciidoc/quickstart.adoc b/docs/guide/src/docs/asciidoc/quickstart.adoc index 8a7bdbc94..a95dfa463 100644 --- a/docs/guide/src/docs/asciidoc/quickstart.adoc +++ b/docs/guide/src/docs/asciidoc/quickstart.adoc @@ -71,7 +71,7 @@ riot command subcommand --help ==== [[_shell_completion]] -=== Shell Completion +== Shell Completion Run the following command to give `riot` TAB completion in the current shell: [source] @@ -79,7 +79,3 @@ Run the following command to give `riot` TAB completion in the current shell: $ source <(riot generate-completion) ---- -[[_manpage]] -=== Manual -The manual is available link:manpage/riot.html[here] - diff --git a/plugins/riot/riot.gradle b/plugins/riot/riot.gradle index aae6b446a..2b0ebea3d 100644 --- a/plugins/riot/riot.gradle +++ b/plugins/riot/riot.gradle @@ -18,7 +18,6 @@ plugins { id 'application' id 'org.jreleaser.jdks' - id 'org.ajoberstar.git-publish' } application { @@ -146,39 +145,6 @@ afterEvaluate { mainClassName = "com.redis.riot.cli.Main" -task generateManpageAsciiDoc(type: JavaExec) { - dependsOn(classes) - group = "Documentation" - description = "Generate AsciiDoc manpage" - classpath(configurations.compileClasspath, configurations.annotationProcessor, sourceSets.main.runtimeClasspath) - main 'picocli.codegen.docgen.manpage.ManPageGenerator' - args mainClassName, "--outdir=${project.buildDir}/generated-picocli-docs", "-v" //, "--template-dir=src/docs/mantemplates" -} - -apply plugin: 'org.asciidoctor.jvm.convert' - -asciidoctor { - dependsOn(generateManpageAsciiDoc) - sourceDir = file("${project.buildDir}/generated-picocli-docs") - outputDir = file("${project.buildDir}/docs") - logDocuments = true - outputOptions { - backends = ['manpage', 'html5'] - } -} - -gitPublish { - repoUri = "https://github.com/redis-developer/${project.rootProject.name}" - branch = "gh-pages" - contents { - from ("${project.buildDir}/docs/html5") { - into 'manpage' - } - } -} - -gitPublishCopy.dependsOn asciidoctor - eclipse { project { name = 'riot-cli'