Commit Graph

  • dba48e1564 Refactor config_option_tests to be more consistent Oleh Prypin 2022-09-21 23:23:17 +02:00
  • f1da904a7f Refactor: use config_options module through a short alias 'c' Oleh Prypin 2022-09-22 23:13:55 +02:00
  • dce025e544 Remove duplicated style due to a merge mistake Oleh Prypin 2022-09-19 22:46:24 +02:00
  • bc5ca89b16 Merge pull request #2982 from mkdocs/styl2 Oleh Prypin 2022-09-19 22:25:39 +02:00
  • 81d6ebf59d Replace instances of ```no-highlight Oleh Prypin 2022-09-18 19:56:36 +02:00
  • 6123328cbe Enforce fenced codeblocks in our docs Oleh Prypin 2022-09-18 19:48:29 +02:00
  • 8dfef829b8 Enable <details> admonitions and nested codeblocks Oleh Prypin 2022-09-18 19:39:23 +02:00
  • b33fb2ac67 Update admonition styles in MkDocs theme: (#2981) Oleh Prypin 2022-09-19 22:19:04 +02:00
  • 2a8ed44d9e Hooks feature: run plugin events from local Python files (#2978) Oleh Prypin 2022-09-19 22:18:38 +02:00
  • aa4e669c33 Add Ukrainian translations (#2980) Oleh Prypin 2022-09-19 21:52:05 +02:00
  • b11bed87ab Add Russian localization (#2976) Alexander Krasnikov 2022-09-19 10:06:03 +03:00
  • cf8a07475f Deduplicate the nav specification with literate-nav Oleh Prypin 2022-09-18 18:47:54 +02:00
  • 00a71ba0be Move more documentation from Markdown into docstrings Oleh Prypin 2022-09-18 16:35:33 +02:00
  • 5685e93406 Relax some type annotations for Config, accept a dict Oleh Prypin 2022-09-06 20:07:46 +02:00
  • 0ecb52f835 Allow to unwatch files with LiveReloadServer (#2777) Álvaro Mondéjar 2022-09-18 14:32:21 +02:00
  • 730da08158 Make compile_catalog actually fail on error, to catch it in CI (#2979) Oleh Prypin 2022-09-17 18:40:18 +02:00
  • 8315ece4f6 Consistently separate followup kwargs in plugin events Oleh Prypin 2022-09-13 00:49:50 +02:00
  • 8c3ea5fd12 Merge pull request #2972 from mkdocs/onshut Oleh Prypin 2022-09-14 18:55:08 +02:00
  • f0ae255455 Improve warning stack trace detection Oleh Prypin 2022-09-14 17:51:16 +02:00
  • 62d8a6f44d Let plugins choose the priority order of their events (#2973) Oleh Prypin 2022-09-14 17:33:06 +02:00
  • 283c36250d Merge pull request #2927 from mkdocs/edit-uri Oleh Prypin 2022-09-12 22:59:34 +02:00
  • e44134797b on_startup: also pass a boolean dirty to detect --dirtyreload Oleh Prypin 2022-09-11 21:22:18 +02:00
  • a56ac6e051 Add plugin events that persist across builds in mkdocs serve Oleh Prypin 2022-09-11 20:04:10 +02:00
  • 4d4ef4c8f7 Add docs and tests for edit_uri_template option Oleh Prypin 2022-09-09 23:53:06 +02:00
  • 4fcbdd3d3c Refactor test_page_edit_url Oleh Prypin 2022-09-09 23:16:48 +02:00
  • ad43f1b8b7 Add edit_uri_template config Oleh Prypin 2022-08-16 00:39:21 +02:00
  • 287a11dc60 Refactor relationship between repo_url, repo_name, edit_uri Oleh Prypin 2022-08-13 10:33:36 +02:00
  • 9ac7322b00 Fix get_schema to preserve the definition order Oleh Prypin 2022-09-09 22:13:11 +02:00
  • 5b853510ee Restore listening on 'localhost' host - fix for previous commit Oleh Prypin 2022-09-07 18:40:43 +02:00
  • 53e1ab871a Support listening on an IPv6 address Oleh Prypin 2022-09-07 18:27:51 +02:00
  • df3739d519 Add a lot more type annotations, fix new type warnings (#2970) Oleh Prypin 2022-09-07 18:04:39 +02:00
  • 0f839c0679 Speed up some tests by caching the initial loading Oleh Prypin 2022-09-06 01:37:32 +02:00
  • 2a5db31ea0 Resolve import issues when running individual test files Oleh Prypin 2022-09-06 00:39:32 +02:00
  • bd3bdecafd Merge pull request #2963 from mkdocs/cfgtest Oleh Prypin 2022-09-06 00:24:56 +02:00
  • 3fd48806aa Refactor config_options_tests to use less implementation details Oleh Prypin 2022-09-04 23:26:45 +02:00
  • 5f101e8d48 Fix and simplify config_options.Deprecated moved_to Oleh Prypin 2022-09-05 00:48:46 +02:00
  • 13b9c0dbd1 Refactor tests for ConfigOption errors Oleh Prypin 2022-09-04 17:35:24 +02:00
  • 49a80bd583 Remove empty line at the beginning of def body Oleh Prypin 2022-09-03 13:40:01 +02:00
  • b53e167ad1 Refactor test setup for temporary directories Oleh Prypin 2022-09-03 13:19:56 +02:00
  • 88df80e1f4 Test logs more, disallow stray warnings Oleh Prypin 2022-09-03 01:17:22 +02:00
  • 957b874e60 Let plugins write directly into site_dir Oleh Prypin 2022-09-02 23:19:26 +02:00
  • 52b8e80b9d Use monotonic clock to measure time Oleh Prypin 2022-09-02 23:07:29 +02:00
  • 3c917bbf18 Merge pull request #2938 from mkdocs/reconfig Oleh Prypin 2022-09-02 20:49:34 +02:00
  • 140fc78ddb Add basic type annotations to ConfigOption constructors Oleh Prypin 2022-09-01 20:26:46 +02:00
  • 2c07e443c6 Extract a PlainConfigSchema alias Oleh Prypin 2022-08-21 00:22:32 +02:00
  • 482dd90806 Use classes as containers for config schemas, no functional change Oleh Prypin 2022-08-20 22:31:36 +02:00
  • 9077b9417d Enforce mypy no-implicit-optional Oleh Prypin 2022-09-02 01:35:33 +02:00
  • 4ada758a79 Avoid importlib_metadata dependency since Python 3.10 (#2959) Timothée Mazzucotelli 2022-09-01 23:44:35 +02:00
  • 3896a82ebf Merge pull request #2948 from mkdocs/drop Oleh Prypin 2022-08-24 09:39:40 +02:00
  • 3035ad18f1 Cleanup: replace unnecessary list comprehensions (#2949) Oleh Prypin 2022-08-23 22:39:40 +02:00
  • 8549d0f362 Replace annotations that previously had to be strings Oleh Prypin 2022-08-23 21:28:48 +02:00
  • 5f5ba07db8 from __future__ import annotations everywhere Oleh Prypin 2022-08-08 21:55:39 +02:00
  • f7307905d4 Drop support for Python 3.6. It's EOL Oleh Prypin 2022-08-23 18:52:56 +02:00
  • 5125061d82 Make the class of IpAddress' value permanent Oleh Prypin 2022-08-22 21:16:43 +02:00
  • 5472cfdb53 Refactor: move default.copy() logic to the BaseConfigOption class Oleh Prypin 2022-08-22 21:28:51 +02:00
  • ee844242d1 Add generic ListOfItems config, refactor existing configs based on it Oleh Prypin 2022-08-23 01:05:23 +02:00
  • b608bb32fb A SubConfig (as a ConfigOption) shouldn't raise ConfigurationError Oleh Prypin 2022-08-23 01:06:18 +02:00
  • dd3ff6ba08 Remove BaseConfigOption.is_required(), it's never used Oleh Prypin 2022-08-23 01:20:27 +02:00
  • f0bf5a540e Earlier error handling for Choice Oleh Prypin 2022-08-22 21:28:46 +02:00
  • 2c986996d0 MarkdownExtensions' default is an empty list Oleh Prypin 2022-08-20 20:49:15 +02:00
  • aafd308660 Make FilesystemObject non-abstract and split out DocsDir from Dir Oleh Prypin 2022-08-16 20:19:30 +02:00
  • d91d4f3928 It's no problem to reuse the global schema object Oleh Prypin 2022-08-16 20:20:47 +02:00
  • e485278b55 Update zh_CN translations of themes (#2947) xingkong 2022-08-23 05:20:34 +08:00
  • 799ec22d28 Fix to type annotation Oleh Prypin 2022-08-21 20:08:32 +02:00
  • 901f6ffa1d Fixup for API docs: these toc entries were not intended Oleh Prypin 2022-08-21 19:44:53 +02:00
  • 6897d1d4fa Add Turkish (Turkey) language support to themes (#2946) mss1451 2022-08-21 20:37:32 +03:00
  • 90e85f9fae Enforce 'mypy' type checker, add py.typed (#2941) Oleh Prypin 2022-08-21 18:51:17 +02:00
  • 382e97af6c Change back to non-static event methods, but delete the defs (#2944) Oleh Prypin 2022-08-21 17:31:36 +02:00
  • 92611dc633 Slim down the CI test matrix (#2942) Oleh Prypin 2022-08-21 17:16:13 +02:00
  • 2a06ece80a Synchronize requirements files, reduce deps installation for lint (#2943) Oleh Prypin 2022-08-21 17:15:46 +02:00
  • edb646621c Fix event name typo in diagram Oleh Prypin 2022-08-21 17:11:49 +02:00
  • a4f7298f8f Misc type fixes according to mypy Oleh Prypin 2022-08-20 21:55:49 +02:00
  • fb5be39ee3 Misc type fixes according to mypy (#2940) Oleh Prypin 2022-08-20 20:45:08 +02:00
  • b1c140c6ca Add a link to best-of-mkdocs in the readme (#2824) Timothée Mazzucotelli 2022-08-19 23:19:52 +02:00
  • 9c0a8e50b1 Move some documentation into code, add misc API docs page (#2934) Oleh Prypin 2022-08-17 18:07:10 +02:00
  • 6b8b5e861b Revert to the explicit way of registering plugins' methods (#2937) Oleh Prypin 2022-08-17 18:05:10 +02:00
  • c5619dbade SubConfig: allow to actually validate the nested configs (#2807) Sylvain Marié 2022-08-17 18:03:15 +02:00
  • 7c44a09c03 Update gitignore Oleh Prypin 2022-08-15 23:37:14 +02:00
  • ca9c8c1a60 Allow an empty repo_url when still specifying a edit_uri (#2928) Oleh Prypin 2022-08-15 18:54:26 +02:00
  • 54db3df2e7 Fix deprecated field in setuptools (#2933) Oleh Prypin 2022-08-15 17:36:48 +02:00
  • 82a8b2fc02 Merge pull request #2930 from oprypin/slash Oleh Prypin 2022-08-15 16:45:29 +02:00
  • 7837d351c7 Add warnings about \ for create_media_urls and normalize_url Oleh Prypin 2022-08-15 16:11:59 +02:00
  • 0b58cce84d Cache src_uris Oleh Prypin 2022-08-15 13:47:24 +02:00
  • 1c50987f9c Refactor URI handling to not have to deal with backslashes Oleh Prypin 2022-08-14 10:12:25 +02:00
  • 70f39d4f63 Merge pull request #2931 from mkdocs/docplug Oleh Prypin 2022-08-15 13:04:32 +02:00
  • 12841f1aa5 Add type annotations for plugin events, include them in the docs Oleh Prypin 2022-08-14 17:21:33 +02:00
  • f79b34d174 Move plugin events docs into source code + refactor Oleh Prypin 2021-04-30 22:17:48 +02:00
  • 5b87ba9971 Drop py36 integration tests Oleh Prypin 2022-08-14 18:07:44 +02:00
  • f772a30534 Refactor tests to use subTest (#2929) Oleh Prypin 2022-08-13 19:03:13 +02:00
  • 0c1e8c1f6e Bugfix for commit "Deduplicate test_nested_page_edit_url" Oleh Prypin 2022-08-13 17:33:11 +02:00
  • 6e3ee0e753 Deduplicate test_nested_page_edit_url Oleh Prypin 2022-08-13 12:30:59 +02:00
  • af8342e90b Enable "Edit on GitHub" for own site Oleh Prypin 2022-08-13 12:18:49 +02:00
  • c7111b2cee Fix and refactor a convoluted test (#2921) Oleh Prypin 2022-08-10 08:37:01 +02:00
  • 0437b7f853 Merge pull request #2918 from oprypin/isort Oleh Prypin 2022-08-09 17:38:06 +02:00
  • a66a7ba474 Enforce 'isort' formatter Oleh Prypin 2022-08-08 21:41:52 +02:00
  • d6375e5413 Re-format code with isort Oleh Prypin 2022-08-08 21:42:23 +02:00
  • bb91bcd76d Rework SubConfig so it doesn't share mutable state (#2916) Oleh Prypin 2022-08-08 19:30:08 +02:00
  • 98672b85f6 Fix for lingering mdx_configs across separate Config instances (#2290) Oleh Prypin 2022-08-08 19:21:17 +02:00
  • d6bfb1bc6f Merge pull request #2913 from oprypin/black Oleh Prypin 2022-08-08 18:54:58 +02:00
  • de5436fbc8 Stop checking diffs in translation files in CI (#2917) Oleh Prypin 2022-08-08 18:50:28 +02:00