Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added clarification about released documentation #290

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added clarification about released documentation
  • Loading branch information
abelsromero committed Mar 29, 2017
commit a94de77ea48351e33bac490a8d2918dc88e9ed03
26 changes: 25 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,22 @@
ifdef::env-github[:badges:]
// URIs
:project-repo: asciidoctor/asciidoctor-maven-plugin
:uri-repo: https://github.com/{project-repo}
:uri-asciidoc: http://asciidoc.org
:uri-asciidoctor: http://asciidoctor.org
:uri-examples: https://github.com/asciidoctor/asciidoctor-maven-examples
:uri-maven: http://maven.apache.org

// GitHub customization
ifdef::env-github[]
:tag: master
:!toc-title:
:tip-caption: :bulb:
:note-caption: :paperclip:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[]
// Badges
ifdef::badges[]
image:https://ci.appveyor.com/api/projects/status/chebmu91f08dlmsc/branch/master?svg=true["Build Status (AppVeyor)", link="https://ci.appveyor.com/project/asciidoctor/asciidoctor-maven-plugin"]
image:http://img.shields.io/travis/asciidoctor/asciidoctor-maven-plugin/master.svg["Build Status (Travis CI)", link="https://travis-ci.org/asciidoctor/asciidoctor-maven-plugin"]
Expand All @@ -26,6 +37,19 @@ The Asciidoctor Maven Plugin is the official way to convert your {uri-asciidoc}[
.Translations of the document are available in the following languages:
* link:README_zh-CN.adoc[汉语]

ifeval::['{tag}' == 'master']
[NOTE]
====
You're viewing the documentation for the upcoming release.
If you're looking for the documentation for an older release, please refer to one of the following tags: +
{uri-repo}/tree/asciidoctor-maven-plugin-1.5.5#readme[1.5.5]
⁃
{uri-repo}/tree/asciidoctor-maven-plugin-1.5.3#readme[1.5.3]
⁃
{uri-repo}/tree/asciidoctor-maven-plugin-1.5.2.1#readme[1.5.2.1]
====
endif::[]

== Installation

As this is a typical Maven plugin, simply declare the plugin in the `<plugins>` section of your POM file:
Expand Down
12 changes: 11 additions & 1 deletion README_zh-CN.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ ifdef::env-github[:badges:]
:uri-asciidoctor: http://asciidoctor.org
:uri-examples: https://github.com/asciidoctor/asciidoctor-maven-examples
:uri-maven: http://maven.apache.org

// GitHub customization
ifdef::env-github[]
:tag: master
:!toc-title:
:tip-caption: :bulb:
:note-caption: :paperclip:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[]
// Badges
ifdef::badges[]
image:https://ci.appveyor.com/api/projects/status/chebmu91f08dlmsc/branch/master?svg=true["Build Status (AppVeyor)", link="https://ci.appveyor.com/project/asciidoctor/asciidoctor-maven-plugin"]
image:http://img.shields.io/travis/asciidoctor/asciidoctor-maven-plugin/master.svg["Build Status (Travis CI)", link="https://travis-ci.org/asciidoctor/asciidoctor-maven-plugin"]
Expand Down