From d8196bf63c931e6a59266a71c6c969b2938bffd9 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 24 Jan 2021 21:14:30 -0800 Subject: [PATCH] Fix exporter docs for collection items --- plexpy/exporter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plexpy/exporter.py b/plexpy/exporter.py index 3b72f912..d5166ed9 100644 --- a/plexpy/exporter.py +++ b/plexpy/exporter.py @@ -2396,7 +2396,8 @@ def build_export_docs(): child_section_title = 'Photo Albums' else: child_section_title = child_plural_media_type.capitalize() - child_text = u'\u2713
Includes [{}](#{}) Level {{}}'.format(child_section_title, child_media_type) + child_text = u'\u2713
Includes [{}](#{}-{}) Level {{}}'.format( + child_section_title, media_type, child_media_type) child_row = { 'attr': child_plural_media_type, 'level0': '', @@ -2468,7 +2469,7 @@ def build_export_docs(): section = section_head.format(anchor=media_type, section=section_title) + '\n\n'.join(details) if media_type == 'collection': - section += '\n\n* **Note:** Collection `items` can be [Movies](#movie) or [Shows](#show) ' \ + section += '\n\n* **Note:** Collection `items` can be [Movies](#movie) or [Shows](#show) ' \ 'depending on the collection.' elif media_type == 'playlist': section += '\n\n* **Note:** Playlist `items` can be [Movies](#movie), [Episodes](#episode), ' \