Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix opening in browser of single page
  • Loading branch information
jorisvandenbossche committed Jan 25, 2019
commit f85fc9ad33b5bedcc65da58bb30e89caeb8d4020
4 changes: 2 additions & 2 deletions doc/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, num_jobs=0, include_api=True, single_doc=None,
if single_doc and single_doc.endswith('.rst'):
self.single_doc_html = os.path.splitext(single_doc)[0] + '.html'
elif single_doc:
self.single_doc_html = 'api/generated/pandas.{}.html'.format(
self.single_doc_html = 'reference/api/pandas.{}.html'.format(
single_doc)

def _process_single_doc(self, single_doc):
Expand All @@ -63,7 +63,7 @@ def _process_single_doc(self, single_doc):

For example, categorial.rst or pandas.DataFrame.head. For the latter,
return the corresponding file path
(e.g. generated/pandas.DataFrame.head.rst).
(e.g. reference/api/pandas.DataFrame.head.rst).
"""
base_name, extension = os.path.splitext(single_doc)
if extension in ('.rst', '.ipynb'):
Expand Down