Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f85fc9a

Browse files
committedJan 25, 2019
fix opening in browser of single page
1 parent e5d4df7 commit f85fc9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self, num_jobs=0, include_api=True, single_doc=None,
5353
if single_doc and single_doc.endswith('.rst'):
5454
self.single_doc_html = os.path.splitext(single_doc)[0] + '.html'
5555
elif single_doc:
56-
self.single_doc_html = 'api/generated/pandas.{}.html'.format(
56+
self.single_doc_html = 'reference/api/pandas.{}.html'.format(
5757
single_doc)
5858

5959
def _process_single_doc(self, single_doc):
@@ -63,7 +63,7 @@ def _process_single_doc(self, single_doc):
6363
6464
For example, categorial.rst or pandas.DataFrame.head. For the latter,
6565
return the corresponding file path
66-
(e.g. generated/pandas.DataFrame.head.rst).
66+
(e.g. reference/api/pandas.DataFrame.head.rst).
6767
"""
6868
base_name, extension = os.path.splitext(single_doc)
6969
if extension in ('.rst', '.ipynb'):

0 commit comments

Comments
 (0)
Please sign in to comment.