Repository: yetus
Updated Branches:
  refs/heads/YETUS-318 a248157f1 -> df5627009
  refs/heads/master 45262f16a -> f2347d046


YETUS-319 correct contributing sub-page links.

* make header point to contribute/

  when hosted by an ASF web server, leaving it off automatically
  redirects to include the trailing slash, but in 'bundle exec middleman'
  mode it does not, which changes the root for relative urls.

* update contribute page to leave 'contribute/' off relative path

  when page is viewed with trailing /, that part of the path is assumed.

Signed-off-by: Allen Wittenauer <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/f2347d04
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/f2347d04
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/f2347d04

Branch: refs/heads/master
Commit: f2347d04602d80593f5860dc2b8d2e79757b4e9b
Parents: 45262f1
Author: Sean Busbey <[email protected]>
Authored: Thu Mar 3 13:03:09 2016 -0600
Committer: Allen Wittenauer <[email protected]>
Committed: Thu Mar 3 16:31:19 2016 -0800

----------------------------------------------------------------------
 asf-site-src/source/_header.md.erb     | 2 +-
 asf-site-src/source/contribute.html.md | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/f2347d04/asf-site-src/source/_header.md.erb
----------------------------------------------------------------------
diff --git a/asf-site-src/source/_header.md.erb 
b/asf-site-src/source/_header.md.erb
index a9609ed..b624ca3 100644
--- a/asf-site-src/source/_header.md.erb
+++ b/asf-site-src/source/_header.md.erb
@@ -56,7 +56,7 @@
                         </li>
                         <li role="presentation"><a role="menuitem" 
tabindex="-1" href="https://github.com/apache/yetus";><i class="fa 
fa-github-alt"></i> Source (GitHub)</a>
                         </li>
-                        <li role="presentation"><a role="menuitem" 
tabindex="-1" href="/contribute"><i class="fa fa-code-fork"></i> 
Contributing</a>
+                        <li role="presentation"><a role="menuitem" 
tabindex="-1" href="/contribute/"><i class="fa fa-code-fork"></i> 
Contributing</a>
                         </li>
                         <li role="presentation"><a role="menuitem" 
tabindex="-1" href="https://twitter.com/ApacheYetus";><i class="fa 
fa-twitter"></i> @ApacheYetus</a>
                         </li>

http://git-wip-us.apache.org/repos/asf/yetus/blob/f2347d04/asf-site-src/source/contribute.html.md
----------------------------------------------------------------------
diff --git a/asf-site-src/source/contribute.html.md 
b/asf-site-src/source/contribute.html.md
index cce81f4..ecd8689 100644
--- a/asf-site-src/source/contribute.html.md
+++ b/asf-site-src/source/contribute.html.md
@@ -41,5 +41,5 @@ The naming of the patch should be in (JIRA).(patch 
number).patch or, if it needs
 
 Below are guides meant to give you help accomplishing specific tasks for the 
project:
 
-   * [Maintaining the Yetus Website](contribute/website) - walks through how 
to view the website locally, update various static and generated pages, and 
render the html for publishing.
-   * [Working with Release Candiates](contribute/releases) - covers managing 
the release process, validating proposed release candidates, and publishing 
project approved artifacts.
+   * [Maintaining the Yetus Website](website) - walks through how to view the 
website locally, update various static and generated pages, and render the html 
for publishing.
+   * [Working with Release Candiates](releases) - covers managing the release 
process, validating proposed release candidates, and publishing project 
approved artifacts.

Reply via email to