Skip to content

Commit b19c3c7

Browse files
authored
Merge pull request #539 from leancloud/docs
docs: update changelog & docs for 2.9.10
2 parents b1eed65 + 450adad commit b19c3c7

File tree

8 files changed

+95
-83
lines changed

8 files changed

+95
-83
lines changed

changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [2.9.10] - 2022-01-28
2+
3+
## Fixed
4+
5+
- Updated API domains for apps in the China North region.
6+
17
## [2.9.9] - 2021-12-14
28

39
### Added

docs/_static/basic.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -731,8 +731,9 @@ dl.glossary dt {
731731

732732
.classifier:before {
733733
font-style: normal;
734-
margin: 0.5em;
734+
margin: 0 0.5em;
735735
content: ":";
736+
display: inline-block;
736737
}
737738

738739
abbr, acronym {
@@ -756,6 +757,7 @@ span.pre {
756757
-ms-hyphens: none;
757758
-webkit-hyphens: none;
758759
hyphens: none;
760+
white-space: nowrap;
759761
}
760762

761763
div[class*="highlight-"] {

docs/_static/doctools.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for all documentation.
66
*
7-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -264,6 +264,9 @@ var Documentation = {
264264
hideSearchWords : function() {
265265
$('#searchbox .highlight-link').fadeOut(300);
266266
$('span.highlighted').removeClass('highlighted');
267+
var url = new URL(window.location);
268+
url.searchParams.delete('highlight');
269+
window.history.replaceState({}, '', url);
267270
},
268271

269272
/**

docs/_static/language_data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* This script contains the language-specific data used by searchtools.js,
66
* namely the list of stopwords, stemmer, scorer and splitter.
77
*
8-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
8+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
99
* :license: BSD, see LICENSE for details.
1010
*
1111
*/

docs/_static/searchtools.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for the full-text search.
66
*
7-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -328,7 +328,9 @@ var Search = {
328328
var results = [];
329329

330330
for (var prefix in objects) {
331-
for (var name in objects[prefix]) {
331+
for (var iMatch = 0; iMatch != objects[prefix].length; ++iMatch) {
332+
var match = objects[prefix][iMatch];
333+
var name = match[4];
332334
var fullname = (prefix ? prefix + '.' : '') + name;
333335
var fullnameLower = fullname.toLowerCase()
334336
if (fullnameLower.indexOf(object) > -1) {
@@ -342,7 +344,6 @@ var Search = {
342344
} else if (parts[parts.length - 1].indexOf(object) > -1) {
343345
score += Scorer.objPartialMatch;
344346
}
345-
var match = objects[prefix][name];
346347
var objname = objnames[match[1]][2];
347348
var title = titles[match[0]];
348349
// If more than one term searched for, we require other words to be

docs/index.html

Lines changed: 74 additions & 74 deletions
Large diffs are not rendered by default.

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name='leancloud',
23-
version='2.9.9',
23+
version='2.9.10',
2424
description='LeanCloud Python SDK',
2525
url='https://leancloud.cn/',
2626
author='asaka',

0 commit comments

Comments
 (0)