j1-template 2020.0.1 → 2020.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +22 -18
- data/_includes/themes/j1/layouts/content_generator_collection.html +15 -12
- data/_includes/themes/j1/layouts/content_generator_page.html +16 -17
- data/_includes/themes/j1/layouts/content_generator_post.html +19 -24
- data/_includes/themes/j1/modules/navigator/generator.html +62 -40
- data/assets/data/menu.html +6 -5
- data/assets/data/mmenu.html +455 -0
- data/assets/data/{sidebar.html → mmenu_sidebar.html} +24 -18
- data/assets/data/mmenu_toc.html +45 -0
- data/assets/data/quicklinks.html +9 -4
- data/assets/data/ssm.html +227 -0
- data/assets/error_pages/HTTP204.html +3 -3
- data/assets/themes/j1/core/css/bootstrap.css +116 -93
- data/assets/themes/j1/core/css/bootstrap.min.css +4 -4
- data/assets/themes/j1/core/css/globals.css +1 -1
- data/assets/themes/j1/core/css/theme_extensions.css +186 -96
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/assets/themes/j1/core/css/uno.css +186 -96
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +130 -104
- data/assets/themes/j1/core/css/vendor.min.css +4 -4
- data/assets/themes/j1/core/js/template.js +296 -24
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +21 -17
- data/lib/j1_app/j1_auth_manager/config.rb +13 -9
- data/lib/j1_app/j1_site_manager/static_site.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/_config.yml +12 -139
- data/lib/starter_web/_data/modules/authentication.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +25 -24
- data/lib/starter_web/_data/modules/defaults/ssm.yml +50 -0
- data/lib/starter_web/_data/modules/defaults/toccer.yml +14 -15
- data/lib/starter_web/_data/modules/navigator.yml +164 -97
- data/lib/starter_web/_data/modules/ssm.yml +133 -0
- data/lib/starter_web/_data/modules/toccer.yml +20 -62
- data/lib/starter_web/_data/resources.yml +74 -51
- data/lib/starter_web/_data/template_settings.yml +13 -13
- data/lib/starter_web/_plugins/uglify.rb +41 -0
- data/lib/starter_web/apps/public/{cc → cc/cc.yml} +0 -0
- data/lib/starter_web/apps/public/cc/index.adoc +107 -0
- data/lib/starter_web/assets/images/modules/icons/j1/{j1..ico → j1.ico} +0 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/algolia.js +321 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/attic.js +4 -4
- data/lib/starter_web/assets/themes/j1/adapter/js/carousel.js +3 -3
- data/lib/starter_web/assets/themes/j1/adapter/js/framer.js +3 -3
- data/lib/starter_web/assets/themes/j1/adapter/js/j1.js +19 -60
- data/lib/starter_web/assets/themes/j1/adapter/js/mmenu.js +452 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/navigator.js +50 -50
- data/lib/starter_web/assets/themes/j1/adapter/js/ssm.js +498 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/themer.js +1 -1
- data/lib/starter_web/assets/themes/j1/adapter/js/toccer.js +40 -43
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.css +384 -0
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.min.css +384 -0
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.css +153 -0
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.min.css +153 -0
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.js +11 -0
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.min.js +11 -0
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.js +118 -0
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.min.js +118 -0
- data/lib/starter_web/collections/posts/public/{jekyll → featured}/_posts/2018-05-01-confusion-about-base-url.adoc +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/floating_sidebar.adoc +199 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +2 -2
- data/lib/starter_web/pages/public/learn/whats_up.adoc +12 -11
- data/lib/starter_web/pages/public/legal/en/500_support.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -3
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
- data/lib/starter_web/pages/public/site_search.adoc +196 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +26 -13
- data/assets/themes/j1/core/css/globals.scss +0 -28
- data/lib/starter_web/_data/modules/back2top.yml +0 -40
- data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -147
- data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +0 -169
- data/lib/starter_web/_data/modules/smooth_scroll.yml +0 -169
- data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +0 -227
- data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +0 -177
@@ -36,26 +36,187 @@ settings:
|
|
36
36
|
fixed: true
|
37
37
|
|
38
38
|
# ----------------------------------------------------------------------------
|
39
|
-
# NavMenu
|
39
|
+
# NavMenu (Desktop)
|
40
40
|
#
|
41
41
|
nav_menu:
|
42
42
|
enabled: true
|
43
43
|
|
44
44
|
delay_open_menu: 250
|
45
45
|
|
46
|
+
# ----------------------------------------------------------------------------
|
47
|
+
# NavMenu (MMobile)
|
48
|
+
#
|
49
|
+
nav_mmenu:
|
50
|
+
enabled: true
|
51
|
+
|
52
|
+
# --------------------------------------------------------------------------
|
53
|
+
# INSTANCE configuration (drawers|menus)
|
54
|
+
# --------------------------------------------------------------------------
|
55
|
+
menus:
|
56
|
+
|
57
|
+
# ------------------------------------------------------------------------
|
58
|
+
# NAVIGATION Main
|
59
|
+
#
|
60
|
+
- menu:
|
61
|
+
enabled: true
|
62
|
+
|
63
|
+
xhr_container_id: navigator_nav_mmenu
|
64
|
+
xhr_data_path: /assets/data/mmenu/index.html
|
65
|
+
|
66
|
+
drawer:
|
67
|
+
position: right
|
68
|
+
|
69
|
+
content:
|
70
|
+
id: menu_mmenu
|
71
|
+
type: navigation
|
72
|
+
title: Starter Web
|
73
|
+
theme: dark
|
74
|
+
button: "#mmenu-button"
|
75
|
+
button_activated: always
|
76
|
+
|
77
|
+
# ------------------------------------------------------------------------
|
78
|
+
# DRAWER Sidebar
|
79
|
+
#
|
80
|
+
- menu:
|
81
|
+
enabled: true
|
82
|
+
|
83
|
+
xhr_container_id: navigator_sidebar_mmenu
|
84
|
+
xhr_data_path: /assets/data/mmenu_sidebar/index.html
|
85
|
+
|
86
|
+
drawer:
|
87
|
+
position: left
|
88
|
+
|
89
|
+
content:
|
90
|
+
id: sidebar_mmenu
|
91
|
+
type: drawer
|
92
|
+
title: Site Info
|
93
|
+
theme: dark
|
94
|
+
button: "#navbar-brand"
|
95
|
+
button_activated: always
|
96
|
+
|
97
|
+
boxes:
|
98
|
+
|
99
|
+
- box:
|
100
|
+
enabled: true
|
101
|
+
type: user_info
|
102
|
+
title: User
|
103
|
+
|
104
|
+
links:
|
105
|
+
- title: Provider
|
106
|
+
value: ??provider
|
107
|
+
href: ??provider-site-url
|
108
|
+
target: _blank
|
109
|
+
icon: domain
|
110
|
+
- title: User
|
111
|
+
icon: account
|
112
|
+
value: ??user-name
|
113
|
+
href: ??provider_member_url
|
114
|
+
target: none
|
115
|
+
- title: Permissions
|
116
|
+
icon: account-check
|
117
|
+
value: ??provider-permissions
|
118
|
+
href: ??provider_member_url
|
119
|
+
target: none
|
120
|
+
- title: Membership
|
121
|
+
icon: account-settings
|
122
|
+
value: ??provider-membership
|
123
|
+
href: ??provider_member_url
|
124
|
+
target: none
|
125
|
+
- title: Cookies
|
126
|
+
icon: cookie
|
127
|
+
value: ??cookie-state
|
128
|
+
href: ??provider_privacy_url
|
129
|
+
target: none
|
130
|
+
|
131
|
+
- box:
|
132
|
+
enabled: true
|
133
|
+
type: theme_info
|
134
|
+
title: Theme
|
135
|
+
|
136
|
+
links:
|
137
|
+
- title: Name
|
138
|
+
icon: face
|
139
|
+
value: ??theme-name
|
140
|
+
href: /pages/public/previewer/theme/
|
141
|
+
target: none
|
142
|
+
- title: Author
|
143
|
+
icon: grease-pencil
|
144
|
+
value: ??theme-author
|
145
|
+
href: ??theme-author-url
|
146
|
+
target: _blank
|
147
|
+
- title: Version
|
148
|
+
icon: numeric
|
149
|
+
value: ??theme-version
|
150
|
+
href: /pages/public/previewer/theme/
|
151
|
+
target: none
|
152
|
+
|
153
|
+
- box:
|
154
|
+
enabled: true
|
155
|
+
type: site_info
|
156
|
+
title: Site
|
157
|
+
|
158
|
+
links:
|
159
|
+
- title: About
|
160
|
+
icon: home-outline
|
161
|
+
href: /pages/public/about/site/
|
162
|
+
target: none
|
163
|
+
|
164
|
+
# - title: Become a Patron
|
165
|
+
# icon: patreon
|
166
|
+
# href: /pages/public/about/become_a_patron/
|
167
|
+
# target: _blank
|
168
|
+
|
169
|
+
- title: Impress
|
170
|
+
icon: alert-outline
|
171
|
+
href: /pages/public/legal/en/impress/
|
172
|
+
target: none
|
173
|
+
- title: Privacy
|
174
|
+
icon: heart
|
175
|
+
href: /pages/public/legal/en/privacy/
|
176
|
+
target: none
|
177
|
+
- title: License
|
178
|
+
icon: checkbox-multiple-marked-circle-outline
|
179
|
+
href: /pages/public/legal/en/license_agreement/
|
180
|
+
target: none
|
181
|
+
|
182
|
+
# - title: Contact
|
183
|
+
# icon: contact-mail
|
184
|
+
# href: mailto:contact@jekyll.one
|
185
|
+
# target: none
|
186
|
+
|
187
|
+
# ------------------------------------------------------------------------
|
188
|
+
# DRAWER Toc
|
189
|
+
#
|
190
|
+
- menu:
|
191
|
+
enabled: true
|
192
|
+
|
193
|
+
xhr_container_id: navigator_toc_mmenu
|
194
|
+
xhr_data_path: /assets/data/mmenu_toc/index.html
|
195
|
+
|
196
|
+
drawer:
|
197
|
+
position: right
|
198
|
+
|
199
|
+
content:
|
200
|
+
id: toc_mmenu
|
201
|
+
type: drawer
|
202
|
+
title: Table of Contents
|
203
|
+
theme: dark
|
204
|
+
button: "#ssm_toc"
|
205
|
+
button_activated: "js-toc-content"
|
206
|
+
|
46
207
|
# ----------------------------------------------------------------------------
|
47
208
|
# NavQuicklinks
|
48
209
|
#
|
49
210
|
nav_quicklinks:
|
50
211
|
enabled: true
|
51
212
|
|
52
|
-
home_url:
|
213
|
+
home_url: / # none | URL
|
53
214
|
back_url: none # none | URL
|
54
215
|
|
55
216
|
r_text_sizer: false # true | false
|
56
217
|
|
57
|
-
disqus_url: https://disqus.com/
|
58
218
|
github_url: https://github.com/jekyll-one
|
219
|
+
disqus_url: none # https://disqus.com/
|
59
220
|
patreon_url: none # https://www.patreon.com/jekyll_one/posts
|
60
221
|
|
61
222
|
# ----------------------------------------------------------------------------
|
@@ -64,99 +225,5 @@ settings:
|
|
64
225
|
nav_topsearch:
|
65
226
|
enabled: true
|
66
227
|
|
67
|
-
# ----------------------------------------------------------------------------
|
68
|
-
# NavSidebar
|
69
|
-
#
|
70
|
-
nav_sidebar:
|
71
|
-
enabled: true
|
72
|
-
|
73
|
-
boxes:
|
74
|
-
|
75
|
-
- box:
|
76
|
-
enabled: true
|
77
|
-
type: user_info
|
78
|
-
title: User
|
79
|
-
|
80
|
-
links:
|
81
|
-
- title: Provider
|
82
|
-
value: ??provider
|
83
|
-
href: ??provider-site-url
|
84
|
-
target: _blank
|
85
|
-
icon: domain
|
86
|
-
- title: User
|
87
|
-
icon: account
|
88
|
-
value: ??user-name
|
89
|
-
href: ??provider_member_url
|
90
|
-
target: none
|
91
|
-
|
92
|
-
- title: Permissions
|
93
|
-
icon: account-check
|
94
|
-
value: ??provider-permissions
|
95
|
-
href: ??provider_member_url
|
96
|
-
target: none
|
97
|
-
- title: Membership
|
98
|
-
icon: account-settings
|
99
|
-
value: ??provider-membership
|
100
|
-
href: ??provider_member_url
|
101
|
-
target: none
|
102
|
-
- title: Cookies
|
103
|
-
icon: cookie
|
104
|
-
value: ??cookie-state
|
105
|
-
href: ??provider_privacy_url
|
106
|
-
target: none
|
107
|
-
|
108
|
-
- box:
|
109
|
-
enabled: true
|
110
|
-
type: theme_info
|
111
|
-
title: Theme
|
112
|
-
links:
|
113
|
-
- title: Name
|
114
|
-
icon: face
|
115
|
-
value: ??theme-name
|
116
|
-
href: /pages/public/previewer/theme/
|
117
|
-
target: none
|
118
|
-
- title: Author
|
119
|
-
icon: grease-pencil
|
120
|
-
value: ??theme-author
|
121
|
-
href: ??theme-author-url
|
122
|
-
target: _blank
|
123
|
-
- title: Version
|
124
|
-
icon: numeric
|
125
|
-
value: ??theme-version
|
126
|
-
href: /pages/public/previewer/theme/
|
127
|
-
target: none
|
128
|
-
|
129
|
-
- box:
|
130
|
-
enabled: true
|
131
|
-
type: site_info
|
132
|
-
title: Site
|
133
|
-
links:
|
134
|
-
- title: About
|
135
|
-
icon: home-outline
|
136
|
-
href: /pages/public/about/site/
|
137
|
-
target: none
|
138
|
-
# - title: Become a Patron
|
139
|
-
# icon: patreon
|
140
|
-
# href: /pages/public/about/become_a_patron/
|
141
|
-
# target: _blank
|
142
|
-
- title: Impress
|
143
|
-
icon: alert-outline
|
144
|
-
href: /pages/public/legal/en/impress/
|
145
|
-
target: none
|
146
|
-
- title: Privacy
|
147
|
-
icon: heart
|
148
|
-
href: /pages/public/legal/en/privacy/
|
149
|
-
target: none
|
150
|
-
- title: License
|
151
|
-
icon: checkbox-multiple-marked-circle-outline
|
152
|
-
href: /pages/public/legal/en/license_agreement/
|
153
|
-
target: none
|
154
|
-
|
155
|
-
# - title: Contact
|
156
|
-
# icon: contact-mail
|
157
|
-
# href: mailto:contact@jekyll.one
|
158
|
-
# target: none
|
159
|
-
|
160
|
-
|
161
228
|
# ------------------------------------------------------------------------------
|
162
229
|
# END config
|
@@ -0,0 +1,133 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/modules/ssc.yml
|
3
|
+
# User Configuration of the SSC Module (Sticky Side Menu)
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2020 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
# NOTE:
|
15
|
+
#
|
16
|
+
# ------------------------------------------------------------------------------
|
17
|
+
|
18
|
+
# ------------------------------------------------------------------------------
|
19
|
+
# About this configuration (used for J1 CC only)
|
20
|
+
#
|
21
|
+
about_config:
|
22
|
+
title: Sticky Side Menu
|
23
|
+
scope: User settings
|
24
|
+
location: _data/modules/ssm.yml
|
25
|
+
|
26
|
+
# ------------------------------------------------------------------------------
|
27
|
+
# User settings
|
28
|
+
#
|
29
|
+
settings:
|
30
|
+
enabled: true
|
31
|
+
mode: icon # icon|menu
|
32
|
+
|
33
|
+
# ----------------------------------------------------------------------------
|
34
|
+
# CONTAINER elements
|
35
|
+
#
|
36
|
+
items:
|
37
|
+
|
38
|
+
# --------------------------------------------------------------------------
|
39
|
+
# TOPLEVEL items
|
40
|
+
#
|
41
|
+
- item: Table of Contents
|
42
|
+
enabled: true
|
43
|
+
id: ssm_toc
|
44
|
+
href:
|
45
|
+
target:
|
46
|
+
event_handler: open_mmenu
|
47
|
+
icon: wrap
|
48
|
+
icon_classes:
|
49
|
+
|
50
|
+
- item: To Top
|
51
|
+
enabled: true
|
52
|
+
id: ssm_scroll_to_top
|
53
|
+
event_handler: scroll_to_top
|
54
|
+
href:
|
55
|
+
target:
|
56
|
+
icon: step-backward-2
|
57
|
+
icon_classes: mdi-rotate-90
|
58
|
+
|
59
|
+
- item: Previous Section
|
60
|
+
enabled: true
|
61
|
+
id: ssm_previous_section
|
62
|
+
event_handler: scroll_previous_section
|
63
|
+
href:
|
64
|
+
target:
|
65
|
+
icon: step-backward
|
66
|
+
icon_classes: mdi-rotate-90
|
67
|
+
|
68
|
+
- item: Next Section
|
69
|
+
enabled: true
|
70
|
+
id: ssm_next_section
|
71
|
+
event_handler: scroll_next_section
|
72
|
+
href:
|
73
|
+
target:
|
74
|
+
icon: step-forward
|
75
|
+
icon_classes: mdi-rotate-90
|
76
|
+
|
77
|
+
- item: To Bottom
|
78
|
+
enabled: true
|
79
|
+
id: ssm_scroll_to_bottom
|
80
|
+
event_handler: scroll_to_bottom
|
81
|
+
href:
|
82
|
+
target:
|
83
|
+
icon: step-forward-2
|
84
|
+
icon_classes: mdi-rotate-90
|
85
|
+
|
86
|
+
- item: Leave a Comment
|
87
|
+
enabled: false
|
88
|
+
id: ssm_scroll_to_comments
|
89
|
+
event_handler: scroll_to_comments
|
90
|
+
href:
|
91
|
+
target:
|
92
|
+
icon: comment
|
93
|
+
icon_classes:
|
94
|
+
|
95
|
+
- item: Tester
|
96
|
+
enabled: false
|
97
|
+
id: ssm_test
|
98
|
+
href:
|
99
|
+
target:
|
100
|
+
event_handler: alert_me
|
101
|
+
icon: alert
|
102
|
+
icon_classes:
|
103
|
+
|
104
|
+
# --------------------------------------------------------------------------
|
105
|
+
# MENU items
|
106
|
+
#
|
107
|
+
- item: Social Share
|
108
|
+
enabled: false
|
109
|
+
icon: menu
|
110
|
+
icon_classes:
|
111
|
+
sublevel:
|
112
|
+
|
113
|
+
- title: Facebook
|
114
|
+
enabled: true
|
115
|
+
id: ssm_facebook
|
116
|
+
href: https://www.facebook.com/sharer/sharer.php?u=http://demo.enigmaweb.com.au/
|
117
|
+
target:
|
118
|
+
event_handler: window.open(this.href, 'facebook', 'left=60,top=40,width=500,height=500,toolbar=1,resizable=0'); return false;
|
119
|
+
icon: facebook
|
120
|
+
icon_classes:
|
121
|
+
|
122
|
+
- title: Twitter
|
123
|
+
enabled: true
|
124
|
+
id: ssm_twitter
|
125
|
+
href: https://twitter.com/home?status=http://demo.enigmaweb.com.au/
|
126
|
+
target:
|
127
|
+
event_handler: window.open(this.href, 'twitter', 'left=60,top=40,width=500,height=500,toolbar=1,resizable=0'); return false;
|
128
|
+
icon: twitter
|
129
|
+
icon_classes:
|
130
|
+
|
131
|
+
|
132
|
+
# ------------------------------------------------------------------------------
|
133
|
+
# END config
|
@@ -32,8 +32,8 @@ settings:
|
|
32
32
|
# ----------------------------------------------------------------------------
|
33
33
|
# Enables|Disables the use of J1 TocManager
|
34
34
|
#
|
35
|
-
# values:
|
36
|
-
# default:
|
35
|
+
# values: boolean (true|false)
|
36
|
+
# default: false
|
37
37
|
#
|
38
38
|
# log
|
39
39
|
# --------------------------------------------------------------------------
|
@@ -45,6 +45,7 @@ settings:
|
|
45
45
|
# ----------------------------------------------------------------------------
|
46
46
|
enabled: true
|
47
47
|
log: false
|
48
|
+
delay: 400
|
48
49
|
|
49
50
|
# ----------------------------------------------------------------------------
|
50
51
|
# MODULE settings
|
@@ -53,9 +54,9 @@ settings:
|
|
53
54
|
# ----------------------------------------------------------------------------
|
54
55
|
# Specifies the <div> element where to render the table of contents.
|
55
56
|
#
|
56
|
-
# type:
|
57
|
-
# values:
|
58
|
-
# default:
|
57
|
+
# type: string (HTML class)
|
58
|
+
# values: any HTML class
|
59
|
+
# default: .js-toc
|
59
60
|
#
|
60
61
|
# headingSelector
|
61
62
|
# --------------------------------------------------------------------------
|
@@ -109,64 +110,21 @@ settings:
|
|
109
110
|
# type: integer
|
110
111
|
# default: 50
|
111
112
|
#
|
112
|
-
# scrollOptions
|
113
|
-
# --------------------------------------------------------------------------
|
114
|
-
# smooth-scroll options object, see more details at:
|
115
|
-
# https://github.com/cferdinandi/smooth-scroll
|
116
|
-
#
|
117
|
-
# values
|
118
|
-
#
|
119
|
-
# easing Type|Speed of the scroll effect the heading|section
|
120
|
-
# (of the content) is scrolled to if a toc element
|
121
|
-
# has been selected.
|
122
|
-
# Linear, moves at the same speed from start to finish.
|
123
|
-
# EaseIn, gradually increases in speed.
|
124
|
-
# EaseOut, gradually decreases in speed.
|
125
|
-
# EaseInOut, gradually increases in speed, peaks, and then
|
126
|
-
# gradually slows down.
|
127
|
-
#
|
128
|
-
# values: Linear|
|
129
|
-
# easeInQuad|easeInCubic|easeInQuart|easeInQuint
|
130
|
-
# easeOutQuad|easeOutCubic|easeOutQuart|easeOutQuint
|
131
|
-
# easeInOutQuad|easeInOutCubic|easeInOutQuart|easeInOutQuint
|
132
|
-
#
|
133
|
-
# default: easeInOutCubic
|
134
|
-
#
|
135
|
-
# offset
|
136
|
-
# Amount of space (calculated as pixels) between the top of page and the
|
137
|
-
# selected table of contents item after the page has been scrolled.
|
138
|
-
#
|
139
|
-
# values: integer
|
140
|
-
# default: 0
|
141
|
-
#
|
142
|
-
# speed
|
143
|
-
# Overall time (measured in milliseconds) to complete the scroll.
|
144
|
-
#
|
145
|
-
# values: integer
|
146
|
-
# default: 300
|
147
|
-
#
|
148
|
-
# updateURL
|
149
|
-
# ...
|
150
|
-
#
|
151
|
-
# values: boolean (true|false)
|
152
|
-
# default: true
|
153
|
-
#
|
154
113
|
# ----------------------------------------------------------------------------
|
155
|
-
tocSelector:
|
156
|
-
headingSelector:
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
throttleTimeout: 50
|
114
|
+
tocSelector: .js-toc
|
115
|
+
headingSelector: "h2, h3, h4, h5"
|
116
|
+
ignoreSelector: .notoc
|
117
|
+
contentSelector: .js-toc-content
|
118
|
+
activeLinkColor: "#212121" # md_bluegrey_900
|
119
|
+
collapseDepth: 2
|
120
|
+
throttleTimeout: 50
|
121
|
+
includeHtml: false
|
122
|
+
scrollSmooth: true
|
123
|
+
scrollSmoothDuration: 300
|
124
|
+
scrollSmoothOffset: -90
|
125
|
+
headingsOffset: 1
|
126
|
+
throttleTimeout: 50
|
169
127
|
|
170
128
|
|
171
129
|
# ------------------------------------------------------------------------------
|
172
|
-
# END config
|
130
|
+
# END config
|