Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/readthedocs/sphinx_rtd_theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Tan <j.tan@activevideo.com>2017-12-05 12:59:15 +0300
committerJesse Tan <j.tan@activevideo.com>2017-12-05 12:59:15 +0300
commitf76772c4e6ac4041068efe88bbb4b5c14b82bc55 (patch)
treef87718bc9199fa6c5d0b1dbafb3e6ef970b2e48b /sphinx_rtd_theme/layout.html
parent6a3371b9a889ea41de486218acf72d3ace5a28b0 (diff)
Add option to toggle style external links
Diffstat (limited to 'sphinx_rtd_theme/layout.html')
-rw-r--r--sphinx_rtd_theme/layout.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html
index 7b7ed01..e9a956f 100644
--- a/sphinx_rtd_theme/layout.html
+++ b/sphinx_rtd_theme/layout.html
@@ -159,7 +159,11 @@
{# PAGE CONTENT #}
<div class="wy-nav-content">
+ {% if (theme_style_external_links == 'True') %}
+ <div class="rst-content style-external-links">
+ {% else %}
<div class="rst-content">
+ {% endif %}
{% include "breadcrumbs.html" %}
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">