targets:
  index:
    files:
      - index.rst
  client_server:
    files:
      - client_server_api.rst
      - { 1: modules.rst }
      - { 2: feature_profiles.rst }
      - { 2: "group:modules" }  # reference a group of files
    version_label: "%CLIENT_RELEASE_LABEL%"
  application_service:
    files:
      - application_service_api.rst
    version_label: "%APPSERVICE_RELEASE_LABEL%"
  server_server:
    files:
      - server_server_api.rst
    version_label: "%SERVER_RELEASE_LABEL%"
  identity_service:
    files:
      - identity_service_api.rst
    version_label: "%IDENTITY_RELEASE_LABEL%"
  push_gateway:
    files:
      - push_gateway.rst
    version_label: "%PUSH_GATEWAY_RELEASE_LABEL%"
  rooms@v1: # this is translated to be rooms/v1.html
    files:
      - rooms/v1.rst
    version_label: v1
  rooms@v2: # this is translated to be rooms/v2.html
    files:
      - rooms/v2.rst
    version_label: v2
  rooms@v3: # this is translated to be rooms/v3.html
    files:
      - rooms/v3.rst
    version_label: v3
  rooms@v4: # this is translated to be rooms/v4.html
    files:
      - rooms/v4.rst
    version_label: v4
  rooms@v5: # this is translated to be rooms/v5.html
    files:
      - rooms/v5.rst
    version_label: v5
  rooms@v6: # this is translated to be rooms/v6.html
    files:
      - rooms/v6.rst
    version_label: v6
  appendices:
    files:
      - appendices.rst
      - appendices/base64.rst
      - appendices/signing_json.rst
      - appendices/identifier_grammar.rst
      - appendices/threepids.rst
      - appendices/threat_model.rst
      - appendices/test_vectors.rst
  proposals:
    files:
        - proposals_intro.rst
        - proposals.rst
groups:  # reusable blobs of files when prefixed with 'group:'
  modules:
    - modules/instant_messaging.rst
    - modules/voip_events.rst
    - modules/typing_notifications.rst
    - modules/receipts.rst
    - modules/read_markers.rst
    - modules/presence.rst
    - modules/content_repo.rst
    - modules/send_to_device.rst
    - modules/device_management.rst
    - modules/end_to_end_encryption.rst
    - modules/secrets.rst
    - modules/history_visibility.rst
    - modules/push.rst
    - modules/third_party_invites.rst
    - modules/search.rst
    - modules/guest_access.rst
    - modules/room_previews.rst
    - modules/tags.rst
    - modules/account_data.rst
    - modules/admin.rst
    - modules/event_context.rst
    - modules/sso_login.rst
    - modules/dm.rst
    - modules/ignore_users.rst
    - modules/stickers.rst
    - modules/report_content.rst
    - modules/third_party_networks.rst
    - modules/openid.rst
    - modules/server_acls.rst
    - modules/mentions.rst
    - modules/room_upgrades.rst
    - modules/server_notices.rst
    - modules/moderation_policies.rst


title_styles: ["=", "-", "~", "+", "^", "`", "@", ":"]

# The templating system doesn't know the right title style to use when generating
# RST. These symbols are 'relative' to say "make a sub-title" (-1), "make a title
# at the same level (0)", or "make a title one above (+1)". The gendoc script
# will inspect this file and replace these relative styles with actual title
# styles. The templating system will also inspect this file to know which symbols
# to inject.
relative_title_styles:
  subtitle: "<"
  sametitle: "/"
  supertitle: ">"
