Bug 1532652: Fix telemetry source code links in Scalars documentation r=janerik

Telemetry.h and nsITelemetry.idl.idl links were incorrect because there are in the core folder

Differential Revision: https://phabricator.services.mozilla.com/D24213
This commit is contained in:
Clément ALLAIN
2019-03-22 13:32:03 +00:00
parent 85f0e1c9ce
commit 14fcce24cb

View File

@@ -18,8 +18,8 @@ The serialized scalar data is submitted with the :doc:`main pings <../data/main-
The API
=======
Scalar probes can be managed either through the `nsITelemetry interface <https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/nsITelemetry.idl>`_
or the `C++ API <https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/Telemetry.h>`_.
Scalar probes can be managed either through the `nsITelemetry interface <https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/core/nsITelemetry.idl>`_
or the `C++ API <https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/core/Telemetry.h>`_.
JS API
------
@@ -86,7 +86,7 @@ Example:
C++ API
-------
Probes in native code can use the more convenient helper functions declared in `Telemetry.h <https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/Telemetry.h>`_:
Probes in native code can use the more convenient helper functions declared in `Telemetry.h <https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/core/Telemetry.h>`_:
.. code-block:: cpp