Skip to content

Commit

Permalink
Improve warning on GitHub (#7446)
Browse files Browse the repository at this point in the history
When the documentation is generated by GitHub Actions and the result is
published on GitHub the warnings are not well / not easy readable.
Placing them in a "fenced code" will improve this. (see e.g.
#7445 (comment))
  • Loading branch information
lrineau authored May 16, 2023
2 parents d658136 + 8a2f979 commit c36d6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
script: |
const error = process.env.ERRORMSG
const job_url = `${context.serverUrl}/CGAL/cgal/actions/runs/${context.runId}`
const msg = "There was an error while building the doc: \n"+error + "\n" + job_url
const msg = "There was an error while building the doc: \n```\n"+error + "\n```\n" + job_url
github.rest.issues.createComment({
owner: "CGAL",
repo: "cgal",
Expand Down

0 comments on commit c36d6df

Please sign in to comment.