зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1460678
- doc: Disable sentry as it adds significant overhead r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D123795
This commit is contained in:
Родитель
03b9326d8e
Коммит
1219c444a7
|
@ -14,6 +14,7 @@ import time
|
|||
import yaml
|
||||
import uuid
|
||||
import mozpack.path as mozpath
|
||||
import sentry_sdk
|
||||
|
||||
from functools import partial
|
||||
from pprint import pprint
|
||||
|
@ -250,6 +251,10 @@ class Documentation(MachCommandBase):
|
|||
import sphinx.cmd.build
|
||||
|
||||
config = config or self.manager().conf_py_path
|
||||
# When running sphinx with sentry, it adds significant overhead
|
||||
# and makes the build generation very very very slow
|
||||
# So, disable it to generate the doc faster
|
||||
sentry_sdk.init(None)
|
||||
args = [
|
||||
"-T",
|
||||
"-b",
|
||||
|
|
Загрузка…
Ссылка в новой задаче