10000 Use ReadtheDocs default theme. Pocoo asks not to use their theme for … · stomatocode/twilio-python@8145d53 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8145d53

Browse files
author
Kevin Burke
committed
Use ReadtheDocs default theme. Pocoo asks not to use their theme for non-Pocoo projects
1 parent c6f917b commit 8145d53

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
# Load the source for autodoc
3535
sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), '..')))
3636

37-
intersphinx_mapping = {'python': ('http://docs.python.org/3', None)}
37+
# So links to Python default docs work
38+
intersphinx_mapping = {'python': ('http://docs.python.org/2.7', None)}
3839

3940
# Add any paths that contain templates here, relative to this directory.
4041
templates_path = ['_templates']
@@ -101,8 +102,8 @@
101102
# a list of builtin themes.
102103

103104
sys.path.append(os.path.abspath('_themes'))
104-
html_theme_path = ['_themes']
105-
html_theme = 'kr'
105+
#html_theme_path = ['_themes']
106+
#html_theme = 'kr'
106107

107108

108109
# Theme options are theme-specific and customize the look and feel of a theme

twilio/rest/resources/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,15 +388,16 @@ def update_instance(self, sid, body):
388388
return self.load_instance(entry)
389389

390390
def count(self):
391-
""" Get the total number of instances for this resource
391+
""" .. deprecated:: 3.6.5
392+
393+
Get the total number of instances for this resource
392394
393395
Note: this query can be slow if you have many instances.
394396
395397
:return: the total number of instances
396398
:rtype: int
397399
:raises: a :exc:`~twilio.TwilioRestException` if the request fails
398400
399-
.. deprecated: 3.6.5
400401
401402
Example usage:
402403

0 commit comments

Comments
 (0)
0