# 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: Platform for deployment and maintenance of state electronic registers
  start_page: platform:ROOT:index.adoc
  url: /en
runtime:
  fetch: true
content:
  sources:
    - url: ./
      branches: HEAD
      start_path: docs/en

output:
  clean: true
  dir: ./output/en

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: en
antora:
  extensions:
    - require: '@antora/lunr-extension'
      index_latest_only: true
      languages: [ru, en]