You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by db...@apache.org on 2022/02/23 18:07:00 UTC

[geode-site] branch master updated: Update README file

This is an automated email from the ASF dual-hosted git repository.

dbarnes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geode-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a3e5ee  Update README file
5a3e5ee is described below

commit 5a3e5ee44de5797d3c124adb7093d4bdcdcd4df7
Author: Dave Barnes <db...@apache.org>
AuthorDate: Wed Feb 23 10:06:54 2022 -0800

    Update README file
---
 README.md | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 620b478..a055cea 100644
--- a/README.md
+++ b/README.md
@@ -126,10 +126,10 @@ The `gradlew publish` command *does not* update the `css` and `stylesheets` dire
         ```
         {geode-site}/docs/guide/XY
         ```
-  where `XY` is the product version of your documentation (e.g., `{geode-site}/website/content/docs/guide/17` if you are publishing the documentation for Apache Geode 1.7). So, if your current working directory is the top level of `{geode-site}`, you would create the destination directory with the following command:
+  where `XY` is the product version of your documentation (e.g., `{geode-site}/website/content/docs/guide/17` if you are publishing the documentation for Apache Geode 1.14). So, if your current working directory is the top level of `{geode-site}`, you would create the destination directory with the following command:
 
         ```
-        $ mkdir -p {geode-site}/docs/guide/XY
+        $ mkdir -p {geode-site}/docs/guide/114
         ```
 
   1. Navigate to the User Guide you have built in the Geode repository: `{geode-project-dir}/geode-book/final_app/public/docs/guide/XY`.
@@ -149,6 +149,16 @@ The `gradlew publish` command *does not* update the `css` and `stylesheets` dire
         $ tar xvf ~/Desktop/new-guide-content.tar
         ```
 
+  - Replace the entire `docs/guide/latest` directory with a copy of the latest user guide's directory. Use `tar` (rather than `cp`) to preserve the original directory's structure.
+
+        ```
+        $ cd {geode-site}/docs/guide
+        $ rm -rf latest
+        $ mkdir latest
+        $ cd latest
+        $ (cd ../XY && tar cf - *) | (tar xf -)
+        ```
+  
 ### 3. Publish new javadocs
 
 You should still be on the __asf-site__ branch. Copy new javadocs directly to the directory