Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to navigate from the live preview to the PR #584

Open
tbouffard opened this issue Jun 28, 2023 · 0 comments
Open

Allow to navigate from the live preview to the PR #584

tbouffard opened this issue Jun 28, 2023 · 0 comments
Labels
doc-content enhancement New feature or request

Comments

@tbouffard
Copy link
Member

tbouffard commented Jun 28, 2023

IMPORTANT: this requires changes in https://github.com/bonitasoft/bonita-documentation-theme

Currently, the title of the preview references the Pull Request but there is no way to navigate to this PR. We have icon to see the AsiiDoc source of a page, edit it, access to the contribution guide but no link.

The link could be created on the "PR subtitle"

image

The link could be computed by the GH action and pass as an argument of the build preview script. This url is probably already available in the pull_request event (in the github context). See https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request
Then a new AsciiDoc attribute or an Antora site key could be set and use by the bonita theme to build the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-content enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant