#
# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

engine:
  asciidoctor:
    images-dir: "./images"
    libraries:
      - "asciidoctor-diagram"
    attributes:
      plantumlconfig: "_plantuml-config.txt"
      javadoc-base-url: "./apidocs/index.html"
      helidon-version: "${project.version}"
      guides-dir: "${project.basedir}/../examples/guides"
assets:
  - target: "/"
    includes:
      - "css/*.css"
  - target: "/"
    includes:
      - "images/**/*"
header:
  favicon:
    path: "images/favicon.png"
    type: "png"
  stylesheets:
    - path: "css/styles.css"
pages:
  - includes:
      - "**/*.adoc"
backend:
    name: "vuetify"
    homePage: "about/01_overview.adoc"
    releases:
        - "${project.version}"
    navigation:
      title: "Helidon"
      glyph:
        type: "image"
        value: "images/helidon_logo_dark.svg"
      items:
        - title: "Core documentation"
          items:
            - title: "About"
              pathprefix: "/about"
              glyph:
                type: "icon"
                value: "assistant"
              items:
                - includes:
                    - "about/*.adoc"
            - title: "Reactive webserver"
              pathprefix: "/webserver"
              glyph:
                type: "icon"
                value: "settings_ethernet"
              items:
                -  includes:
                     - "webserver/*.adoc"
            - title: "Config"
              pathprefix: "/config"
              glyph:
                type: "icon"
                value: "settings"
              items:
                -  includes:
                     - "config/*.adoc"
            - title: "Security"
              pathprefix: "/security"
              glyph:
                type: "icon"
                value: "security"
              items:
                -  includes:
                     - "security/*.adoc"
            - title: "Microprofile"
              pathprefix: "/microprofile"
              glyph:
                type: "icon"
                value: "widgets"
              items:
                -  includes:
                     - "microprofile/*.adoc"
            - title: "Extensions"
              pathprefix: "/extensions"
              glyph:
                type: "icon"
                value: "extension"
              items:
                -  includes:
                     - "extensions/*.adoc"
            - title: "Metrics"
              pathprefix: "/metrics"
              glyph:
                type: "icon"
                value: "av_timer"
              items:
                - includes:
                    - "metrics/*.adoc"
            - title: "Tracing"
              pathprefix: "/tracing"
              glyph:
                type: "icon"
                value: "timeline"
              items:
                - includes:
                    - "tracing/*.adoc"
            - title: "Health Checks"
              pathprefix: "/health"
              glyph:
                type: "icon"
                value: "favorite_outline"
              items:
                - includes:
                    - "health/*.adoc"
            - title: "Guides"
              pathprefix: "/guides"
              glyph:
                type: "icon"
                value: "explore"
              items:
                - includes:
                    - "guides/*.adoc"
            - title: "Javadocs"
              glyph:
                type: "icon"
                value: "library_books"
              href: "apidocs/index.html?overview-summary.html"
        - title: "Additional resources"
          items:
            - title: "Community"
              glyph:
                type: "icon"
                value: "fa-slack"
              href: "https://join.slack.com/t/helidon/shared_invite/enQtNDM1NjU3MjkyNDg2LTFkZTM4NmI3OWUyNjUxYWQ5Njc0NGNiMzY3MTZiZmMwNzAxYmI4YzUzOWNkNzNlZTEwNDRkZGU4YzMzZjhkNTE"
