mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-31 03:50:11 -07:00
Update exporter docs collection/playlist note
This commit is contained in:
parent
7b061f49c5
commit
8d832730f2
1 changed files with 12 additions and 5 deletions
|
@ -2509,7 +2509,6 @@ def build_export_docs():
|
|||
child_table_rows.append(table_row.format(**child_row))
|
||||
return child_table_rows
|
||||
|
||||
contents = []
|
||||
sections = []
|
||||
|
||||
for media_type, (thumb, art) in export.MEDIA_TYPES.items():
|
||||
|
@ -2569,11 +2568,19 @@ 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* <a id="collection-item">**Note:**</a> Collection `items` can be [Movies](#movie) or [Shows](#show) ' \
|
||||
'depending on the collection.'
|
||||
section += (
|
||||
'\n\n* <a id="collection-item">**Note:**</a> Collection `items` can be '
|
||||
'[Movies](#movie), '
|
||||
'[Shows](#show), [Seasons](#season), [Episodes](#episode), '
|
||||
'[Artists](#artist), [Albums](#album), or [Tracks](#track) '
|
||||
'depending on the type of collection.'
|
||||
)
|
||||
elif media_type == 'playlist':
|
||||
section += '\n\n* <a id="playlist-item">**Note:**</a> Playlist `items` can be [Movies](#movie), [Episodes](#episode), ' \
|
||||
'[Tracks](#track), or [Photos](#photo) depending on the playlist.'
|
||||
section += (
|
||||
'\n\n* <a id="playlist-item">**Note:**</a> Playlist `items` can be '
|
||||
'[Movies](#movie), [Episodes](#episode), [Tracks](#track), or [Photos](#photo) '
|
||||
'depending on the type of playlist.'
|
||||
)
|
||||
|
||||
sections.append(section)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue