Skip to content

Commit

Permalink
Merge pull request mkdocs#707 from d0ugal/rtd-path-fix
Browse files Browse the repository at this point in the history
Add the current page abs_url for RTD integration
  • Loading branch information
d0ugal committed Aug 15, 2015
2 parents d7930bd + cabe5b4 commit 74031a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mkdocs/themes/readthedocs/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<script>
// Current page data
var mkdocs_page_name = "{{ page_title }}";
var mkdocs_page_url = "{{ current_page.abs_url }}";
</script>
{% endif %}
<script src="{{ base_url }}/js/jquery-2.1.1.min.js"></script>
Expand Down

0 comments on commit 74031a0

Please sign in to comment.