|
| 1 | +# npx antora --clean --fetch antora-playbook.yml |
| 2 | +# or |
| 3 | +# npx antora antora-playbook.yml |
| 4 | +antora: |
| 5 | + extensions: |
| 6 | + - '@antora/site-generator-ms' |
| 7 | + - ./lib/embargo.js |
| 8 | +site: |
| 9 | + title: Couchbase Docs |
| 10 | + url: https://docs.couchbase.com |
| 11 | + start_page: home::index.adoc |
| 12 | + robots: | |
| 13 | + User-agent: * |
| 14 | + Allow: / |
| 15 | + Disallow: /sdk-api/ |
| 16 | + Allow: /sdk-api/*-client/ |
| 17 | + Allow: /sdk-api/couchbase-core-io/ |
| 18 | + Allow: /sdk-api/couchbase-transactions-dotnet/ |
| 19 | + keys: |
| 20 | + google_analytics: GTM-MVPNN2 |
| 21 | + nav_groups: | |
| 22 | + [ |
| 23 | + { "title": "Server", "startPage": "home::server.adoc", "components": ["server"] }, |
| 24 | + { "title": "Mobile", "startPage": "home::mobile.adoc", "components": ["couchbase-lite", "sync-gateway"] }, |
| 25 | + { "title": "Capella", "startPage": "home::cloud.adoc", "components": ["cloud", "columnar", "ai"] }, |
| 26 | + { "title": "Cloud-Native", "startPage": "cloud-native-database::index.adoc", "components": ["cloud-native-database"] }, |
| 27 | + { "title": "Autonomous Operator", "components": ["operator"] }, |
| 28 | + { "title": "CMOS", "components": ["cmos"] }, |
| 29 | + { "title": "Couchbase SDKs", "startPage": "home::sdk.adoc", "components": ["dotnet-sdk", "c-sdk", "cxx-sdk", "go-sdk", "java-sdk", "kotlin-sdk", "nodejs-sdk", "php-sdk", "python-sdk", "ruby-sdk", "scala-sdk", "elasticsearch-connector", "kafka-connector", "spark-connector", "tableau-connector", "power-bi-connector", "sdk-extensions"] }, |
| 30 | + { "title": "Columnar SDKs", "startPage": "home::columnar-sdk.adoc", "components": ["*-columnar-sdk"] }, |
| 31 | + { "title": "Tutorials", "startPage": "tutorials::index.adoc", "components": ["tutorials"] }, |
| 32 | + { "title": "Contribute", "components": ["home", "styleguide", "ui-ux", "pendo"] } |
| 33 | + ] |
| 34 | +git: |
| 35 | + ensure_git_suffix: false |
| 36 | + fetch_concurrency: 1 |
| 37 | +urls: |
| 38 | + latest_version_segment_strategy: redirect:to |
| 39 | + latest_version_segment: current |
| 40 | +content: |
| 41 | + branches: master |
| 42 | + # NOTE the git@ segment in the URL indicates which repositories are private |
| 43 | + ## The above has a bug when upgrading to Antora 3.1. Original sources commented |
| 44 | + ## out and replaced with a non git@ prefix. To revert if it causes issues |
| 45 | + sources: |
| 46 | + - url: . |
| 47 | + branches: HEAD |
| 48 | + start_path: home |
| 49 | + - url: https://github.com/couchbaselabs/docs-devex |
| 50 | + # branches: [release/7.2, capella, elixir] |
| 51 | + branches: [release/7.6, capella] |
| 52 | + - url: https://github.com/couchbase/docs-capella |
| 53 | + branches: [main] |
| 54 | + - url: https://github.com/couchbaselabs/docs-columnar |
| 55 | + branches: [main] |
| 56 | + - url: https://github.com/couchbaselabs/docs-ai |
| 57 | + branches: [POC-preview-Nov-2024] |
| 58 | +asciidoc: |
| 59 | + attributes: |
| 60 | + site-navigation-data-path: _/js/site-navigation-data.js |
| 61 | + enable-cmos: '' |
| 62 | + max-include-depth: 10 |
| 63 | + page-partial: false |
| 64 | + experimental: '' |
| 65 | + idprefix: '@' |
| 66 | + idseparator: '-@' |
| 67 | + tabs: tabs |
| 68 | + tabs-sync-option: '' |
| 69 | + toc: ~ |
| 70 | + page-toclevels: 1@ |
| 71 | + page-rank: 50@ |
| 72 | + xrefstyle: short |
| 73 | + enterprise: https://www.couchbase.com/products/editions[ENTERPRISE EDITION] |
| 74 | + community: https://www.couchbase.com/products/editions[COMMUNITY EDITION] |
| 75 | + sqlpp: SQL++ |
| 76 | + sqlppc: SQL++ for Capella columnar |
| 77 | + sqlpp_url: https://www.couchbase.com/products/n1ql |
| 78 | + cbpp: Couchbase++ |
| 79 | + #kroki-server-url: http://3.91.133.254:9500 |
| 80 | + #kroki-fetch-diagram: true |
| 81 | + # the url-issues and url-issues-* attributes configure the URLs for the inline jira macro |
| 82 | + url-issues: https://issues.couchbase.com/browse |
| 83 | + url-issues-jscbc: https://issues.couchbase.com/browse |
| 84 | + url-issues-av: https://couchbasecloud.atlassian.net/browse |
| 85 | + extensions: |
| 86 | + - ./lib/source-url-include-processor.js |
| 87 | + - ./lib/json-config-ui-block-macro.js |
| 88 | + - ./lib/inline-jira-macro.js |
| 89 | + - ./lib/inline-man-macro.js |
| 90 | + - ./lib/multirow-table-head-tree-processor.js |
| 91 | + - ./lib/swagger-ui-block-macro.js |
| 92 | + - ./lib/markdown-block.js |
| 93 | + - ./lib/template-block.js |
| 94 | + #- asciidoctor-kroki |
| 95 | + - asciidoctor-external-callout |
| 96 | + - '@asciidoctor/tabs' |
| 97 | +ui: |
| 98 | + bundle: |
| 99 | + url: https://github.com/couchbase/docs-ui/releases/download/prod-203/ui-bundle.zip |
| 100 | +output: |
| 101 | + dir: ./public |
| 102 | +runtime: |
| 103 | + fetch: true |
0 commit comments