From 2147270817c121134e1457b483a96b76a882a320 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 8 Jun 2016 10:57:15 -0700 Subject: [PATCH] Fix generation of gallery page (issue was due to change to fullnames) --- sphinxtools/postprocess.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sphinxtools/postprocess.py b/sphinxtools/postprocess.py index f6ad30d2..70eb8988 100644 --- a/sphinxtools/postprocess.py +++ b/sphinxtools/postprocess.py @@ -535,8 +535,7 @@ def genGallery(): for text in txt_files: simple = os.path.split(os.path.splitext(text)[0])[1] - possible = simple.split('.')[-1] - possible = possible.lower() + possible = simple.lower() html_files[possible + '.png'] = simple + '.html' keys = list(html_files.keys())