在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):asciidoctor/asciidoctor-maven-examples开源软件地址(OpenSource Url):https://github.com/asciidoctor/asciidoctor-maven-examples开源编程语言(OpenSource Language):CSS 43.2%开源软件介绍(OpenSource Introduction):Asciidoctor Maven Plugin: ExamplesThis repository contains a collection of sample projects that demonstrate numerous ways to use the Asciidoctor Maven plugin in a Maven project. Getting the examplesClone the example repository using git: $ git clone https://github.com/asciidoctor/asciidoctor-maven-examples Refer to the README file in each individual project to learn how to run it. Example catalog
Root pom.xmlThe root UsageInvoke the $ mvn On JRuby dependencyAsciidoctor Maven plugin relies on asciidoctor project to do the actual rendering. This is a Ruby implementation integrated thanks to the JRuby project, which is a required dependency to run the plugin. The maven plugin provides a default version of the <plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor.maven.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>${jruby.version}</version>
</dependency>
<dependencies>
</plugin> Updating Asciidoctor Maven plugin versionIn case it is required to test a specific version of the plugin (e.g. local SNAPSHOT version), a tool has been included to update the version in all examples. Properties can be updated in two ways.
<asciidoctor.maven.plugin.version>2.2.2</asciidoctor.maven.plugin.version>
ContributingWe want you! Yes, you. Anyone can contribute to an Asciidoctor project. If you have a specialty, or just some creativity to share, we need your participation. We have big aspirations for the project and we need an assortment of skill sets in order to reach them. Make no mistake, contributing is not just for developers. Of course, we’ll always need help with the code as it’s the basis of the project. But code isn’t going to make the project successful alone. We also need documentation, automation, design, marketing, communication, advocacy and more for it to make an impact. Here are just a few of the ways you can contribute to the project:
The best way to get involved is just to show up and express your interest. We have a very friendly and encouraging culture. Harassment or offensive behavior is simply not tolerated. We are positive, even when being critical. We also strive to lift others up and help them be successful. We want your choice to participate in an Asciidoctor project be the start of an exciting and rewarding journey. So thanks for showing up! Code conventionsEven when this project does not contain much code, we encourage the following good practices to improve accessibility and ease the use of the examples:
To help fixing some style conventions a small script has been included. Currently, it only checks for tabs, which should be replaced by white spaces. To see what files contain some inconsistency, run this command from the parent project.
If you want it to fix the issues for you, just add
Copyright and LicensingCopyright © 2014 The Asciidoctor Project. Free use of this software is granted under the terms of the MIT License. See the LICENSE.adoc file for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论