From a96de2ff23d82518af2325e62c19a636c6f8a0a0 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Tue, 11 Dec 2018 17:49:33 +0100 Subject: [PATCH 1/2] DOC: add back currentmodule to api.rst --- doc/source/api.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/api.rst b/doc/source/api.rst index bcef5567c23e5..34e80f5e57439 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1,3 +1,5 @@ +.. currentmodule:: pandas + .. _api: {{ header }} From 61b6a8223f4b6c9422466f6b964407b6a3824a3a Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Tue, 11 Dec 2018 18:59:36 +0100 Subject: [PATCH 2/2] add comment --- doc/source/api.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/source/api.rst b/doc/source/api.rst index 34e80f5e57439..b785a2ce717f4 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1,3 +1,7 @@ +.. The currentmodule is needed here because the autosummary generation of files +.. happens before reading the files / substituting the header. +.. See https://github.com/pandas-dev/pandas/pull/24232 + .. currentmodule:: pandas .. _api: