fix home navigation button to point to master doc not /
Pointing it to / means that we can't use it in draft builds when reviewing changes, because we end up at the root of the draft docs build server instead of the root of the documentation set being reviewed. Change-Id: Ib57d2a8936431c8accfb132d0502472cfd176f1e Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
538956b05a
commit
2200b630da
@ -1,6 +1,6 @@
|
||||
<div class="col-lg-3 col-md-4 col-sm-4 col-lg-pull-9 col-md-pull-8 col-sm-pull-8 docs-sidebar">
|
||||
<div class="btn-group docs-sidebar-releases">
|
||||
<button onclick="location.href='/'" class="btn docs-sidebar-home" data-toggle="tooltip" data-placement="top" title="Releases Home"><i class="fa fa-arrow-circle-o-left"></i> Releases Home</button>
|
||||
<button onclick="location.href='{{pathto(master_doc)}}'" class="btn docs-sidebar-home" data-toggle="tooltip" data-placement="top" title="Releases Home"><i class="fa fa-arrow-circle-o-left"></i> Releases Home</button>
|
||||
</div>
|
||||
<div class="docs-sidebar-toc">
|
||||
<div class="docs-sidebar-section" id="table-of-contents">
|
||||
|
Loading…
Reference in New Issue
Block a user