Skip to content

Commit c635f84

Browse files
authored
chore: use the edit_url
See: https://docs.antora.org/antora/latest/playbook/content-edit-url/ If the page originates from the local filesystem (i.e., a worktree), the default UI uses the local file:// URI for the Edit this Page link. You can force the default UI to always use the edit URL by setting the CI environment variable (e.g., CI=true) when building the site. (This environment variable is already set in most CI environments). The assumption is that if the CI environment variable is set, the site is being published to a remote server where a file:// URI would not be accessible. Rather than setting this environment variable, you can customize the UI template to change the logic.
1 parent 834f8db commit c635f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Check out repository code
1717
uses: actions/checkout@v4
1818
- name: Build docs
19-
run: CONTAINER_RUNTIME=docker make build_docs
19+
run: CONTAINER_RUNTIME=docker CI=true make build_docs
2020
#- name: Check links in docs
2121
# run: CONTAINER_RUNTIME=docker make docs_check_links
2222
- name: Deploy

0 commit comments

Comments
 (0)