1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

minor fixes to docsite root URLs (#28945)

* fix hardcoded http schemes to use relative URLs
* add doc fragment to version selector link to scroll target directly to the selector
This commit is contained in:
Matt Davis 2017-09-01 16:48:53 -07:00 committed by GitHub
parent a9f82f8a8a
commit 59787a3dbc

View file

@ -140,7 +140,7 @@
</ul> </ul>
</div> </div>
<a class="DocSite-nav" href="http://docs.ansible.com/"> <a class="DocSite-nav" href="/">
<img class="DocSiteNav-logo" <img class="DocSiteNav-logo"
src="{{ pathto('_static/', 1) }}images/logo_invert.png" src="{{ pathto('_static/', 1) }}images/logo_invert.png"
alt="Ansible Logo"> alt="Ansible Logo">
@ -155,7 +155,7 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side"> <nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div style="background-color:#5bbdbf;height=80px;margin:'auto auto auto auto'"> <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-productName">
<div class="DocSiteProduct-logoText"> <div class="DocSiteProduct-logoText">
Ansible Ansible
@ -167,7 +167,7 @@
</a> </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>
<div id="menu-id" class="wy-menu wy-menu-vertical" data-spy="affix"> <div id="menu-id" class="wy-menu wy-menu-vertical" data-spy="affix">