• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

melix/gradle-presentation-template: A presentation template using Asciidoctor+Re ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

melix/gradle-presentation-template

开源软件地址(OpenSource Url):

https://github.com/melix/gradle-presentation-template

开源编程语言(OpenSource Language):

Kotlin 66.0%

开源软件介绍(OpenSource Introduction):

Asciidoctor/Reveal.js presentation template

This is a template project for Asciidoctor+Reveal.js presentations. To use it, just fork this repository and update the presentation as you wish.

Configuration

Minimally, update the build.gradle.kts file to set your GitHub username:

presentation {
    githubUserName.set("yourUserName")
}

and change the name of the project in settings.gradle.kts:

rootProject.name = "my-awesome-presentation"

Generating the presentation

Run:

./gradlew asciidoctor

Uploading the slides on GitHub pages

Run:

./gradlew publishGhPages

If your repository name is different from the name of the project in settings.gradle.kts, update the configuration in build.gradle.kts:

presentation {
    githubUserName.set("yourUserName")
    githubRepoName.set("yourRepoName")
}

Then the presentation is going to be available at https://yourUserName.github.io/yourRepoName/

Screencasts

This template supports screencasts in the asciinema format. Include your JSON files in src/docs/asciidoc/screencasts, then include them in your presentation using:

screencast:my_file[]

Exporting the presentation

This template supports exporting the presentation to PDF, JPEG and PNG. You'll need a JDK which bundles JavaFX to do this. Run this task:

./gradlew exportToPdf

to generate a PDF, or:

./gradlew export

to export to all formats.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
akhikhl/unpuzzle: Gradle plugin for mavenizing OSGi artifacts发布时间:2022-06-14
下一篇:
allegro/newrelic-gradle-plugin: Newrelic Gradle plugin.发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap