mirror of
https://github.com/django-components/django-components.git
synced 2025-09-19 20:29:44 +00:00
Deployed bb5de86
to dev with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
parent
352d612e83
commit
ca8d66e100
11 changed files with 56 additions and 43 deletions
File diff suppressed because one or more lines are too long
BIN
dev/objects.inv
BIN
dev/objects.inv
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -201,6 +201,12 @@ def gen_reference_components():
|
|||
# If the component classes define any extra methods, we want to show them.
|
||||
# BUT, we don't to show the methods that belong to the base Component class.
|
||||
unique_methods = _get_unique_methods(Component, obj)
|
||||
|
||||
# NOTE: `class_id` is declared on the `Component` class, only as a type,
|
||||
# so it's not picked up by `_get_unique_methods`.
|
||||
if "class_id" in unique_methods:
|
||||
unique_methods.remove("class_id")
|
||||
|
||||
if unique_methods:
|
||||
members = ", ".join(unique_methods)
|
||||
members = f"[{unique_methods}]"
|
||||
|
@ -456,7 +462,7 @@ def gen_reference_urls():
|
|||
f.write(preface + "\n\n")
|
||||
|
||||
# Simply list all URLs, e.g.
|
||||
# `- components/cache/<str:comp_cls_hash>.<str:script_type>/`
|
||||
# `- components/cache/<str:comp_cls_id>.<str:script_type>/`
|
||||
f.write("\n".join([f"- `{url_path}`\n" for url_path in all_urls]))
|
||||
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"version": "dev",
|
||||
"title": "dev (a49f5e5)",
|
||||
"title": "dev (bb5de86)",
|
||||
"aliases": []
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue