kopia lustrzana https://github.com/halcy/Mastodon.py
Document "rules" attribute, make docs maybe a bit better
rodzic
31a00f07c1
commit
8d6177c07e
|
@ -134,7 +134,10 @@ todo_include_todos = False
|
|||
# further. For a list of options available for each theme, see the
|
||||
# documentation.
|
||||
#
|
||||
# html_theme_options = {}
|
||||
html_theme_options = {
|
||||
"collapse_navigation": False,
|
||||
"navigation_depth": -1
|
||||
}
|
||||
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
# html_theme_path = []
|
||||
|
|
|
@ -687,7 +687,8 @@ Instance dicts
|
|||
# has chosen to advertise.
|
||||
'registrations': # Boolean indication whether registrations on this instance are open
|
||||
# (True) or not (False)
|
||||
'approval_required': # True if account approval is required when registering
|
||||
'approval_required': # True if account approval is required when registering,
|
||||
'rules': # List of dicts with `id` and `text` fields, one for each server rule set by the admin
|
||||
}
|
||||
|
||||
Activity dicts
|
||||
|
|
|
@ -225,7 +225,7 @@ class Mastodon:
|
|||
__DICT_VERSION_POLL = "2.8.0"
|
||||
__DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version(
|
||||
"3.1.0", __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL)
|
||||
__DICT_VERSION_INSTANCE = bigger_version("3.1.4", __DICT_VERSION_ACCOUNT)
|
||||
__DICT_VERSION_INSTANCE = bigger_version("3.4.0", __DICT_VERSION_ACCOUNT)
|
||||
__DICT_VERSION_HASHTAG = "2.3.4"
|
||||
__DICT_VERSION_EMOJI = "3.0.0"
|
||||
__DICT_VERSION_RELATIONSHIP = "3.3.0"
|
||||
|
|
Ładowanie…
Reference in New Issue