mkdocstrings-github 0.7.0__py3-none-any.whl → 0.7.1__py3-none-any.whl
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.
- {mkdocstrings_github-0.7.0.dist-info → mkdocstrings_github-0.7.1.dist-info}/METADATA +1 -1
- {mkdocstrings_github-0.7.0.dist-info → mkdocstrings_github-0.7.1.dist-info}/RECORD +5 -5
- mkdocstrings_handlers/github/handler.py +7 -3
- {mkdocstrings_github-0.7.0.dist-info → mkdocstrings_github-0.7.1.dist-info}/WHEEL +0 -0
- {mkdocstrings_github-0.7.0.dist-info → mkdocstrings_github-0.7.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
mkdocstrings_handlers/github/__init__.py,sha256=0WdFUIq4Xu2ZFtlZNIYCQSoqcx3Ot9Wv41_X_dwbFww,248
|
|
2
2
|
mkdocstrings_handlers/github/config.py,sha256=G__jcRZkhltdwwh1YJWbx9xEdblF9mTc4_L1NEWE6Bw,7873
|
|
3
|
-
mkdocstrings_handlers/github/handler.py,sha256=
|
|
3
|
+
mkdocstrings_handlers/github/handler.py,sha256=xRT_GEcbcko5sqtj3eLqsPW2cFsLY4xImw-_K-GhwLE,8966
|
|
4
4
|
mkdocstrings_handlers/github/objects.py,sha256=2gKgrkkyBem3a0MUpffAH5C5asLk8Dqgqf6ntZuTxCo,9317
|
|
5
5
|
mkdocstrings_handlers/github/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
mkdocstrings_handlers/github/rendering.py,sha256=N92Gbm9Qi4I2EZC69JsEixO1AdHuf1du9isJNXG4vhQ,7192
|
|
@@ -12,7 +12,7 @@ mkdocstrings_handlers/github/templates/material/outputs.html.jinja,sha256=Z9QD1K
|
|
|
12
12
|
mkdocstrings_handlers/github/templates/material/secrets.html.jinja,sha256=jQ_HaG2ivbZTH74pyV4BAFGQu5Vn03kA_vaEbTSABds,2839
|
|
13
13
|
mkdocstrings_handlers/github/templates/material/style.css,sha256=Nfmds-xHtPJ_IzOv5svA7ih5talHDTiQryN_n0DGdZs,1553
|
|
14
14
|
mkdocstrings_handlers/github/templates/material/workflow.html.jinja,sha256=VS3AqT0OgX6QPFCwN63tULM9tC4t6FGtOoVCixQGPl4,4543
|
|
15
|
-
mkdocstrings_github-0.7.
|
|
16
|
-
mkdocstrings_github-0.7.
|
|
17
|
-
mkdocstrings_github-0.7.
|
|
18
|
-
mkdocstrings_github-0.7.
|
|
15
|
+
mkdocstrings_github-0.7.1.dist-info/METADATA,sha256=6_amp3l5Ca4j7xDcyPTV8x7LfkQwRcK-9xuVsUu6Pzc,4052
|
|
16
|
+
mkdocstrings_github-0.7.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
17
|
+
mkdocstrings_github-0.7.1.dist-info/licenses/LICENSE,sha256=5enZtJ4zSp0Ps3jTqFQ4kadcx62BhgTaDNPrXWb3g3E,1069
|
|
18
|
+
mkdocstrings_github-0.7.1.dist-info/RECORD,,
|
|
@@ -236,11 +236,15 @@ def get_handler(
|
|
|
236
236
|
Returns:
|
|
237
237
|
GitHubHandler: An instance of GitHubHandler configured with the provided parameters.
|
|
238
238
|
"""
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
if tool_config.config_file_path is None:
|
|
240
|
+
root = Path.cwd()
|
|
241
|
+
else:
|
|
242
|
+
root = Path(tool_config.config_file_path).parent
|
|
243
|
+
repo = git.Repo(path=root, search_parent_directories=True)
|
|
244
|
+
config = GitHubConfig(**handler_config)
|
|
241
245
|
|
|
242
246
|
return GitHubHandler(
|
|
243
|
-
config=
|
|
247
|
+
config=config,
|
|
244
248
|
repo=repo,
|
|
245
249
|
**kwargs,
|
|
246
250
|
)
|
|
File without changes
|
{mkdocstrings_github-0.7.0.dist-info → mkdocstrings_github-0.7.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|