Skip to content

Commit 255af33

Browse files
committed
fix edit this page button
1 parent 868526b commit 255af33

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/pymc_sphinx_theme/components/edit-this-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if sourcename is defined and theme_use_edit_page_button==true and page_source_suffix and "generated" not in sourcename %}
1+
{% if sourcename is defined and page_source_suffix and "generated" not in sourcename %}
22
{% set src = sourcename.split('.') %}
33
<div class="tocsection editthispage">
44
<a href="{{ get_edit_url() }}">

src/pymc_sphinx_theme/theme.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ navbar_end = pymc_icon_links.html
88
secondary_sidebar_items = page-toc.html, searchbox.html, edit-this-page.html, sourcelink.html, donate.html
99
header_links_before_dropdown = 6
1010
search_bar_text = Search...
11-
use_edit_page_button = True
1211
google_analytics_id = UA-176578023-1

0 commit comments

Comments
 (0)