Bug 2067092 - Remove the leftover rstcheck comments. r=devtools-reviewers,geckoview-reviewers,chutten,ochameau,tcampbell
The rst linter was removed in bug 2038819, so these `% rstcheck:` comments no longer configure anything. Differential Revision: https://phabricator.services.mozilla.com/D321836
This commit is contained in:
committed by
sledru@mozilla.com
parent
e709bfa957
commit
ecb4c3c5c2
@@ -217,7 +217,6 @@ depending on how old the code that uses them is:
|
||||
This simplest way to define a component is to include a header defining a
|
||||
concrete type, and let the component manager call that class's constructor:
|
||||
|
||||
% rstcheck: ignore-languages=python
|
||||
|
||||
```python
|
||||
'type': 'mozilla::foo::Foo',
|
||||
@@ -236,7 +235,6 @@ returns the same instance on subsequent calls. This requires declaring the
|
||||
constructor in an included header, and implementing it in a separate source
|
||||
file:
|
||||
|
||||
% rstcheck: ignore-languages=python
|
||||
|
||||
```python
|
||||
'type': 'mozilla::foo::Foo',
|
||||
@@ -266,7 +264,6 @@ already_AddRefed<Foo> Foo::GetSingleton() {
|
||||
For types whose headers can't easily be included, constructors can be defined
|
||||
using a template specialization on an incomplete type:
|
||||
|
||||
% rstcheck: ignore-languages=python
|
||||
|
||||
```python
|
||||
'type': 'mozilla::foo::Foo',
|
||||
@@ -291,7 +288,6 @@ reader.
|
||||
Classes which need define category entries with the same value as their
|
||||
contract ID may do so using the following:
|
||||
|
||||
% rstcheck: ignore-languages=python
|
||||
|
||||
```python
|
||||
'contract_ids': ['@mozilla.org/foo;1'],
|
||||
|
||||
@@ -209,7 +209,6 @@ See
|
||||
[the source](https://hg.mozilla.org/mozilla-central/file/default/testing/mozbase/manifestparser/manifestparser/manifestparser.py) for the full documentation of the
|
||||
expression syntax until it is documented here.
|
||||
|
||||
% rstcheck: ignore-directives=todo
|
||||
|
||||
```{eval-rst}
|
||||
.. todo::
|
||||
|
||||
@@ -707,8 +707,6 @@ gDevTools.once("netmonitor-init").then(toolbox => {
|
||||
|
||||
To build a sidebar in your tool, first, add a xul:tabbox where you want the sidebar to live:
|
||||
|
||||
% rstcheck: ignore-languages=xml
|
||||
|
||||
```xml
|
||||
<splitter class="devtools-side-splitter"/>
|
||||
<tabbox id="mytool-sidebar" class="devtools-sidebar-tabs" hidden="true">
|
||||
|
||||
@@ -382,8 +382,6 @@ be declared in GeckoView's `AndroidManifest.xml`.
|
||||
|
||||
For example, this is the definition of the `media` process:
|
||||
|
||||
% rstcheck: ignore-languages=xml
|
||||
|
||||
```xml
|
||||
<service
|
||||
android:name="org.mozilla.gecko.media.MediaManager"
|
||||
|
||||
@@ -35,7 +35,6 @@ The important decorators are as follows:
|
||||
|
||||
Here is a complete example:
|
||||
|
||||
% rstcheck: ignore-languages=python
|
||||
|
||||
```python
|
||||
from mach.decorators import Command, CommandArgument
|
||||
@@ -95,7 +94,6 @@ why the command cannot currently be run.
|
||||
|
||||
Here is an example:
|
||||
|
||||
% rstcheck: ignore-languages=python
|
||||
|
||||
```python
|
||||
from mach.decorators import (
|
||||
|
||||
@@ -301,7 +301,6 @@ tests = manifest.active_tests(filters=filters, **mozinfo.info)
|
||||
:exclude-members: filterlist,InstanceFilter,DEFAULT_FILTERS
|
||||
```
|
||||
|
||||
% rstcheck: ignore-directives=autodata
|
||||
|
||||
```{eval-rst}
|
||||
.. autodata:: manifestparser.filters.DEFAULT_FILTERS
|
||||
|
||||
@@ -11,7 +11,6 @@ with the real web site.
|
||||
|
||||
Mozproxy provide a function that returns a playback class. The usage pattern is
|
||||
|
||||
% rstcheck: ignore-languages=python
|
||||
|
||||
```python
|
||||
from mozproxy import get_playback
|
||||
|
||||
@@ -118,7 +118,6 @@ definition file.
|
||||
|
||||
The probes in the definition file are represented in a fixed-depth, two-level structure:
|
||||
|
||||
% rstcheck: ignore-languages=yaml
|
||||
|
||||
```yaml
|
||||
# The following is a category.
|
||||
|
||||
Reference in New Issue
Block a user