Repository: mahout Updated Branches: refs/heads/master 4c1d12e39 -> d53d44437
WEBSITE-NOJIRA Fix Mahout Overview Link Project: http://git-wip-us.apache.org/repos/asf/mahout/repo Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/d53d4443 Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/d53d4443 Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/d53d4443 Branch: refs/heads/master Commit: d53d444374c874a89abd87042a4bdd6a57915258 Parents: 4c1d12e Author: Trevor a.k.a @rawkintrevo <[email protected]> Authored: Thu Dec 21 20:51:23 2017 -0600 Committer: Trevor a.k.a @rawkintrevo <[email protected]> Committed: Thu Dec 21 20:51:23 2017 -0600 ---------------------------------------------------------------------- website/_config.yml | 9 ++++----- website/_includes/doc-navbar.html | 6 +++--- website/_posts/2017-12-20-new-website.md | 18 ++++++++++++++++++ website/build_site.sh | 4 +++- website/developers/developer-resources.md | 16 ++++++---------- 5 files changed, 34 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mahout/blob/d53d4443/website/_config.yml ---------------------------------------------------------------------- diff --git a/website/_config.yml b/website/_config.yml index 47234d1..0e12020 100644 --- a/website/_config.yml +++ b/website/_config.yml @@ -1,7 +1,7 @@ title : Apache Mahout description: Distributed Linear Algebra -mahout-version: 0.13.0 +mahoutversion: 0.13.0 author : name : The Apache Software Foundation @@ -17,7 +17,6 @@ port: 4000 host: 127.0.0.1 baseurl: "" -mahout_version: 0.13.1 # Build settings markdown: kramdown @@ -27,9 +26,9 @@ plugins: # Exclude from processing. # The following items will not be processed, by default. Create a custom list # to override the default setting. -# exclude: -# - Gemfile -# - Gemfile.lock +exclude: + - Gemfile + - Gemfile.lock # - node_modules # - vendor/bundle/ # - vendor/cache/ http://git-wip-us.apache.org/repos/asf/mahout/blob/d53d4443/website/_includes/doc-navbar.html ---------------------------------------------------------------------- diff --git a/website/_includes/doc-navbar.html b/website/_includes/doc-navbar.html index e080bf8..c2fc4eb 100644 --- a/website/_includes/doc-navbar.html +++ b/website/_includes/doc-navbar.html @@ -16,7 +16,7 @@ <!-- Quick Start --> <li class="nav-item"> - <a class="nav-link" href="//docs/latest/" >Mahout Overview</a> + <a class="nav-link" href="/docs/latest" >Overview</a> </li> <li class="nav-item dropdown"> @@ -92,7 +92,7 @@ <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">API /docs</a> <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> - <a class="dropdown-item" href="/docs/0.13.0/api/index.html">0.13.0</a> + <a class="dropdown-item" href="/docs/0.13.0/api/docs/">0.13.0</a> </div> </li> @@ -123,4 +123,4 @@ <!--</ul>--> </div><!-- /.navbar-collapse --> </div> -</nav> \ No newline at end of file +</nav> http://git-wip-us.apache.org/repos/asf/mahout/blob/d53d4443/website/_posts/2017-12-20-new-website.md ---------------------------------------------------------------------- diff --git a/website/_posts/2017-12-20-new-website.md b/website/_posts/2017-12-20-new-website.md new file mode 100644 index 0000000..2eceb1d --- /dev/null +++ b/website/_posts/2017-12-20-new-website.md @@ -0,0 +1,18 @@ +--- +layout: post +title: New Website +date: 2017-12-20 16:16:01 -0600 +category: news +--- + + +# New Website Released + +We've launced a new website, (a YUUUGE special thanks to David Miller from [StartBootstrap](http://startbootstrap.com)). + +It looks great but there's lots to do as we migrate and clean up content from the old site. If you see anything broken, +please let us know via either: +- drop a lint to [email protected] +- fix it yourself and [open a PR](/developers/githubPRs)! + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/mahout/blob/d53d4443/website/build_site.sh ---------------------------------------------------------------------- diff --git a/website/build_site.sh b/website/build_site.sh index 9d6c9bc..b4d889d 100755 --- a/website/build_site.sh +++ b/website/build_site.sh @@ -22,13 +22,15 @@ if [ ! -d "$WORKDIR/docs/$MAHOUT_VERSION/api" ]; then echo "API docs for $MAHOUT_VERSION not found, downloading them" DISTFILE=apache-mahout-distribution-$MAHOUT_VERSION.tar.gz DISTPATH=https://dist.apache.org/repos/dist/release/mahout/$MAHOUT_VERSION/$DISTFILE - # Copy API docs into _site wget -q --directory-prefix=$WORKDIR $DISTPATH + echo "Unzipping..." tar -C $WORKDIR -xzf $WORKDIR/$DISTFILE apache-mahout-distribution-$MAHOUT_VERSION/docs mkdir -p $WORKDIR/docs/$MAHOUT_VERSION/api + echo "Moving directory..." mv $WORKDIR/apache-mahout-distribution-$MAHOUT_VERSION/docs $WORKDIR/docs/$MAHOUT_VERSION/api rm -f $WORKDIR/$DISTFILE + "done." fi http://git-wip-us.apache.org/repos/asf/mahout/blob/d53d4443/website/developers/developer-resources.md ---------------------------------------------------------------------- diff --git a/website/developers/developer-resources.md b/website/developers/developer-resources.md index 2bee00e..259a82f 100644 --- a/website/developers/developer-resources.md +++ b/website/developers/developer-resources.md @@ -23,16 +23,12 @@ The source files are stored using Git, our page on [version control](/developers Javadoc and Scaladoc documentation is available online by module: - * [Mahout Math](http://apache.github.io/mahout/0.10.1/docs/mahout-math/index.html) - * [Mahout Math Scala bindings](http://apache.github.io/mahout/0.10.1/docs/mahout-math-scala/index.html) - * [Mahout Spark bindings](http://apache.github.io/mahout/0.10.1/docs/mahout-spark/index.html) - * [Mahout Spark bindings shell](http://apache.github.io/mahout/0.10.1/docs/mahout-spark-shell/index.html) - * [Mahout H2O backend Scaladoc](http://apache.github.io/mahout/0.10.1/docs/mahout-h2o/scaladocs/index.html) - * [Mahout H2O backend Javadoc](http://apache.github.io/mahout/0.10.1/docs/mahout-h2o/javadoc/index.html) - * [Mahout HDFS](http://apache.github.io/mahout/0.10.1/docs/mahout-hdfs/index.html) - * [Mahout Map-Reduce](http://apache.github.io/mahout/0.10.1/docs/mahout-mr/index.html) - * [Mahout Examples](http://apache.github.io/mahout/0.10.1/docs/mahout-examples/index.html) - * [Mahout Integration](http://apache.github.io/mahout/0.10.1/docs/mahout-integration/index.html) + * [Mahout Math](/docs/0.13.0/api/docs/mahout-math/index.html) + * [Mahout Math Scala bindings](/docs/0.13.0/api/docs/mahout-math-scala/index.html) + * [Mahout Spark bindings](/docs/0.13.0/api/docs/mahout-spark/index.html) + * [Mahout HDFS](/docs/0.13.0/api/docs/mahout-hdfs/index.html) + * [Mahout Map-Reduce](/docs/0.13.0/api/docs/mahout-mr/index.html) + * [Mahout Integration](/docs/0.13.0/api/docs/mahout-integration/index.html) <a name="DeveloperResources-Issues"></a>
