Process and extract targets in gendoc.py

This commit is contained in:
Kegan Dougal 2015-09-21 15:33:28 +01:00
parent 568982ee2e
commit 8590cc84b5
2 changed files with 68 additions and 16 deletions

View file

@ -1,18 +1,18 @@
targets:
main:
files:
main: # arbitrary name to identify this build target
files: # the sort order of files to cat
- 00_00_intro.rst
- 00_01_feature_profiles.rst
- 00_02a_events.rst
- 00_02b_event_signing.rst
- 01_00_client_server_api.rst
- 02_00_modules.rst
- "group:module"
- "group:modules" # reference a group of files
- 03_00_application_service_api.rst
- 04_00_server_server_api.rst
- 05_00_identity_servers.rst
- 06_00_appendices.rst
groups:
groups: # reusable blobs of files when prefixed with 'group:'
modules:
- modules/01_00_voip_events.rst
- modules/02_00_typing_notifications.rst
@ -20,6 +20,7 @@ groups:
- modules/04_00_content_repo.rst
- modules/05_00_end_to_end_encryption.rst
- modules/06_00_history_visibility.rst
# Mark a nested file dependency
- 1: modules/07_00_push_overview.rst
2: [modules/07_01_push_cs_api.rst , modules/07_02_push_push_gw_api.rst]
title_styles:
@ -27,3 +28,4 @@ title_styles:
- "-"
- "~"
- "+"