Closed Bug 1585083 Opened 11 months ago Closed 10 months ago

[wpt-sync] Sync PR 19403 - [docs] Use supported syntax highlight name

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 19403 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19403
Details from upstream follow.

Mike Pennisi <mike@mikepennisi.com> wrote:

[docs] Use supported syntax highlight name

A recent addition to the project documentation specifies "svg" as the
desired syntax for a number of examples [1]. However, the package used
to provide syntax highlighting ("pygments" from Python) does not
recognize SVG, so the new examples introduced the following error:

 Warning, treated as error:
 docs/writing-tests/test-templates.md:55:Pygments lexer name u'svg' is not known

Update the examples to instead request generic XML highlighting.

@heycam @sideshowbarker This failure should have been apparent in gh-19150, but the relevant GitHub Action never ran. I don't know why, but I do know GitHub Actions is still in beta, and we've experienced flakiness before.

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8040231667e4
[wpt PR 19403] - [docs] Use supported syntax highlight name, a=testonly
Result changes from PR not available.
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.