pdoc 15.0.0__tar.gz → 15.0.1__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 (74) hide show
  1. {pdoc-15.0.0 → pdoc-15.0.1}/CHANGELOG.md +6 -1
  2. {pdoc-15.0.0/pdoc.egg-info → pdoc-15.0.1}/PKG-INFO +1 -1
  3. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/__init__.py +1 -1
  4. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/doc.py +1 -1
  5. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/mermaid.html.jinja2 +1 -1
  6. {pdoc-15.0.0 → pdoc-15.0.1/pdoc.egg-info}/PKG-INFO +1 -1
  7. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_smoke.py +1 -1
  8. {pdoc-15.0.0 → pdoc-15.0.1}/LICENSE +0 -0
  9. {pdoc-15.0.0 → pdoc-15.0.1}/MANIFEST.in +0 -0
  10. {pdoc-15.0.0 → pdoc-15.0.1}/README.md +0 -0
  11. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/__main__.py +0 -0
  12. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/_compat.py +0 -0
  13. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/doc_ast.py +0 -0
  14. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/doc_pyi.py +0 -0
  15. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/doc_types.py +0 -0
  16. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/docstrings.py +0 -0
  17. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/extract.py +0 -0
  18. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/markdown2/LICENSE +0 -0
  19. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/markdown2/README.md +0 -0
  20. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/markdown2/__init__.py +0 -0
  21. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/py.typed +0 -0
  22. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/render.py +0 -0
  23. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/render_helpers.py +0 -0
  24. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/search.py +0 -0
  25. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/README.md +0 -0
  26. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/build-search-index.js +0 -0
  27. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/content.css +0 -0
  28. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/custom.css +0 -0
  29. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/default/error.html.jinja2 +0 -0
  30. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/default/frame.html.jinja2 +0 -0
  31. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/default/index.html.jinja2 +0 -0
  32. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/default/module.html.jinja2 +0 -0
  33. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/deprecated/README.md +0 -0
  34. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/deprecated/bootstrap-reboot.min.css +0 -0
  35. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/deprecated/box-arrow-in-left.svg +0 -0
  36. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/deprecated/elasticlunr.min.js +0 -0
  37. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/deprecated/favicon.svg +0 -0
  38. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/deprecated/navtoggle.svg +0 -0
  39. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/deprecated/pdoc-logo.svg +0 -0
  40. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/deprecated/resources/favicon.svg +0 -0
  41. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/layout.css +0 -0
  42. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/livereload.html.jinja2 +0 -0
  43. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/math.html.jinja2 +0 -0
  44. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/resources/bootstrap-reboot.min.css +0 -0
  45. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/resources/box-arrow-in-left.svg +0 -0
  46. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/resources/elasticlunr.min.js +0 -0
  47. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/resources/exclamation-triangle-fill.svg +0 -0
  48. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/resources/info-circle-fill.svg +0 -0
  49. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/resources/lightning-fill.svg +0 -0
  50. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/resources/navtoggle.svg +0 -0
  51. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/resources/pdoc-logo.svg +0 -0
  52. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/search.html.jinja2 +0 -0
  53. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/search.js.jinja2 +0 -0
  54. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/syntax-highlighting.css +0 -0
  55. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/templates/theme.css +0 -0
  56. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc/web.py +0 -0
  57. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc.egg-info/SOURCES.txt +0 -0
  58. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc.egg-info/dependency_links.txt +0 -0
  59. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc.egg-info/entry_points.txt +0 -0
  60. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc.egg-info/requires.txt +0 -0
  61. {pdoc-15.0.0 → pdoc-15.0.1}/pdoc.egg-info/top_level.txt +0 -0
  62. {pdoc-15.0.0 → pdoc-15.0.1}/pyproject.toml +0 -0
  63. {pdoc-15.0.0 → pdoc-15.0.1}/setup.cfg +0 -0
  64. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_doc.py +0 -0
  65. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_doc_ast.py +0 -0
  66. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_doc_pyi.py +0 -0
  67. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_doc_types.py +0 -0
  68. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_docstrings.py +0 -0
  69. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_extract.py +0 -0
  70. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_main.py +0 -0
  71. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_render_helpers.py +0 -0
  72. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_search.py +0 -0
  73. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_snapshot.py +0 -0
  74. {pdoc-15.0.0 → pdoc-15.0.1}/test/test_web.py +0 -0
@@ -5,12 +5,17 @@
5
5
  ## Unreleased: pdoc next
6
6
 
7
7
 
8
+ ## 2024-12-12: pdoc 15.0.1
9
+
10
+ - Update Mermaid.js version.
11
+ ([#763](https://github.com/mitmproxy/pdoc/pull/763), @CodeMelted)
12
+
8
13
  ## 2024-10-11: pdoc 15.0.0
9
14
 
10
15
  - Remove support for Python 3.8, which has reached end-of-life on 2024-10-07.
11
16
  ([#747](https://github.com/mitmproxy/pdoc/pull/747), @mhils)
12
17
  - Inherited members are now hidden by default if the base class is not part of the documentation.
13
- Please make yourself heard in https://github.com/mitmproxy/pdoc/issues/715 if you relied on the old behavior.
18
+ Please provide feedback in the PR if you relied on the old behavior.
14
19
  ([#748](https://github.com/mitmproxy/pdoc/pull/748), @mhils)
15
20
  - Python 3.13: `@deprecated` decorators are now rendered with visual emphasis.
16
21
  ([#750](https://github.com/mitmproxy/pdoc/pull/750), @mhils)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pdoc
3
- Version: 15.0.0
3
+ Version: 15.0.1
4
4
  Summary: API Documentation for Python Projects
5
5
  Author-email: Maximilian Hils <pdoc@maximilianhils.com>
6
6
  License: MIT-0
@@ -481,7 +481,7 @@ You can find an example in [`examples/library-usage`](https://github.com/mitmpro
481
481
  from __future__ import annotations
482
482
 
483
483
  __docformat__ = "markdown" # explicitly disable rST processing in the examples above.
484
- __version__ = "15.0.0" # this is read from setup.py
484
+ __version__ = "15.0.1" # this is read from setup.py
485
485
 
486
486
  from pathlib import Path
487
487
  from typing import overload
@@ -445,7 +445,7 @@ class Module(Namespace[types.ModuleType]):
445
445
 
446
446
  mod = _safe_getattr(obj, "__module__", None)
447
447
  qual = _safe_getattr(obj, "__qualname__", None)
448
- if mod and qual and "<locals>" not in qual:
448
+ if mod and isinstance(qual, str) and "<locals>" not in qual:
449
449
  return mod, qual
450
450
  else:
451
451
  # This might be wrong, but it's the best guess we have.
@@ -6,7 +6,7 @@
6
6
  }
7
7
  </style>
8
8
  <script type="module" defer>
9
- import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";
9
+ import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs";
10
10
 
11
11
  /* Re-invoke Mermaid when DOM content changes, for example during search. */
12
12
  document.addEventListener("DOMContentLoaded", () => {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pdoc
3
- Version: 15.0.0
3
+ Version: 15.0.1
4
4
  Summary: API Documentation for Python Projects
5
5
  Author-email: Maximilian Hils <pdoc@maximilianhils.com>
6
6
  License: MIT-0
@@ -12,7 +12,7 @@ modules = [
12
12
  m.name
13
13
  for m in pkgutil.iter_modules()
14
14
  if not m.name.startswith("_") and m.name not in ("test", "idlelib", "py")
15
- ]
15
+ ] + ["unittest.mock"]
16
16
 
17
17
 
18
18
  @pytest.mark.slow
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes