1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00
Commit Graph

2214 Commits

Author SHA1 Message Date
squidfunk
a65fd1ed9e
Updated distribution files 2024-01-28 11:52:02 +07:00
squidfunk
335dd3addb
Fixed Markdown formatted nodes in Mermaid.js 2024-01-28 11:48:36 +07:00
squidfunk
95ad78a478
Merge branch 'master' into fix/instant-loading-bugs 2024-01-24 10:46:02 +07:00
squidfunk
be95f4901a
Fixed capturing of keyboard events for custom elements
Co-authored-by: vtsvetkov-splunk <142901247+vtsvetkov-splunk@users.noreply.github.com>
2024-01-24 10:38:32 +07:00
squidfunk
6128ab92f2
Updated Tagalog translations
Co-authored-by: diamant3 <71203851+diamant3@users.noreply.github.com>
2024-01-24 10:24:36 +07:00
squidfunk
f3868a6f15
Updated Mermaid.js to 10.7.0 2024-01-24 08:20:41 +07:00
squidfunk
134800278a
Documentation 2024-01-18 18:11:39 +07:00
squidfunk
575ff3583a
Fixed linter errors 2024-01-18 17:35:19 +07:00
squidfunk
a6282931ef
Fixed instant loading bugs 2024-01-18 17:29:20 +07:00
squidfunk
e68e1330ab
Fixed default tag icon overriding other icons 2024-01-15 17:19:47 +07:00
squidfunk
d87c20fafc
Fixed change of palette configuration breaking site 2024-01-15 17:09:20 +07:00
squidfunk
7624e78744
Updated copyright year 2024-01-06 09:27:06 +07:00
squidfunk
2757f27819
Added documentation on new tags features 2023-12-29 13:32:19 +01:00
Sigurd Spieckermann
6a2b62b4f9
Removed unnecessary quotes from type annotation (#6540) 2023-12-19 09:44:20 +01:00
Sigurd Spieckermann
9956bf1dc4
Replaced mutable argument default by None (#6541) 2023-12-19 09:43:08 +01:00
Sigurd Spieckermann
13aa1565fb
Formatting (#6533)
* Removed unused imports

* Replaced nested `if` statements by single one

* Removed unnecessary `dict()` constructor around `dict` literal
2023-12-18 11:11:01 +01:00
Kamil Krzyśków
55fe1ccc53
Improved Group plugin initialization for mike (#6534) 2023-12-18 11:09:29 +01:00
squidfunk
285c9cc6f5
Merge branch 'master' of github.com:squidfunk/mkdocs-material 2023-12-15 22:45:58 +01:00
squidfunk
e8745daa60
Updated Macedonian translations
Co-authored-by: LordDeatHunter <26803198+LordDeatHunter@users.noreply.github.com>
2023-12-15 22:45:50 +01:00
squidfunk
b6972b8fa9
Formatting 2023-12-15 10:41:37 +01:00
Florian Haas
9b98c77725
Only show authors' email addresses if so configured in git-authors (#6494)
Honour the git-authors plugin's setting to render the authors' names
as links pointing to their email address:

* If the git-authors plugin is enabled and its show_email_address
  option is not set, or is set to true, render the author's name as a
  "mailto:" link.
* If the git-authors plugin is enabled and its show_email_address
  option is set to false, render the author's name in plain text with
  no link.
* If the git-authors plugin is not enabled (or not installed), don't
  show author information.
2023-12-12 17:35:20 +01:00
squidfunk
adad8238c6
Fixed config types for blog plugin slugify functions 2023-12-10 15:19:11 +01:00
squidfunk
00c5b0a94a
Fixed horizontal scrollbars on MathJax containers 2023-12-09 11:35:54 +01:00
squidfunk
0d72b5f57e
Formatting 2023-12-07 21:50:13 +01:00
squidfunk
5b70a0cfcb
Fixe time being dropped from blog post dates 2023-12-07 21:46:36 +01:00
squidfunk
8a7a6a7357
Updated Greek translations
Co-authored-by: RebelStreamers <82859945+RebelStreamers@users.noreply.github.com>
2023-12-07 17:02:47 +01:00
squidfunk
aa62bcc4f6
Merge latests changes from Insiders 2023-12-07 11:46:44 +01:00
squidfunk
f855a67384
Merged features tied to 'Goat's Horn' funding goal 2023-12-07 10:48:42 +01:00
squidfunk
6be485c38f
Documentation 2023-11-26 15:22:43 +01:00
squidfunk
28ebcbfb59
Added support for linking authors in blog posts
Co-authored-by: alexvoss <4134224+alexvoss@users.noreply.github.com>
2023-11-26 14:29:38 +01:00
squidfunk
494f5570de
Fixed linter errors 2023-11-26 13:00:18 +01:00
Martin Donath
b5cf38f3d9
Merge branch 'master' into update-to-mermaid-10.6.0 2023-11-26 12:55:43 +01:00
squidfunk
c2da2d8279
Fixed blog broken pagination links to previous pages 2023-11-26 12:46:32 +01:00
squidfunk
058b32f2d3
Fixed non-deterministic order of categories in blog plugin 2023-11-24 09:42:57 +01:00
squidfunk
d43626a838
Switched blog plugin to generate Unicode-aware slugs 2023-11-24 09:06:36 +01:00
squidfunk
ae056297bf
Fixed crash of blog plugin when pagination is disabled 2023-11-23 11:53:43 +01:00
squidfunk
ad83798bef
Fixed search plugin crashing when enabling theme while serving 2023-11-19 18:35:58 +01:00
squidfunk
c181a46f74
Added support to disable version selector in mike 2023-11-19 11:03:43 +01:00
squidfunk
dcc296e42e
Fixed animation of expanded navigation items 2023-11-19 10:45:45 +01:00
squidfunk
c0546f5686
Merge branch 'master' of github.com:squidfunk/mkdocs-material 2023-11-17 11:22:53 +01:00
squidfunk
97c7b54505
Fixed blog plugin custom templates not working with pagination 2023-11-17 11:21:23 +01:00
Alexander Voss
8fb97e7132
Added md-ellipsis span to toc-item.html 2023-11-17 10:26:04 +01:00
Netanel Haber
436ed8b8c2
Fixed instant loading indicator in Chrome when serving gzipped (#6322)
* bypass chrome event.total 0 when content gzipped by getting total off of Content-Length header

* styling; NaN should be replaced with 0 as well, so no nullish coalescing won't work
2023-11-17 09:58:10 +01:00
squidfunk
34d789bf82
Remove trailing whitespace when copying 2023-11-14 09:41:17 +01:00
squidfunk
88470b38cd
Added monochrome logo to icons 2023-11-14 09:37:59 +01:00
squidfunk
9c73460e2c
Fixed blog plugin crashing for pt-BR locale 2023-11-14 09:33:48 +01:00
squidfunk
9ff75d1183
Added monochrome logo 2023-11-12 16:34:05 +01:00
raymond-u
e4d1353f0c
Added support for specifying version strings as defaults (#6302) 2023-11-12 15:44:30 +01:00
Brian Campbell
441e05b5ee Upgrade to Mermaid 10.6.1
Bump the version of Mermaid up to 10.6.1. Per the release notes at
https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md the
render function is async now, so update to the new async render
function.

There's also apparently a change to use ESM, but I didn't seem to have
any trouble with just bumping the version and updating it to use async.
It looks like it's working without any change to how we load it, but I'm
not much of a frontend developer so I could be missing something.
2023-11-07 12:58:41 -05:00
Sigurd Spieckermann
47e7c3e87d
Fixed visible artifacts on rotation of details marker (Firefox) (#6268)
* Work around collapsible block icon rotation bug

* Minify link to upstream issue
2023-11-06 10:34:44 +01:00
squidfunk
87d69a95b8
Fixed invalid local address when using instant loading 2023-11-03 07:33:35 +01:00
squidfunk
494cae1e36
Fixed crash after navigation caused 404 when using instant loading 2023-11-02 11:50:45 +01:00
squidfunk
997da1efc5
Updated dependencies 2023-10-24 11:37:50 +02:00
squidfunk
ff3a8ff19a
Updated Azerbaijani translations
Co-authored-by: computerbox124 <63882460+computerbox124@users.noreply.github.com>
2023-10-19 17:35:13 +02:00
squidfunk
7fa5ea0602
Updated Danish translations
Co-authored-by: saltydk <6587950+saltydk@users.noreply.github.com>
2023-10-14 10:39:12 +02:00
squidfunk
2800e7ea62
Fixed blog post metadata layout on small screens 2023-10-14 10:27:56 +02:00
squidfunk
e20cf0beca
Updated Norwegian (Nynorsk) translations
Co-authored-by: audunklyve <34168782+audunklyve@users.noreply.github.com>
2023-10-14 09:53:52 +02:00
squidfunk
d41707de99
Fixed linter errors 2023-10-10 10:29:45 +02:00
squidfunk
5824c6ca4e
Fixed sidebar auto-positioning (9.4.2 regression) 2023-10-10 10:24:59 +02:00
squidfunk
53749f2acc
Fixed hiding of tags (9.4.3 regression) 2023-10-10 08:50:43 +02:00
squidfunk
4c192d3ab7
Fixed group plugin compatibility with Python < 3.10 2023-10-10 08:44:55 +02:00
squidfunk
a9da0b632c
Added support for specifying copied text for code blocks 2023-10-05 17:51:50 +02:00
squidfunk
48ff39a5cc
Added support for specifying copied text for code blocks 2023-10-05 17:26:24 +02:00
squidfunk
57e598b96e
Fixed incomplete search highlighting for code blocks in titles 2023-10-05 16:45:36 +02:00
squidfunk
442bd1b07a
Fixed breakpoints when using zoom (attempt) 2023-10-03 10:38:54 +02:00
squidfunk
8299f1d3a0
Fixed search plugin removing indentation for some code blocks 2023-10-02 10:54:59 +02:00
squidfunk
7956a82f0e
Moved back-to-top button to partial 2023-10-01 09:44:49 +02:00
squidfunk
f8fd537b97
Added support for instant navigation progress indicator 2023-10-01 09:42:02 +02:00
squidfunk
015685f421
Fixed blog post metadata overlap on mobile/tablet 2023-09-30 12:21:36 +02:00
squidfunk
bc9cdb5774
Merge branch 'master' of github.com:squidfunk/mkdocs-material 2023-09-30 11:33:17 +02:00
squidfunk
4743c1bab6
Fixed occasional flashes when using instant loading 2023-09-30 11:33:09 +02:00
Alexander Voss
1be39328ac
Fixed encoding problem when using blog plugin (#6103) 2023-09-29 15:26:32 +02:00
Alexander Voss
0c498b4345
added instructions for checking out and updating specific releases (#6095)
* added instructions for checking out specific releases and also moved the bit about $GH_TOKEN to a place above
the pip install instructions
* separated out update instructions, revised git instructions
* bumped version number that insiders is based on
* removed --upgrade from update command
* made insiders changelog a section
* changed instructions for upgrading via git
2023-09-28 10:42:28 -04:00
squidfunk
929fc39dbe
Fixed deprecated stylelint rules 2023-09-25 17:36:36 +02:00
squidfunk
305c33622c
Improved spacing and alignment of tags 2023-09-25 10:56:13 +02:00
squidfunk
59d3b3395d
Improved extension compatibility with Python 3.8 2023-09-24 17:50:57 +02:00
squidfunk
639dbacc63
Added support for auto-replacement of meta tags when using instant loading 2023-09-24 17:16:50 +02:00
squidfunk
15538b0a39
Merge branch 'master' into fix/instant-loading 2023-09-23 16:48:31 +02:00
squidfunk
7e6f15bb17
Fixed ignored repeated anchor link clicks when using instant loading 2023-09-23 16:32:44 +02:00
squidfunk
ef30cfea67
Added Slovenian translations
Co-authored-by: dkalsan <25985498+dkalsan@users.noreply.github.com>
2023-09-23 15:39:06 +02:00
squidfunk
e08d0471e9
Stretch outline of navigation section 2023-09-23 15:38:05 +02:00
squidfunk
8a1244e74a
Fixed integrated table of contents 2023-09-23 14:55:49 +02:00
squidfunk
3fbcb3ed83
Fixed blog sidebar navigation 2023-09-23 14:41:44 +02:00
squidfunk
521f7272ee
Fixed navigation outlines on focus 2023-09-23 13:50:10 +02:00
squidfunk
9dd7511b65
Fixed linter errors 2023-09-23 09:46:11 +02:00
squidfunk
3baf74f1b9
Fixed navigation sections being hidden 2023-09-23 09:40:50 +02:00
squidfunk
8e019d23b6
Fixed navigation expander not being focusable with keyboard 2023-09-23 09:32:10 +02:00
squidfunk
208ac1ac3a
Added smooth transition to sidebar navigation 2023-09-23 09:31:48 +02:00
squidfunk
62bd70a6d2
Fixed overflowing navigation on non-breaking words 2023-09-23 09:31:29 +02:00
squidfunk
11b1c55ba1
Improved navigation spacing with flex layout 2023-09-23 09:30:56 +02:00
squidfunk
b1ee79b262
Fixed out-of-sync ARIA attributes in navigation 2023-09-23 09:30:15 +02:00
squidfunk
159b28cd64
Test direct GitHub Pages deployment 2023-09-22 19:30:57 +02:00
squidfunk
188d395ac7
Test direct GitHub Pages deployment 2023-09-22 19:22:21 +02:00
squidfunk
a3b619fc4b
Merge branch 'master' into fix/instant-loading 2023-09-22 18:17:17 +02:00
squidfunk
433c137bc1
Fixed blog plugin not generating paginated views as index pages 2023-09-22 18:12:48 +02:00
squidfunk
7d0f759cfb
Removed hack in blog plugin for MkDocs < 1.5.3 2023-09-22 17:58:26 +02:00
squidfunk
50c273cfd4
Fixed blog plugin crashing when blog is not linked in navigation 2023-09-22 17:28:57 +02:00
squidfunk
5deec283a0
Switched content tabs to neutral color 2023-09-22 14:00:40 +02:00
squidfunk
c9e4a5e265
Improved colors and contrast in dark mode 2023-09-22 13:33:40 +02:00
squidfunk
859b8bcaee
Improved slate color scheme 2023-09-21 17:23:36 +02:00
squidfunk
970670bb4a
Improved slate color scheme 2023-09-21 16:06:55 +02:00
squidfunk
f4e4d71343
Updated issue templates 2023-09-21 15:33:49 +02:00
squidfunk
c476842334
Merge branch 'master' into docs/guides 2023-09-21 14:53:33 +02:00
squidfunk
1205411f22
Added version info to entrypoint 2023-09-20 17:59:51 +02:00
squidfunk
00c5fb1766
Added emoji extension 2023-09-20 17:33:29 +02:00
squidfunk
0392073055
Fixed icon search 2023-09-20 14:59:25 +02:00
squidfunk
5c8bb4ea2b
Fixed linter errors 2023-09-20 14:40:37 +02:00
squidfunk
56b96b4d79
Restructured project 2023-09-20 13:58:03 +02:00
squidfunk
54a3e89d5f
Updated shortcodes hook 2023-09-19 18:43:58 +02:00
squidfunk
11cb733741
Added badges to view and download examples 2023-09-19 17:16:41 +02:00
squidfunk
52d32253d8
Added Belarusian translations
Co-authored-by: mvkarpuk <102862963+mvkarpuk@users.noreply.github.com>
2023-09-19 16:19:08 +02:00
squidfunk
432ba9e030
Updated Slovenian translations
Co-authored-by: dkalsan <25985498+dkalsan@users.noreply.github.com>
2023-09-19 08:46:34 +02:00
Martin Donath
457a7fd5cc
Merge pull request #6024 from alexvoss/codehighlight
fix: unwanted divergence public vs. insider #6017
2023-09-18 20:03:41 +02:00
squidfunk
fc45f52336
Added first example to documentation 2023-09-18 19:36:02 +02:00
Alex Voss
38da3fb2a7 fix: unwanted divergence public vs. insider #6017 2023-09-15 11:58:59 -04:00
Martin Donath
cd008fdf29
Restructured documentation (#5692) 2023-09-14 19:09:18 +02:00
squidfunk
ef5a04a324
Fixed draft blog posts being included in navigation 2023-09-13 22:05:53 +02:00
squidfunk
eb1c32327b
Fixed group plugin crashing when using hooks 2023-09-11 18:17:41 +02:00
squidfunk
2e85464401
Improved error message in group plugin 2023-09-11 17:08:28 +02:00
squidfunk
4154a94956
Added experimental group plugin 2023-09-11 16:20:33 +02:00
squidfunk
2ba35383e2
Removed tags settings only available in Insiders from schema 2023-09-10 16:32:06 +02:00
squidfunk
e3d5fd2eb3
Added missing tags setting in tags plugin 2023-09-10 15:56:53 +02:00
Bandarenka Yura
26b57bb2d8
Updated Russian translations (#5947)
fix translation
"Содержание" = toc
"Содержание раздела" = toc of section
2023-09-04 21:31:59 +02:00
squidfunk
fc566cf0e2
Fixed further regression in blog plugin navigation 2023-09-04 14:06:51 +02:00
squidfunk
682d1761e7
Fixed further regression in blog plugin navigation 2023-09-04 09:53:43 +02:00
Andrea Borruso
bfec92b226
Updated Italian translations (#5950)
Some blog translation updates. Thank you
2023-09-03 12:56:50 +02:00
squidfunk
d2962d9551
Documentation 2023-09-03 12:55:11 +02:00
squidfunk
84cb91b21b
Fixed incorrect URLs when rendering paginated views 2023-09-03 12:48:46 +02:00
squidfunk
7bdd03a794
Fixed missing titles in views when blog posts have no h1 headings 2023-09-03 11:00:13 +02:00
squidfunk
3f87fe0f5b
Fixed linking of blog posts in navigation (temporary hack) 2023-09-03 09:29:40 +02:00
Sigurd Spieckermann
ea53f53982
Added CSS variables for Mermaid sequence diagrams (#5940)
* Add CSS variables for Mermaid sequence diagram note

* Add CSS variables for Mermaid sequence diagram actor

* Add CSS variables for Mermaid sequence diagram message

* Add CSS variables for Mermaid sequence diagram actor man

* Add CSS variables for Mermaid sequence diagram loop

* Add CSS variables for Mermaid sequence diagram number

* Add CSS variables for Mermaid sequence diagram box

---------

Co-authored-by: Martin Donath <martin.donath@squidfunk.com>
2023-09-02 18:58:13 +02:00
Sigurd Spieckermann
ec709b4f0e
Fixed rendering issue for rotated annotation icons in Firefox (#5937)
Co-authored-by: Martin Donath <martin.donath@squidfunk.com>
2023-09-02 18:51:49 +02:00
squidfunk
3eb1887f6b
Fixed linter errors 2023-09-02 18:44:42 +02:00
squidfunk
e79ffab3ac
Fixed page scrolling up when switching color palettes in Firefox 117 2023-09-02 18:41:26 +02:00
squidfunk
a6033d1db6
Formatting 2023-09-02 18:13:55 +02:00
squidfunk
76a30ecab2
Fixed announcement bar dismissal when using instant loading 2023-09-02 16:39:05 +02:00
squidfunk
6e1c658a9d
Fixed footer links for blog sibling pages 2023-09-02 16:12:28 +02:00
squidfunk
64350569c9
Moved parser to own module 2023-08-31 11:31:15 +02:00
squidfunk
0d3cd8a433
Removed readtime and lxml dependencies 2023-08-31 11:13:06 +02:00
squidfunk
554049677d
Added Basque translations
Co-authored-by: Porrumentzio <61913683+Porrumentzio@users.noreply.github.com>
2023-08-30 18:06:28 +02:00
squidfunk
ad45cf36cb
Fixed social plugin checking dependencies albeit being disabled 2023-08-30 16:28:59 +02:00
squidfunk
f2512ded4a
Fixed blog plugin compatibility with Python < 3.9 2023-08-30 16:06:27 +02:00
squidfunk
4c6b004fe4
Refactored blog plugin view generation 2023-08-30 15:27:40 +02:00
squidfunk
8af68b691c
Added template for redirects 2023-08-27 14:21:04 +02:00
squidfunk
acd70cf04a
Fixed dirty rebuilds for blog plugin 2023-08-27 12:56:28 +02:00
squidfunk
568a5c8e1e
Fixed blog title not being consistent in pagination 2023-08-27 12:47:44 +02:00
squidfunk
da21786694
Documentation 2023-08-27 11:44:30 +02:00
squidfunk
fbb7a5e894
Blog plugin pagination breaks when disabling directory URLs 2023-08-27 11:42:11 +02:00
squidfunk
db568b1e6b
Added version to info plugin example name 2023-08-26 12:34:51 +02:00
squidfunk
6839f1cd97
Formatting 2023-08-23 16:02:43 +02:00