Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion doc/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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 = 'generated/pandas.{}.html'.format(
self.single_doc_html = 'api/generated/pandas.{}.html'.format(
single_doc)

def _process_single_doc(self, single_doc):
Expand Down
3 changes: 1 addition & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@
if (fname == 'index.rst'
and os.path.abspath(dirname) == source_path):
continue
elif (pattern == '-api'
and (fname == 'api.rst' or dirname == 'generated')):
elif pattern == '-api' and dirname == 'api':
exclude_patterns.append(fname)
elif fname != pattern:
exclude_patterns.append(fname)
Expand Down
2 changes: 1 addition & 1 deletion doc/source/index.rst.template
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ See the package overview for more detail about what's in the library.
{{ single_doc[:-4] }}
{% elif single_doc %}
.. autosummary::
:toctree: generated/
:toctree: api/generated/

{{ single_doc }}
{% else -%}
Expand Down