Use Asciidoctor for READMEs and related files
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
# Restful Notes Spring Data REST Sample
|
||||
= Restful Notes Spring Data REST Sample
|
||||
|
||||
A RESTful web service for creating and storing notes.
|
||||
It uses hypermedia to describe the relationships between resources and to allow navigation between them.
|
||||
Demonstrates using Spring REST Docs with MockMvc and Spring Data REST.
|
||||
Demonstrates using Spring REST Docs with MockMvc and https://spring.io/projects/spring-data-rest/[Spring Data REST].
|
||||
|
||||
|
||||
|
||||
## Building and Running the Sample
|
||||
You will need Java 17 to build and run the sample.
|
||||
== Building the Sample
|
||||
|
||||
You will need Java 17 to build the sample.
|
||||
It is built using Maven:
|
||||
|
||||
```
|
||||
[source]
|
||||
----
|
||||
./mvnw verify
|
||||
```
|
||||
----
|
||||
|
||||
As part of the build, files named `build/docs/asciidoc/api-guide.html` and `build/docs/asciidoc/getting-started-guide.html` are created.
|
||||
They are produced using Asciidoctor and include snippets generated by the sample's tests using Spring REST Docs.
|
||||
Reference in New Issue
Block a user