mkdocs-toggle-sidebar-plugin 0.0.7__tar.gz → 0.0.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {mkdocs_toggle_sidebar_plugin-0.0.7/src/mkdocs_toggle_sidebar_plugin.egg-info → mkdocs_toggle_sidebar_plugin-0.0.8}/PKG-INFO +9 -1
  2. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/README.md +8 -0
  3. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/setup.cfg +1 -1
  4. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin/material.js +4 -3
  5. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8/src/mkdocs_toggle_sidebar_plugin.egg-info}/PKG-INFO +9 -1
  6. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/LICENSE +0 -0
  7. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/MANIFEST.in +0 -0
  8. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/pyproject.toml +0 -0
  9. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin/__init__.py +0 -0
  10. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin/mkdocs.js +0 -0
  11. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin/readthedocs.js +0 -0
  12. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin/toggle-sidebar.js +0 -0
  13. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin.egg-info/SOURCES.txt +0 -0
  14. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin.egg-info/dependency_links.txt +0 -0
  15. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin.egg-info/entry_points.txt +0 -0
  16. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin.egg-info/requires.txt +0 -0
  17. {mkdocs_toggle_sidebar_plugin-0.0.7 → mkdocs_toggle_sidebar_plugin-0.0.8}/src/mkdocs_toggle_sidebar_plugin.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mkdocs-toggle-sidebar-plugin
3
- Version: 0.0.7
3
+ Version: 0.0.8
4
4
  Summary: Add keybindings to toggle the navigation and table of contents sidebars
5
5
  Home-page: https://github.com/six-two/mkdocs-toggle-sidebar-plugin
6
6
  Author: six-two
@@ -169,6 +169,14 @@ docker run --rm -it -v "$PWD:/share" -w "/share" -p 8000:8000 --entrypoint=bash
169
169
 
170
170
  ## Notable changes
171
171
 
172
+ ### Version 0.0.8
173
+
174
+ - Fixed toggle button not shown in certain window dimensions in Material theme (see #11)
175
+
176
+ ### Version 0.0.7
177
+
178
+ - Fixed sidebar not hidden in material's blog mode (see #9). Thank you @ZnPdCo for finding and fixing the issue.
179
+
172
180
  ### Version 0.0.6
173
181
 
174
182
  - Fixed toggle button appearing delayed on slow loading pages (see #6)
@@ -147,6 +147,14 @@ docker run --rm -it -v "$PWD:/share" -w "/share" -p 8000:8000 --entrypoint=bash
147
147
 
148
148
  ## Notable changes
149
149
 
150
+ ### Version 0.0.8
151
+
152
+ - Fixed toggle button not shown in certain window dimensions in Material theme (see #11)
153
+
154
+ ### Version 0.0.7
155
+
156
+ - Fixed sidebar not hidden in material's blog mode (see #9). Thank you @ZnPdCo for finding and fixing the issue.
157
+
150
158
  ### Version 0.0.6
151
159
 
152
160
  - Fixed toggle button appearing delayed on slow loading pages (see #6)
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = mkdocs-toggle-sidebar-plugin
3
- version = 0.0.7
3
+ version = 0.0.8
4
4
  author = six-two
5
5
  author_email = pip@six-two.dev
6
6
  description = Add keybindings to toggle the navigation and table of contents sidebars
@@ -1,7 +1,7 @@
1
1
  const setCombinedVisibility = (showNavigation, showTOC) => {
2
2
  // Hide the button when on mobile (and menu us shown as hamburger menu anyways).
3
- // The exact max-width is taken from the styling of the 'body > header > nav > a' element
4
-
3
+ // Uses the 60em threshold that is used for hiding the TOC, search bar, repo info (name + stars), etc
4
+
5
5
  let style = `
6
6
  .mkdocs-toggle-sidebar-button {
7
7
  cursor: pointer;
@@ -9,7 +9,7 @@ const setCombinedVisibility = (showNavigation, showTOC) => {
9
9
  margin-left: 1rem;
10
10
  }
11
11
 
12
- @media screen and (max-width: 76.1875em) {
12
+ @media screen and (max-width: 60em) {
13
13
  .mkdocs-toggle-sidebar-button {
14
14
  display: none;
15
15
  }
@@ -30,6 +30,7 @@ if (!showTOC) {
30
30
 
31
31
  // We always have to show the navigation in mobile view, otherwise the hamburger menu is broken
32
32
  // In material for mkdocs's blog mode, navigation's class is '.md-sidebar--post', see #9
33
+ // The exact width (76.1875em) is taken from the styling of the 'body > header > nav > a' element, I think
33
34
  if (!showNavigation) {
34
35
  style += `
35
36
  @media screen and (min-width: 76.1875em) {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mkdocs-toggle-sidebar-plugin
3
- Version: 0.0.7
3
+ Version: 0.0.8
4
4
  Summary: Add keybindings to toggle the navigation and table of contents sidebars
5
5
  Home-page: https://github.com/six-two/mkdocs-toggle-sidebar-plugin
6
6
  Author: six-two
@@ -169,6 +169,14 @@ docker run --rm -it -v "$PWD:/share" -w "/share" -p 8000:8000 --entrypoint=bash
169
169
 
170
170
  ## Notable changes
171
171
 
172
+ ### Version 0.0.8
173
+
174
+ - Fixed toggle button not shown in certain window dimensions in Material theme (see #11)
175
+
176
+ ### Version 0.0.7
177
+
178
+ - Fixed sidebar not hidden in material's blog mode (see #9). Thank you @ZnPdCo for finding and fixing the issue.
179
+
172
180
  ### Version 0.0.6
173
181
 
174
182
  - Fixed toggle button appearing delayed on slow loading pages (see #6)