35 lines
1.6 KiB
Python
35 lines
1.6 KiB
Python
import os
|
|
|
|
files = [
|
|
'displays_settings.html', 'displays_sync_groups.html', 'displays_command_functionality.html',
|
|
'scheduling_events.html', 'scheduling_overlays.html', 'scheduling_repeats.html',
|
|
'scheduling_dayparting.html', 'scheduling_geolocation.html', 'scheduling_layout_list.html',
|
|
'scheduling_ad_campaigns.html', 'scheduling_priority_display_order.html',
|
|
'layouts_editor.html', 'layouts_editor_data_widgets.html', 'layouts_editor_design_changes.html',
|
|
'layouts_editor_editing_tools.html', 'layouts_editor_global_elements.html',
|
|
'layouts_editor_library_search.html', 'layouts_editor_playlists.html',
|
|
'layouts_editor_using_templates.html', 'layouts_editor_widgets.html',
|
|
'layouts_interactive_actions.html', 'layouts_templates.html',
|
|
'media_library.html', 'media_playlists.html', 'media_datasets.html', 'media_menuboards.html',
|
|
'media_modules.html', 'media_modules_connectors.html', 'media_dashboard_service.html',
|
|
'media_resizing_images.html',
|
|
'users_administration.html', 'users_groups.html',
|
|
'configure_cms_settings.html', 'configure_folders.html', 'configure_tags.html',
|
|
'configure_transitions.html',
|
|
'troubleshooting.html', 'contact_support.html',
|
|
]
|
|
|
|
marker = ' </div>\n </div>\n </div>'
|
|
|
|
for fn in files:
|
|
with open(fn) as f:
|
|
content = f.read()
|
|
idx = content.rfind(marker)
|
|
if idx == -1:
|
|
print(f'=== {fn} === [marker not found]')
|
|
continue
|
|
snippet = content[max(0, idx-400):idx]
|
|
print(f'=== {fn} ===')
|
|
print(snippet[-350:])
|
|
print()
|