Skip to content

Commit a79c4d1

Browse files
committed
Merge branch 'main' into datacouch_1503_reorganize_the_github_repository
2 parents 57e660e + 28d9f8f commit a79c4d1

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
@@ -263,6 +263,29 @@ The generated documentation is available from `target/site/reference/html/index.
263263

264264
The generated documentation is available from `target/site/reference/html/index.html`.
265265

266+
=== Building and staging reference documentation for review
267+
268+
[source,bash]
269+
----
270+
export MY_GIT_USER=<github-user>
271+
mvn generate-resources
272+
docs=`pwd`/target/site/reference/html
273+
pushd /tmp
274+
mkdir $$
275+
cd $$
276+
# see https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site
277+
# this examples uses a repository named "staged"
278+
git clone [email protected]:${MY_GIT_USER}/staged.git -b gh-pages
279+
cd staged
280+
cp -R $docs/* .
281+
git add .
282+
git commit --message "stage for review"
283+
git push origin gh-pages
284+
popd
285+
----
286+
287+
The generated documentation is available from `target/site/reference/html/index.html`.
288+
266289
== Examples
267290

268291
* 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)