# USE THIS FILE AS A TEMPLATE TO GENERATE ANTORA DOCS/EN LOCALLY
# COMMENT LINE WITH '@antora/lunr-extension' IF YOU FACE ISSUES DURING THE LOCAL BUILD
# COMMENT LINE WITH plantuml-server-url IF YOU FACE ISSUES DURING THE LOCAL BUILD
site:
  title: Платформа для розгортання та супроводження державних електронних реєстрів
  start_page: platform:ROOT:index.adoc
  url: /ua
runtime:
  fetch: true
content:
  sources:
    - url: https://gerrit-mdtu-ddm-edp-cicd.apps.cicd2.mdtu-ddm.projects.epam.com/mdtu-ddm/general/ddm-architecture
      branches: ["1.9.3-docs", "1.9.4-docs", "1.9.5-docs", "master"]
      start_path: docs/ua

output:
  clean: true
  dir: ./output/ua

ui:
  bundle:
    url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
    snapshot: true
  supplemental_files: ./supplemental-ui

asciidoc:
  extensions:
    - asciidoctor-plantuml
    - ./supplemental-ui/extensions/swagger.extension
    - '@asciidoctor/tabs'
  attributes:
#    plantuml-server-url: 'https://plantuml.apps.cicd2.mdtu-ddm.projects.epam.com'
    plantuml-fetch-diagram: true
    page-lang: ua
antora:
  extensions:
    - require: '@antora/lunr-extension'
      index_latest_only: true
      languages: [ru, en]