forked from apache/samza
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAMZA-259: Restructure documentation folders
- Loading branch information
1 parent
fa03273
commit 1e2cfe2
Showing
200 changed files
with
28,462 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
# The goal of this script is to make testing the site locally easier. | ||
# It downloads old pages from SVN and replaces with/add new pages. | ||
|
||
DIR=$(dirname $0)/.. | ||
cd $DIR | ||
|
||
echo "downloading SVN..." | ||
SVN_TMP=`mktemp -d /tmp/samza-svn.XXXX` | ||
svn co https://svn.apache.org/repos/asf/incubator/samza/ $SVN_TMP | ||
cp -r _site/* $SVN_TMP/site/ | ||
cp -r $SVN_TMP/site/* _site | ||
rm -rf $SVN_TMP | ||
|
||
# replace version number | ||
echo "replacing version number..." | ||
_docs/replace-versioned.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
# get the version number | ||
version=`cat _config.yml | grep 'version:' | cut -d' ' -f 2` | ||
latestRelease=`cat _config.yml | grep 'latest-release:' | cut -d' ' -f 2` | ||
DIR=$(dirname $0)/.. | ||
|
||
if test -z "$version" || test -z "$latestRelease"; then | ||
echo "Please make sure _config.yml has \"version\" and \"latest-release\"" | ||
exit 0 | ||
fi | ||
|
||
echo "version:" $version | ||
|
||
echo "replaced img/versioned to img/"$version | ||
mv -f $DIR/_site/img/versioned $DIR/_site/img/$version | ||
|
||
echo "replaced learn/documentation/versioned to learn/documentation/"$version | ||
mv -f $DIR/_site/learn/documentation/versioned $DIR/_site/learn/documentation/$version | ||
|
||
echo "replaced learn/tutorials/versioned to learn/tutorials/"$version | ||
mv -f $DIR/_site/learn/tutorials/versioned $DIR/_site/learn/tutorials/$version | ||
|
||
echo "replaced startup/hello-samza/versioned to startup/hello-samza/"$version | ||
mv -f $DIR/_site/startup/hello-samza/versioned $DIR/_site/startup/hello-samza/$version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
layout: page | ||
title: Documentation | ||
--- | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<h4>0.7.0 Release</h4> | ||
|
||
<ul class="documentation-list"> | ||
<li><a href="../learn/documentation/0.7.0">Documentation</a></li> | ||
<li><a href="../learn/tutorials/0.7.0">Tutorials</a></li> | ||
<li><a href="../startup/hello-samza/0.7.0">Hello Samza</a></li> | ||
</ul> |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.