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

fix: htmltest error for newly created documents #1010

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

aepfli
Copy link
Member

@aepfli aepfli commented Mar 8, 2023

HTMLTest will complain, when we create new documentation pages, as they are not within the git repository. As we used to display the edit and create issue links pointing to the main branch, our build would fail.

With this change, we will deactivate the rendering of those edit links, when invoked via make target. This means locally and with GitHub Actions, we will not see them. But netlify etc will render them properly.

HTMLTest will complain, when we create new documentation pages,
as they are not within the git repository. As we used to display
the edit and create issue links pointing to the main branch, our
build would fail.

With this change, we will deactivate the rendering of those edit
links, when invoked via make target. This means locally and with
GitHub Actions, we will not see them. But netlify etc will
render them properly.

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
@aepfli aepfli added the documentation Improvements or additions to documentation label Mar 8, 2023
@sonarcloud
Copy link

sonarcloud bot commented Mar 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@netlify
Copy link

netlify bot commented Mar 8, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 28d06b6
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/6408815488ab110008e35035
😎 Deploy Preview https://deploy-preview-1010--keptn-lifecycle-toolkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@thisthat thisthat merged commit 4bf2919 into keptn:main Mar 9, 2023
@keptn-bot keptn-bot mentioned this pull request Mar 9, 2023
@keptn-bot keptn-bot mentioned this pull request Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants