Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #493 from astrofrog/fix-deprecation-theme
Browse files Browse the repository at this point in the history
Fix deprecation warning in theme
  • Loading branch information
bsipocz committed Jul 23, 2019
2 parents 4153b65 + 6e16e99 commit 396aaf6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -5,7 +5,7 @@ astropy-helpers Changelog
2.0.11 (unreleased)
-------------------

- No changes yet.
- Fixed deprecation warning in sphinx theme. [#493]


2.0.10 (2019-05-29)
Expand Down
12 changes: 6 additions & 6 deletions astropy_helpers/sphinx/themes/bootstrap-astropy/layout.html
@@ -1,16 +1,16 @@
{% extends "basic/layout.html" %}

{# Collapsible sidebar script from default/layout.html in Sphinx #}
{% set script_files = script_files + ['_static/sidebar.js'] %}
{%- block scripts %}
{{ super() }}
<script type="text/javascript" src="{{ pathto('_static/sidebar.js', 1) }}"></script>
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{%- endblock %}

{# Add the google webfonts needed for the logo #}
{% block extrahead %}
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600' rel='stylesheet' type='text/css'/>
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}

<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600' rel='stylesheet' type='text/css'/>
{% endblock %}


{% block header %}
<div class="topbar">
<a class="brand" title="{{ _('Documentation Home') }}" href="{{ pathto(master_doc) }}"><span id="logotext1">{{ theme_logotext1 }}</span><span id="logotext2">{{ theme_logotext2 }}</span><span id="logotext3">{{ theme_logotext3 }}</span></a>
Expand Down

0 comments on commit 396aaf6

Please sign in to comment.