Skip to content

Commit

Permalink
Fix script to make new versioned docs (#892)
Browse files Browse the repository at this point in the history
This script was written to consider the root README as the source
of truth but I think that was before we realized that the docs
for the site have slightly different linking requirements.

As a result, the appropriate place to take the README from is the
master docs.

Fixes #887

Signed-off-by: John Schnake <jschnake@vmware.com>
  • Loading branch information
johnSchnake committed Sep 18, 2019
1 parent 3d6c1be commit 0b77329
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/update_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ else
/bin/sh -c \
"rm -rf /root/site/docs/${VERSION} && \
cp -r /root/site/docs/master /root/site/docs/${VERSION} && \
cp /root/README.md /root/site/docs/${VERSION}/README.md && \
sed -i 's/site\/docs\/master\///g' /root/site/docs/${VERSION}/README.md && \
sed -i 's/docs\/img/img/g' /root/site/docs/${VERSION}/README.md && \
sed -i 's/sonobuoy\/tree\/master/sonobuoy\/tree\/${VERSION}/g' /root/site/docs/${VERSION}/README.md && \
Expand Down

0 comments on commit 0b77329

Please sign in to comment.