Commit Graph

  • b0915b4697 Switch to "ruff" linter, enable many of its rules (#3368) Oleh Prypin 2023-09-04 10:02:38 +02:00
  • 94e9f17cd7 Prevent a stacktrace for theme: foo when theme is not installed (#3351) Oleh Prypin 2023-08-26 18:33:50 +02:00
  • 9cc8f24981 Add new supported languages by updating lunr-languages to 1.12.0 Ultrabug 2023-08-18 15:51:45 +02:00
  • c8bd1aff53 Merge pull request #3340 from mkdocs/feature/page-subclassing Martin Donath 2023-08-18 15:37:33 +02:00
  • b83dc350ce Improve debug output for subclasses of navigation elements squidfunk 2023-08-17 11:55:59 +02:00
  • 77832996d0 Deployed 79f17b4b7 with MkDocs version: 1.5.2 Oleh Prypin 2023-08-02 16:55:10 +02:00
  • 79f17b4b71 Release 1.5.2 (#3330) 1.5.2 Oleh Prypin 2023-08-02 16:51:14 +02:00
  • 91e37aea5e Change extra_javascript items to usually be strings again (#3324) Oleh Prypin 2023-08-02 12:11:53 +02:00
  • 4944c9fe35 Drop obsolete readthedocs config, we switched to gh-pages (#3326) Ultrabug 2023-08-02 12:06:30 +02:00
  • 63052bc1be Correct detection of dropping anchorlink from page title (#3325) Oleh Prypin 2023-08-02 11:45:35 +02:00
  • fcb2da399f Restore functionality of --no-livereload (#3320) Oleh Prypin 2023-08-01 18:57:57 +02:00
  • 2865b0fcc4 Release 1.5.1 (#3315) 1.5.1 Oleh Prypin 2023-07-28 00:42:51 +02:00
  • ea549e6177 Make it possible to treat ExtraScriptValue as a path Oleh Prypin 2023-07-28 00:13:04 +02:00
  • 86cde7b7be Catch ValueErrors thrown when attempting to remove a file twice (#3314) Jake Carter 2023-07-27 16:57:49 -05:00
  • 0b22d89e31 Deployed 0d9e3414e with MkDocs version: 1.5.0 Oleh Prypin 2023-07-26 22:32:06 +02:00
  • 0d9e3414e1 Release 1.5.0 (#3296) 1.5.0 Oleh Prypin 2023-07-26 22:30:55 +02:00
  • 0f8ab6bd6f Fix livereload shutdown sequence - crash on Windows Oleh Prypin 2023-07-26 21:12:17 +02:00
  • bfb52a30ac Create FUNDING.yml (#3295) Oleh Prypin 2023-07-19 20:44:38 +02:00
  • 189faf03c1 Merge pull request #3297 from mkdocs/regr Oleh Prypin 2023-07-19 20:42:02 +02:00
  • bb00d4cebb Add a test for relative link without dot in filename Oleh Prypin 2023-07-18 23:49:34 +02:00
  • c3d4ff7b69 Fix unescaping of Markdown titles Oleh Prypin 2023-07-18 22:05:05 +02:00
  • d8bc90f113 Always set inclusion_level so static-i18n plugin keeps working Oleh Prypin 2023-07-18 23:09:30 +02:00
  • 80254454d2 Revert "Check types against older Click that still has correct types" Oleh Prypin 2023-07-18 23:22:05 +02:00
  • b1624b5ce8 Add blockquote styling for mkdocs theme (#3291) Oleh Prypin 2023-07-16 21:11:16 +02:00
  • 41de1dd04b The new !relative tag also needs to be ignored in get-deps Oleh Prypin 2023-07-09 20:35:16 +02:00
  • 89c7aa69ac Merge pull request #3283 from mkdocs/warnc Oleh Prypin 2023-07-09 16:04:37 +02:00
  • 8353493606 Use YAML indentation width of 2 spaces (#3287) Oleh Prypin 2023-07-09 15:59:51 +02:00
  • ba6d23e721 More rigorous suggestions and tests for relative links in Markdown Oleh Prypin 2023-07-08 13:28:12 +02:00
  • fad2926760 Update Hatch matrix specification, properly add Python 3.11 Oleh Prypin 2023-07-07 15:15:09 +02:00
  • 65c0590e22 Upgrade jQuery in mkdocs theme (#3286) Dominique Fober 2023-07-07 14:42:24 +02:00
  • 21c618a1c6 Check types against older Click that still has correct types Oleh Prypin 2023-07-07 14:27:18 +02:00
  • fe80d58dd4 Merge pull request #3285 from C3pa/patch-1 Ultrabug 2023-07-06 17:07:56 +02:00
  • c99465a4d8 Update choosing-your-theme.md C3pa 2023-07-06 14:12:35 +02:00
  • aef55990b9 Propagate 1st-level validation keys to the 2nd-level sub-dicts Oleh Prypin 2023-06-30 23:26:19 +02:00
  • ca5160af27 Add suggestions for malformed links in Markdown Oleh Prypin 2023-07-01 15:24:17 +02:00
  • 4150d2b8ce Configurable diagnostics around broken links to docs Oleh Prypin 2023-06-30 16:42:42 +02:00
  • c71bf2429f Refactor RelativePathExtensionTests Oleh Prypin 2023-07-01 13:37:28 +02:00
  • de0c913fca Make colorful/indented output optional, decrease indent (#3282) Oleh Prypin 2023-07-02 18:04:50 +02:00
  • 5db6a78082 Deprecate defaults.get_schema Oleh Prypin 2023-06-30 15:47:36 +02:00
  • bf7c4300ce Refactor to eliminate wrapper Markdown extension classes Oleh Prypin 2023-06-30 15:10:16 +02:00
  • efe5bfbc47 Merge pull request #3258 from mkdocs/dirtag Oleh Prypin 2023-07-01 15:42:29 +02:00
  • 25f4ea1533 Docs: small fixes Oleh Prypin 2023-06-30 00:34:22 +02:00
  • 99a9a90553 Document the !relative tag Oleh Prypin 2023-06-25 23:08:42 +02:00
  • 7d8483904a Add YAML placeholder tags that resolve to current paths Oleh Prypin 2023-06-23 18:30:34 +02:00
  • a59e280d80 Make config_file_path default to empty string Oleh Prypin 2023-06-23 17:17:08 +02:00
  • 7b1bc92926 Refactor around dict key access Oleh Prypin 2023-06-23 16:23:42 +02:00
  • b162c5e824 Docs: automatically generate the list of locales (#3272) Oleh Prypin 2023-06-23 09:35:26 +02:00
  • f784374856 get-deps: suggest 'mkdocs[i18n]' if theme.locale is used (#3271) Oleh Prypin 2023-06-23 09:34:35 +02:00
  • 66f8df97d2 Pass config file path through SubConfig to Config (#3265) Philip Couling 2023-06-22 20:53:41 +01:00
  • ae4a639f6e Fix types after merge Oleh Prypin 2023-06-19 22:33:30 +02:00
  • ce826e94cc Merge pull request #3268 from mkdocs/conft Oleh Prypin 2023-06-19 22:22:10 +02:00
  • 0440ddd247 Merge pull request #3237 from mkdocs/mjs Oleh Prypin 2023-06-19 07:58:46 +02:00
  • 2062a11e7a Implement cache busting: append a suffix to CSS and JS URLs bust Oleh Prypin 2023-06-18 23:24:01 +02:00
  • 201073e6a6 Cache the value of documentation_pages Oleh Prypin 2023-06-18 23:06:05 +02:00
  • 9810dd485a Rename enum members to uppercase Oleh Prypin 2023-06-18 23:00:23 +02:00
  • 9394d4b168 Merge remote-tracking branch 'origin/master' into mjs Oleh Prypin 2023-06-18 19:18:22 +02:00
  • 8b0971c4fe Use type-safe wrappers around run_event Oleh Prypin 2023-06-18 19:05:06 +02:00
  • 01be507e30 Define a base class for all navigation item classes Oleh Prypin 2023-06-17 12:39:05 +02:00
  • c459cd24fc Stricter type annotations for MkDocsConfig Oleh Prypin 2023-06-17 12:36:57 +02:00
  • d5bb15fa10 Properly support config_file_path being None Oleh Prypin 2023-06-16 16:11:12 +02:00
  • 285461a3e7 Merge pull request #3249 from mkdocs/userc Oleh Prypin 2023-06-18 17:53:01 +02:00
  • afb66c1bea Add mkdocs build --no-strict that overrides strict: true (#3254) Oleh Prypin 2023-06-12 13:45:11 +02:00
  • b6ff158d9a Don't abort mkdocs serve for build errors during rebuilds (#3255) Oleh Prypin 2023-06-12 12:02:18 +02:00
  • 82aa8637b9 Merge pull request #3224 from mkdocs/ignore Oleh Prypin 2023-06-11 20:40:05 +02:00
  • ff68d77617 Deprecate Theme._vars but add custom_dir and other attributes Oleh Prypin 2023-06-09 21:40:02 +02:00
  • 96920d347f Deprecate user_configs Oleh Prypin 2023-06-09 20:32:00 +02:00
  • 9d56fa21d9 Merge remote-tracking branch 'origin/master' into ignore Oleh Prypin 2023-06-09 20:18:54 +02:00
  • f2d14c52a7 Merge pull request #3205 from mkdocs/getdeps Oleh Prypin 2023-06-09 20:05:07 +02:00
  • 4f98a94f14 Fix typo in extra_javascript doc Oleh Prypin 2023-06-08 10:33:48 +02:00
  • fdd30c0c34 Add DictOfItems type for configuration options (#3242) Timothée Mazzucotelli 2023-06-07 01:22:59 +02:00
  • 18c01d2e74 Add plugin logger utility (#3245) Timothée Mazzucotelli 2023-06-07 01:22:00 +02:00
  • 619f7cf898 Add tests for get_deps command + bugfix for namespacing Oleh Prypin 2023-06-07 00:13:19 +02:00
  • 5de1273259 Avoid effects of YAML tags in get_deps Oleh Prypin 2023-06-06 23:13:21 +02:00
  • e175070243 Let plugins declare their own optional dependencies Oleh Prypin 2023-06-04 23:22:56 +02:00
  • 45c8b9669b Add note about formatting code (#3244) Timothée Mazzucotelli 2023-06-07 00:43:45 +02:00
  • 3363c615de Update docs - "best-of-mkdocs" became "catalog" Oleh Prypin 2023-06-04 14:54:46 +02:00
  • 395daa05fb Merge remote-tracking branch 'origin/master' into getdeps Oleh Prypin 2023-06-04 14:53:40 +02:00
  • 73c640f73e Hide instance-attribute labels in docs (#3238) Timothée Mazzucotelli 2023-06-04 18:43:18 +02:00
  • 32d8c3a986 Expand config.extra_javascript to support type, async, defer Oleh Prypin 2023-06-03 22:59:27 +02:00
  • cc63a4bedf Include *.mjs files into javascript_files() Oleh Prypin 2023-06-03 23:08:44 +02:00
  • 0f793b9984 Make TemplateContext typed, move utils.filters to utils.templates Oleh Prypin 2023-06-03 17:54:12 +02:00
  • 73e503990e Make it possible to create a subclass of SubConfig[T] Oleh Prypin 2023-06-03 17:05:03 +02:00
  • 8315da2248 More concise error message in SubConfig Oleh Prypin 2023-06-03 16:57:03 +02:00
  • 1db8e884fa Strip trailing _ from config members, to bypass Python reserved words Oleh Prypin 2023-05-30 23:10:19 +02:00
  • fce89f71a9 Fix propagating warnings from sub-items of ListOfItems Oleh Prypin 2023-05-30 21:58:39 +02:00
  • c4db02b586 Stop using defer for most scripts, move them to the end of body Oleh Prypin 2023-06-04 00:37:35 +02:00
  • e254d4b1bc Consistently use tojson for pasting strings to JavaScript Oleh Prypin 2023-05-30 20:54:33 +02:00
  • b4c02e53ac Update highlight.js to version 11.8.0 Oleh Prypin 2023-05-30 20:41:45 +02:00
  • 41c6ee2de7 Enforce that imports are under if TYPE_CHECKING if possible (#3236) Oleh Prypin 2023-06-03 15:51:18 +02:00
  • 1363c7c390 Upgrade PyPy in CI Oleh Prypin 2023-06-03 15:36:39 +02:00
  • d4d483c779 Print the local URL of pages that are "built only for the preview" Oleh Prypin 2023-06-03 15:07:35 +02:00
  • 5af8bd3053 Infer titles of pages based on full Markdown parsing (#3191) Oleh Prypin 2023-05-29 21:59:31 +02:00
  • 89f15d9c69 Add tests for the build process - files, exclusions, plugins Oleh Prypin 2023-05-28 22:37:58 +02:00
  • a3f0d4be50 Move logging DuplicateFilter to utils, enable it only in __main__ Oleh Prypin 2023-05-28 20:26:10 +02:00
  • 9fdcb435d6 Refactor plugin tests Oleh Prypin 2023-05-27 21:26:44 +02:00
  • 930ae26a55 New flag mkdocs serve --clean - simulate a pure mkdocs build and then serve Oleh Prypin 2023-05-26 12:39:57 +02:00
  • f37ce51da1 Serve excluded files in mkdocs serve + new not_in_nav config Oleh Prypin 2023-05-26 10:58:02 +02:00
  • 67e0e4e052 New exclude_docs config: gitignore-like patterns of files to exclude Oleh Prypin 2023-05-28 22:55:49 +02:00
  • e08c1089d8 Revert "Cache the value of documentation_pages" Oleh Prypin 2023-05-26 10:59:55 +02:00
  • 8ecdfb2510 Clarify that Private config can be accessed, add a type to mdx_configs (#3229) Oleh Prypin 2023-05-26 18:54:32 +02:00