Skip to content
Permalink
Browse files

Add missing menus to the new user guides.

Since the CentOS 6/7 user guides were generated as a single page they did not get menus.  Generate the entire site for each user guide so menus are included.
  • Loading branch information...
dwsteele committed May 24, 2019
1 parent 04f8b4e commit 39cb6248314e21530924886e6e669ac395daeeb1
Showing with 6 additions and 9 deletions.
  1. +6 −9 doc/release.pl
@@ -241,12 +241,10 @@ =head1 SYNOPSIS
# Generate a full copy of the docs for review
&log(INFO, "Generate full documentation for review");

executeTest(
"${strDocExe} --deploy --cache-only --key-var=os-type=centos7 --include=user-guide --out=html" .
" --var=project-url-root=index.html");
executeTest("${strDocExe} --deploy --cache-only --key-var=os-type=centos7 --out=html --var=project-url-root=index.html");
$oStorageDoc->move("$strDocHtml/user-guide.html", "$strDocHtml/user-guide-centos7.html");
executeTest(
"${strDocExe} --deploy --out-preserve --cache-only --key-var=os-type=centos6 --out=html --include=user-guide" .
"${strDocExe} --deploy --out-preserve --cache-only --key-var=os-type=centos6 --out=html" .
" --var=project-url-root=index.html");
$oStorageDoc->move("$strDocHtml/user-guide.html", "$strDocHtml/user-guide-centos6.html");

@@ -263,9 +261,9 @@ =head1 SYNOPSIS
my $strDocExeVersion =
${strDocExe} . ($bDev ? ' --dev' : ' --deploy --cache-only') . ' --var=project-url-root=index.html --out=html';

executeTest("${strDocExeVersion} --key-var=os-type=centos7 --include=user-guide");
executeTest("${strDocExeVersion} --key-var=os-type=centos7");
$oStorageDoc->move("$strDocHtml/user-guide.html", "$strDocHtml/user-guide-centos7.html");
executeTest("${strDocExeVersion} --out-preserve --key-var=os-type=centos6 --include=user-guide");
executeTest("${strDocExeVersion} --out-preserve --key-var=os-type=centos6");
$oStorageDoc->move("$strDocHtml/user-guide.html", "$strDocHtml/user-guide-centos6.html");

$oStorageDoc->remove("$strDocHtml/release.html");
@@ -282,10 +280,9 @@ =head1 SYNOPSIS
{
&log(INFO, "Generate website documentation");

executeTest("${strDocExe} --deploy --cache-only --key-var=os-type=centos7 --include=user-guide --out=html");
executeTest("${strDocExe} --deploy --cache-only --key-var=os-type=centos7 --out=html");
$oStorageDoc->move("$strDocHtml/user-guide.html", "$strDocHtml/user-guide-centos7.html");
executeTest(
"${strDocExe} --deploy --out-preserve --cache-only --key-var=os-type=centos6 --include=user-guide --out=html");
executeTest("${strDocExe} --deploy --out-preserve --cache-only --key-var=os-type=centos6 --out=html");
$oStorageDoc->move("$strDocHtml/user-guide.html", "$strDocHtml/user-guide-centos6.html");
executeTest("${strDocExe} --deploy --out-preserve --cache-only --out=html");

0 comments on commit 39cb624

Please sign in to comment.
You can’t perform that action at this time.