Closed Bug 1916932 Opened 1 month ago Closed 1 month ago

RST linter: Clean up local errors for Fluent and none code blocks

Categories

(Developer Infrastructure :: Firefox Source Docs: Content, task)

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: flod, Assigned: flod)

References

Details

Attachments

(1 file)

I have the following errors when running mach lint -l rst . locally (see also bug 1916493).

It should be possible to clean up a few of them.

browser/base/content/docs/tabbrowser/async-tab-switcher.rst
  131   error  Cannot analyze code. No Pygments lexer found for "none".  (rst)

intl/docs/locale.rst
  276   error  Cannot analyze code. No Pygments lexer found for "none".  (rst)

testing/docs/tests-for-new-config/index.rst
  73   error  Cannot analyze code. No Pygments lexer found for "none".  (rst)

testing/perfdocs/generated/standard-workflow.rst
  44   error  Cannot analyze code. No Pygments lexer found for "none".  (rst)

testing/perfdocs/generated/talos.rst
  206   error  Cannot analyze code. No Pygments lexer found for "none".  (rst)

testing/performance/mach-try-perf/perfdocs/standard-workflow.rst
  44   error  Cannot analyze code. No Pygments lexer found for "none".  (rst)

testing/talos/perfdocs/index.rst
  206   error  Cannot analyze code. No Pygments lexer found for "none".  (rst)

tools/moztreedocs/docs/mermaid-integration.rst
  14   error  Error in "code-block" directive:  (rst)
Attachment #9422767 - Attachment description: Bug 1916932 - Move RST linter configuration to file, fix or ignore local errors with code blocks, r=standard8 → Bug 1916932 - Move RST linter configuration to file, fix or ignore local errors with code blocks
Pushed by flodolo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fe92b6c2ae64 Move RST linter configuration to file, fix or ignore local errors with code blocks r=sylvestre
Regressions: 1916999
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: