Started using the sentry doc ext
This commit is contained in:
parent
6a7b821a5d
commit
d13b3cf78c
|
@ -0,0 +1,3 @@
|
|||
[submodule "docs/_sentryext"]
|
||||
path = docs/_sentryext
|
||||
url = https://github.com/getsentry/sentry-doc-support.git
|
|
@ -0,0 +1 @@
|
|||
Subproject commit e9b477ffbbb5b50c2a1ccdf4ff845ac1ffbce96b
|
|
@ -11,6 +11,8 @@
|
|||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import os
|
||||
import sys
|
||||
import datetime
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
|
@ -222,3 +224,8 @@ man_pages = [
|
|||
('index', 'raven', u'Raven Documentation',
|
||||
[u'David Cramer'], 1)
|
||||
]
|
||||
|
||||
if os.environ.get('SENTRY_FEDERATED_DOCS') != '1':
|
||||
sys.path.insert(0, os.path.abspath('_sentryext'))
|
||||
import sentryext
|
||||
sentryext.activate()
|
||||
|
|
Loading…
Reference in New Issue