Bug 1395956 - Update gecko.readthedocs links to the new firefox-source-docs.mozilla.org location. r=chutten

This commit is contained in:
Cosm 2017-09-02 22:11:02 +05:30
parent d20c7d929c
commit 917335fa1c
15 changed files with 17 additions and 16 deletions

View File

@ -38,7 +38,7 @@ If it's the first time you add one of these, it's advised to follow the style of
New data types have been added over the years, so it's quite feasible that some of our probes are not the most suitable nowadays.
There's more information about types (and telemetry in general) on [this page](https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Adding_a_new_Telemetry_probe) and [this other page](https://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/collection/index.html).
There's more information about types (and telemetry in general) on [this page](https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Adding_a_new_Telemetry_probe) and [this other page](https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/collection/index.html).
And of course, in case of doubt, ask!

View File

@ -38,7 +38,7 @@ import java.util.Set;
/**
* Receives and processes telemetry broadcasts from background services, namely Sync.
* Nomenclature:
* - Bundled Sync Ping: a Sync Ping as documented at http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/data/sync-ping.html
* - Bundled Sync Ping: a Sync Ping as documented at https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/sync-ping.html
* as of commit https://github.com/mozilla-services/docs/commit/7eb4b412d3ab5ec46b280eff312ace32e7cf27e6
* - Telemetry data: incoming background telemetry, of two types: "sync" and "sync event"
* - Local Sync Ping: a persistable representation of incoming telemetry data. Not intended for upload.

View File

@ -36,7 +36,7 @@ import java.util.concurrent.TimeUnit;
/**
* Builds a {@link TelemetryOutgoingPing} representing a core ping.
*
* See https://gecko.readthedocs.org/en/latest/toolkit/components/telemetry/telemetry/core-ping.html
* See https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/core-ping.html
* for details on the core ping.
*/
public class TelemetryCorePingBuilder extends TelemetryPingBuilder {

View File

@ -26,7 +26,7 @@ import java.util.TimeZone;
/**
* Responsible for building a Sync Ping, based on the telemetry docs:
* http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/data/sync-ping.html
* https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/sync-ping.html
*
* This builder takes two stores ('sync' and 'event') and produces a single "sync ping".
*

2
mobile/android/mach_commands.py Normal file → Executable file
View File

@ -262,7 +262,7 @@ class MachCommands(MachCommandBase):
@SubCommand('android', 'gradle-dependencies',
"""Collect Android Gradle dependencies.
See https://gecko.readthedocs.io/en/latest/build/buildsystem/toolchains.html#firefox-for-android-with-gradle""")
See http://firefox-source-docs.mozilla.org/build/buildsystem/toolchains.html#firefox-for-android-with-gradle""")
@CommandArgument('args', nargs=argparse.REMAINDER)
def android_gradle_dependencies(self, args):
# The union, plus a bit more, of all of the Gradle tasks

View File

@ -65,7 +65,7 @@ class ManifestParser(object):
:param finder: If provided, this finder object will be used for filesystem
interactions. Finder objects are part of the mozpack package,
documented at
http://gecko.readthedocs.org/en/latest/python/mozpack.html#module-mozpack.files
http://firefox-source-docs.mozilla.org/python/mozpack.html#module-mozpack.files
:param handle_defaults: If not set, do not propagate manifest defaults to individual
test objects. Callers are expected to manage per-manifest
defaults themselves via the manifest_defaults member

2
testing/mozharness/manifestparser/manifestparser.py Normal file → Executable file
View File

@ -65,7 +65,7 @@ class ManifestParser(object):
:param finder: If provided, this finder object will be used for filesystem
interactions. Finder objects are part of the mozpack package,
documented at
http://gecko.readthedocs.org/en/latest/python/mozpack.html#module-mozpack.files
http://firefox-source-docs.mozilla.org/python/mozpack.html#module-mozpack.files
:param handle_defaults: If not set, do not propagate manifest defaults to individual
test objects. Callers are expected to manage per-manifest
defaults themselves via the manifest_defaults member

View File

@ -1,7 +1,7 @@
# This lists the known child processes we collect Telemetry for.
# The entries are keyed with the names used in Telemetry internally, the same name that is used
# in the main pings payload, i.e. "payload/processes/<process name>". See:
# https://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/data/main-ping.html#processes
# https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/main-ping.html#processes
#
# For now this is only used to inform the data pipeline about new processes, but will be used to
# generate headers with C++ data later (enums, strings, ...).

2
toolkit/components/telemetry/histogram_tools.py Normal file → Executable file
View File

@ -35,7 +35,7 @@ ALWAYS_ALLOWED_KEYS = [
'record_in_processes',
]
BASE_DOC_URL = ("https://gecko.readthedocs.io/en/latest/toolkit/components/"
BASE_DOC_URL = ("https://firefox-source-docs.mozilla.org/toolkit/components/"
"telemetry/telemetry/")
HISTOGRAMS_DOC_URL = (BASE_DOC_URL + "collection/histograms.html")
SCALARS_DOC_URL = (BASE_DOC_URL + "collection/scalars.html")

2
toolkit/components/telemetry/parse_scalars.py Normal file → Executable file
View File

@ -11,7 +11,7 @@ from shared_telemetry_utils import ParserError
# The map of containing the allowed scalar types and their mapping to
# nsITelemetry::SCALAR_* type constants.
BASE_DOC_URL = 'https://gecko.readthedocs.io/en/latest/toolkit/components/' + \
BASE_DOC_URL = 'https://firefox-source-docs.mozilla.org/toolkit/components/' + \
'telemetry/telemetry/collection/scalars.html'
SCALAR_TYPES_MAP = {

2
toolkit/content/aboutTelemetry.js Normal file → Executable file
View File

@ -350,7 +350,7 @@ var PingPicker = {
render() {
let pings = bundle.GetStringFromName("pingExplanationLink");
let pingLink = "<a href=\"http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/concepts/pings.html\">" + pings + "</a>";
let pingLink = "<a href=\"https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/concepts/pings.html\">" + pings + "</a>";
let pingName = this._getSelectedPingName();
// Display the type and controls if the ping is not current

View File

@ -47,7 +47,7 @@ currentPingSidebar = current ping
resultsForSearch = Results for “%1$S”
# Note to translators:
# - %1$S will be replaced by the section name from the structure of the ping. More info about it can be found here : http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/data/main-ping.html
# - %1$S will be replaced by the section name from the structure of the ping. More info about it can be found here : https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/main-ping.html
# - %2$S will be replaced by the current text in the search input
noSearchResults = Sorry! There are no results in %1$S for “%2$S”
@ -62,7 +62,8 @@ telemetryLogHeadingTimestamp = Timestamp
telemetryLogHeadingData = Data
# Note to translators:
# - %1$S will be replaced by the section name from the structure of the ping. More info about it can be found here : http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/data/main-ping.html
# - %1$S will be replaced by the section name from the structure of the ping. More info about it can be found here : https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/main-ping.html
filterPlaceholder = Find in %1$S
allSections = all sections

View File

@ -29,7 +29,7 @@ $ npm install eslint-plugin-mozilla --save-dev
## Documentation
For details about the rules, please see the [gecko documentation page](http://gecko.readthedocs.io/en/latest/tools/lint/linters/eslint-plugin-mozilla.html).
For details about the rules, please see the [firefox documentation page](http://firefox-source-docs.mozilla.org/tools/lint/linters/eslint-plugin-mozilla.html).
## Source Code

View File

@ -12,7 +12,7 @@
"bugs": {
"url": "https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Lint"
},
"homepage": "http://gecko.readthedocs.io/en/latest/tools/lint/linters/eslint-plugin-mozilla.html",
"homepage": "http://firefox-source-docs.mozilla.org/tools/lint/linters/eslint-plugin-mozilla.html",
"repository": {
"type": "hg",
"url": "https://hg.mozilla.org/mozilla-central/"

View File

@ -12,7 +12,7 @@
"bugs": {
"url": "https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Lint"
},
"homepage": "http://gecko.readthedocs.io/en/latest/tools/lint/linters/eslint-plugin-spidermonkey-js.html",
"homepage": "http://firefox-source-docs.mozilla.org/tools/lint/linters/eslint-plugin-spidermonkey-js.html",
"repository": {
"type": "hg",
"url": "https://hg.mozilla.org/mozilla-central/"