File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+
1
3
name : publish
2
4
3
5
on :
9
11
deploy :
10
12
runs-on : ubuntu-latest
11
13
steps :
12
- - uses : actions/checkout@v2
13
- - uses : actions/setup-python@v2
14
+ - uses : actions/checkout@v4
15
+ - uses : actions/setup-python@v5
14
16
with :
15
17
python-version : 3.x
16
- - run : pip install mkdocs-material
18
+ - run : pip install mkdocs-material
17
19
- run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1
1
function unhide_div ( target , file ) {
2
2
var x = document . getElementById ( target ) ;
3
3
if ( x . style . display === "none" ) {
4
- x . style . display = "block" ;
5
- AsciinemaPlayer . create ( file , document . getElementById ( target ) ) ;
4
+ x . style . display = "inline" ;
5
+ AsciinemaPlayer . create ( file , document . getElementById ( target ) ,
6
+ { fit : "none" }
7
+ ) ;
6
8
} else {
7
9
x . style . display = "none" ;
10
+ document . getElementById ( target ) . getElementsByClassName ( 'ap-wrapper' ) [ 0 ] . remove ( )
8
11
}
9
12
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ div.ap-wrapper {
2
2
outline : none;
3
3
height : 100% ;
4
4
display : flex;
5
- justify-content : center;
5
+ justify-content : left; /* Customised */
6
6
}
7
7
div .ap-wrapper .title-bar {
8
8
display : none;
Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ theme:
37
37
38
38
extra_css :
39
39
- assets/stylesheets/extra.css
40
- - assets/stylesheets/asciinema-3-0-0 -player.css
40
+ - assets/stylesheets/asciinema-3-8-1 -player.css
41
41
42
42
extra_javascript :
43
- - assets/javascripts/asciinema-3-0-0 -player.min.js
43
+ - assets/javascripts/asciinema-3-8-1 -player.min.js
44
44
- assets/javascripts/unhide_div.js
45
45
46
46
plugins :
@@ -54,8 +54,8 @@ markdown_extensions:
54
54
- pymdownx.tasklist :
55
55
custom_checkbox : true
56
56
- pymdownx.emoji :
57
- emoji_index : !!python/name:materialx. emoji.twemoji
58
- emoji_generator : !!python/name:materialx .emoji.to_svg
57
+ emoji_index : !!python/name:material.extensions. emoji.twemoji
58
+ emoji_generator : !!python/name:material.extensions .emoji.to_svg
59
59
60
60
extra :
61
61
social : true # Repurpose for cookies setting in footer (GDPR requirement), set this to true to trigger standard theme logic
You can’t perform that action at this time.
0 commit comments