Skip to content

Commit 253c90a

Browse files
committed
1. update book python_summary_http_lib
1 parent 8e9313a commit 253c90a

File tree

106 files changed

+6269
-2049
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+6269
-2049
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Crifan的电子书大全
22

3-
最后更新:`20250216`
3+
最后更新:`20250403`
44

55
* 目的:存放我[Crifan](https://github.com/crifan)写的各种成体系的电子书教程
66
* 入口地址:[https://crifan.github.io](https://crifan.github.io)

python_summary_http_lib/website/appendix/index.html

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

python_summary_http_lib/website/appendix/reference.html

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

python_summary_http_lib/website/common/index.html

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

python_summary_http_lib/website/common/ua.html

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

python_summary_http_lib/website/gitbook/gitbook-plugin-callouts/plugin.css

Lines changed: 0 additions & 192 deletions
This file was deleted.

python_summary_http_lib/website/gitbook/gitbook-plugin-disqus/plugin.css

Lines changed: 0 additions & 4 deletions
This file was deleted.

python_summary_http_lib/website/gitbook/gitbook-plugin-disqus/plugin.js

Lines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require(['gitbook', 'jQuery'], function(gitbook, $) {
88
// adding the trigger element to each ARTICLES parent and binding the event
99
$(ARTICLES)
1010
.parent(CHAPTER)
11-
.children('a')
11+
.children('a, span')
1212
.append(
1313
$(TRIGGER_TEMPLATE)
1414
.on('click', function(e) {
@@ -17,6 +17,13 @@ require(['gitbook', 'jQuery'], function(gitbook, $) {
1717
toggle($(e.target).closest(CHAPTER));
1818
})
1919
);
20+
// hacky solution to make spans be clickable when used in combination with "ungrey" plugin
21+
$(CHAPTER + ' > span')
22+
.on('click', function(e) {
23+
e.preventDefault();
24+
e.stopPropagation();
25+
toggle($(e.target).closest(CHAPTER));
26+
});
2027
expand(lsItem());
2128
//expand current selected chapter with it's parents
2229
var activeChapter = $(CHAPTER + '.active');
@@ -62,6 +69,9 @@ require(['gitbook', 'jQuery'], function(gitbook, $) {
6269
})
6370
}
6471
}
72+
gitbook.events.bind('start', function() {
73+
init()
74+
});
6575
gitbook.events.bind('page.change', function() {
6676
init()
6777
});

0 commit comments

Comments
 (0)