Skip to content

Commit

Permalink
Add "Edit on GitHub" link to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg authored Mar 1, 2017
1 parent e6d6de6 commit e48f22c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/_themes/saltstack2/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@
<!--start navbar-->
<div class="row">
<div class="col-sm-12 col-md-11 col-md-offset-1 col-lg-10 col-lg-offset-1">
<nav class="pull-left text-muted">
<a href="https://github.com/saltstack/salt/edit/develop/doc/{{pagename}}.rst">Edit on GitHub</a>
</nav>
<nav id="localnav">
<ul class="nav navbar-nav">
{%- block relbar_small %}{{ relbar() }}{% endblock %}
Expand Down

0 comments on commit e48f22c

Please sign in to comment.