Skip to content

Commit

Permalink
build: Removed ghpages publishing from riot cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Mar 19, 2024
1 parent 87ebbd9 commit 0ec23ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 40 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
3.2.1-SNAPSHOT
6 changes: 1 addition & 5 deletions docs/guide/src/docs/asciidoc/quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,11 @@ riot command subcommand --help
====

[[_shell_completion]]
=== Shell Completion
== Shell Completion
Run the following command to give `riot` TAB completion in the current shell:

[source]
----
$ source <(riot generate-completion)
----

[[_manpage]]
=== Manual
The manual is available link:manpage/riot.html[here]

34 changes: 0 additions & 34 deletions plugins/riot/riot.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id 'application'
id 'org.jreleaser.jdks'
id 'org.ajoberstar.git-publish'
}

application {
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 0ec23ae

Please sign in to comment.