\n' \
'{field_type} Fields
\n\n' \
@@ -2141,9 +2137,6 @@ def build_export_docs():
else:
section_title = export.PLURAL_MEDIA_TYPES[media_type].capitalize()
- contents_link = contents_row.format(anchor=media_type, section=section_title)
- contents.append(contents_link)
-
details = []
table_child_rows = _child_rows(media_type)
@@ -2196,18 +2189,12 @@ def build_export_docs():
if media_type == 'collection':
section += '\n\n* **Note:** `children` can be [Movies](#movie) or [Shows](#show) ' \
- 'depending on the collection'
+ 'depending on the collection.'
elif media_type == 'playlist':
section += '\n\n* **Note:** `items` can be [Movies](#movie), [Episodes](#episode), ' \
- '[Tracks](#track), or [Photos](#photo) depending on the playlist'
+ '[Tracks](#track), or [Photos](#photo) depending on the playlist.'
sections.append(section)
- docs = '## Exporter Guide\n\n' \
- '### Media Type Fields:\n\n' + \
- '\n'.join(contents) + \
- contents_images + \
- '\n\n---\n\n'.join(sections) + \
- '\n\n---\n\n'
-
+ docs = '\n\n---\n\n'.join(sections)
return helpers.sanitize(docs)
diff --git a/plexpy/webserve.py b/plexpy/webserve.py
index ee5585fd..e7700532 100644
--- a/plexpy/webserve.py
+++ b/plexpy/webserve.py
@@ -6826,5 +6826,5 @@ class WebInterface(object):
@cherrypy.expose
@requireAuth(member_of("admin"))
- def export_docs(self, **kwargs):
+ def exporter_docs(self, **kwargs):
return '' + exporter.build_export_docs() + '
'