"Edit this Page" missing when using repos from internally hosted GitLab
Using this playbook, I noticed I can't see the "Edit this Page" button for any of our internal repositories. Here's my playbook.yaml
:
site:
title: Company Documentation
url: https://docs.company.io
start_page: product-ecosystem::index.adoc
asciidoc:
extensions:
- asciidoctor-plantuml
content:
sources:
- id: product-ecosystem
url: https://gitlab.company.zone/engineering/documentation/product-ecosystem.git
branches: master
- id: rest-api
url: https://gitlab.company.zone/engineering/documentation/rest-api.git
branches: master
- id: meta-documentation
url: https://gitlab.company.zone/engineering/documentation/playbooks.git
branches: master
start_path: docs
- url: https://@gitlab.com/antora/demo/demo-component-a.git
branches: master
- url: https://gitlab.com/antora/demo/demo-component-b.git
branches: [v2.0, v1.0]
start_path: docs
ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/master/raw/build/ui-bundle.zip?job=bundle-stable
As you can see in the above YAML, I've also included the two demo components just to make sure there wasn't something weird about my playbook that disabled "Edit this Page" somehow. I can see component B's "Edit this Page" feature, but can't see any other component's (not being able to see Component A's "Edit this Page" is expected).
Taking a wild guess, does Antora have a problem generating editUrl
from a .zone
site? .zone
is the extension we use for all of our intranet services.