Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Moved columns in publish web site updates table to the left

...

Depending on which type of content you want to update, you will need to include different steps of the instructions shown below, required steps are marked with an X:

docsapidocs134 X
StepmaindocsapidocsDescriptionCommandmain
1 XXGet the Trafodion source code from gitsee "Download and Install Source"
2 XX2Check out a specific release X.Y.Z, if you want to update content for a previous release
git checkout rel/X.Y.Z
3 XX Build Trafodion documentation, after modifications to the documents, see Modifying Documents.
cd incubator-trafodion
source env.sh
mvn post-site 
4 X XBuild Trafodionsee "Build Source"
5 XX5XGet the web site content from git
git clone https://ApacheUserName@git-wip-us.apache.org/repos/asf/incubator-trafodion-site.git
cd incubator-trafodion-site
git checkout -b asf-site origin/asf-site
X6XX 6 Make changes to main sitesee "Modify Web Site"
X7 X 7Copy the built documentation from the Trafodion source tree to the site tree
cp -R incubator-trafodion/docs/target/*   incubator-trafodion-site/
8 X 8XBuild apidocs (note: X.Y.Z is the release number, see step 2 above)
cd incubator-trafodion-site/apidocs
build_apidocs.sh -o X.Y.Z
 9 XX9XCommit changes
git status
git add --all
git commit 
10XXX10Push changes back to ASF repository
git push origin HEAD:asf-site
11XXX11Check that the website, http://trafodion.apache.org is refreshed. If it isn't, make a small white-space change to trigger the Apache gitpubsub that does the update. 
X12XX 12 Once published, run https://validator.w3.org against updated pages to ensure that there are no broken links 
13X X 13XClose the JIRA and/or pull request, if applicable XX