Skip to content

Commit

Permalink
Merge pull request #4859 from benjaoming/rm-docs-github-link
Browse files Browse the repository at this point in the history
Remove docs GitHub link for offline users
  • Loading branch information
MCGallaspy committed Feb 17, 2016
2 parents 2e2fafd + ebeb0af commit ff1d0a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/kalite-theme/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<a href="https://bitbucket.org/{{ bitbucket_user }}/{{ bitbucket_repo }}/src/{{ bitbucket_version}}{{ conf_py_path }}{{ pagename }}{{ source_suffix }}" class="fa fa-bitbucket"> Edit on Bitbucket</a>
{% elif show_source and source_url_prefix %}
<a href="{{ source_url_prefix }}{{ pagename }}{{ source_suffix }}">View page source</a>
{% elif show_source and has_source and sourcename %}
{% elif "" and show_source and has_source and sourcename %}
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow"> View page source</a>
{% endif %}
{% endif %}
{% if not display_github %}
{% if "" and not display_github %}
<a href="http://github.com/learningequality/ka-lite/blob/{{ theme_git_branch }}/sphinx-docs/{{ pagename }}.rst" class="fa fa-github">
View on Github
</a>
Expand Down
3 changes: 0 additions & 3 deletions docs/kalite-theme/theme.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[theme]
inherit = sphinx_rtd_theme

[options]
git_branch = 0.14.x

0 comments on commit ff1d0a8

Please sign in to comment.