Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.41 KB

CONTRIBUTING-DOCUMENTATION.adoc

File metadata and controls

28 lines (16 loc) · 1.41 KB

How to contribute to the reference

The Spring Framework reference now uses asciidoctor. This document describes how to contribute documentation updates.

Building with Gradle

You can build the documentation using gradle using the asciidoc task. For example, from the project root execute the following command:

gradlew asciidoc

the output will be available at spring-framework/build/asciidoc/index.html

Live editing

One of the nice features about using asciidoctor is the support for live editing.

You will find a Guardfile already present at spring-framework/src/asciidoc/Guardfile. Then ensure to follow the setup instructions within the Editing AsciiDoc with Live Preview document.

When running guard start within the src/asciidoc/ folder, any changes to the src/asciidoc/index.adoc file will automatically be written at src/asciidoc/build/index.html.

Documentation notes

Some notes on documentation