Skip to content

Commit

Permalink
minor fixes to docsite root URLs (ansible#28945)
Browse files Browse the repository at this point in the history
* fix hardcoded http schemes to use relative URLs
* add doc fragment to version selector link to scroll target directly to the selector
  • Loading branch information
nitzmahone authored Sep 1, 2017
1 parent a9f82f8 commit 59787a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docsite/_themes/srtd/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
</ul>
</div>

<a class="DocSite-nav" href="http://docs.ansible.com/">
<a class="DocSite-nav" href="/">
<img class="DocSiteNav-logo"
src="{{ pathto('_static/', 1) }}images/logo_invert.png"
alt="Ansible Logo">
Expand All @@ -155,7 +155,7 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side">

<div style="background-color:#5bbdbf;height=80px;margin:'auto auto auto auto'">
<a class="DocSiteProduct-header DocSiteProduct-header--core" href="http://docs.ansible.com">
<a class="DocSiteProduct-header DocSiteProduct-header--core" href="/">
<div class="DocSiteProduct-productName">
<div class="DocSiteProduct-logoText">
Ansible
Expand All @@ -167,7 +167,7 @@
</a>


<div class="DocSiteProduct-CheckVersionPara">For previous versions, see the <a class="DocSiteProduct-versionheader" href="http://docs.ansible.com/">documentation archive.</a></div>
<div class="DocSiteProduct-CheckVersionPara">For previous versions, see the <a class="DocSiteProduct-versionheader" href="/#coreversionselect">documentation archive.</a></div>
</div>

<div id="menu-id" class="wy-menu wy-menu-vertical" data-spy="affix">
Expand Down

0 comments on commit 59787a3

Please sign in to comment.