Skip to content

Commit 8d54b12

Browse files
committed
Squashed commit of the following:
commit 28d9f8f Author: Michael Reiche <[email protected]> Date: Thu Jul 21 10:28:26 2022 -0700 Update transactions documentation for native transaction support. Closes #1454,#1512.
1 parent 8dd5994 commit 8d54b12

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.adoc

+23
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,29 @@ https://mikereiche.github.io/staged/index.html
217217

218218
The generated documentation is available from `target/site/reference/html/index.html`.
219219

220+
=== Building and staging reference documentation for review
221+
222+
[source,bash]
223+
----
224+
export MY_GIT_USER=<github-user>
225+
mvn generate-resources
226+
docs=`pwd`/target/site/reference/html
227+
pushd /tmp
228+
mkdir $$
229+
cd $$
230+
# see https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site
231+
# this examples uses a repository named "staged"
232+
git clone [email protected]:${MY_GIT_USER}/staged.git -b gh-pages
233+
cd staged
234+
cp -R $docs/* .
235+
git add .
236+
git commit --message "stage for review"
237+
git push origin gh-pages
238+
popd
239+
----
240+
241+
The generated documentation is available from `target/site/reference/html/index.html`.
242+
220243
== Examples
221244

222245
* https://github.com/spring-projects/spring-data-examples/[Spring Data Examples] contains example projects that explain specific features in more detail.

0 commit comments

Comments
 (0)