# 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: /edp-ddm-architecture/ua
runtime:
  fetch: true
content:
  sources:
    - url: https://github.com/epam/edp-ddm-architecture
      branches: ["1.9.6-docs", "main"]
      start_path: docs/ua

output:
  clean: true
  dir: ./github-pages/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'
    - asciidoctor-kroki
  attributes:
    page-lang: ua
antora:
  extensions:
    - require: '@antora/lunr-extension'
      index_latest_only: true
      languages: [ru, en]