From b4c3d7d8ac68fba00653e869094baf8af93e2108 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 16 Sep 2019 18:03:27 +0200 Subject: [PATCH] Fix code in titles of TOC entries (#20) --- pandas-docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas-docs/source/conf.py b/pandas-docs/source/conf.py index 5442d6977a2df..090ed2e44eace 100644 --- a/pandas-docs/source/conf.py +++ b/pandas-docs/source/conf.py @@ -190,7 +190,7 @@ def convert_docutils_node(list_item): if not list_item.children: return None reference = list_item.children[0].children[0] - title = reference.children[0].astext() + title = reference.astext() url = reference.attributes['refuri'] active = 'current' in list_item.attributes['classes']