aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-19 00:28:25 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-19 00:28:25 +0200
commit8d6177c07eae5a61fede1ef78ba20b9a74ddb312 (patch)
treea8c56229dbcaf237e0984562e6bf1264816284b0
parent31a00f07c19bf057bca0834f541eae581cd80a0c (diff)
downloadmastodon.py-8d6177c07eae5a61fede1ef78ba20b9a74ddb312.tar.gz
Document "rules" attribute, make docs maybe a bit better
-rw-r--r--docs/conf.py5
-rw-r--r--docs/index.rst3
-rw-r--r--mastodon/Mastodon.py2
3 files changed, 7 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index c6fc0fb..6198b9b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -134,7 +134,10 @@ todo_include_todos = False
134# further. For a list of options available for each theme, see the 134# further. For a list of options available for each theme, see the
135# documentation. 135# documentation.
136# 136#
137# html_theme_options = {} 137html_theme_options = {
138 "collapse_navigation": False,
139 "navigation_depth": -1
140}
138 141
139# Add any paths that contain custom themes here, relative to this directory. 142# Add any paths that contain custom themes here, relative to this directory.
140# html_theme_path = [] 143# html_theme_path = []
diff --git a/docs/index.rst b/docs/index.rst
index 7c4f200..1351b1a 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -687,7 +687,8 @@ Instance dicts
687 # has chosen to advertise. 687 # has chosen to advertise.
688 'registrations': # Boolean indication whether registrations on this instance are open 688 'registrations': # Boolean indication whether registrations on this instance are open
689 # (True) or not (False) 689 # (True) or not (False)
690 'approval_required': # True if account approval is required when registering 690 'approval_required': # True if account approval is required when registering,
691 'rules': # List of dicts with `id` and `text` fields, one for each server rule set by the admin
691 } 692 }
692 693
693Activity dicts 694Activity dicts
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index f49df83..4462253 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -225,7 +225,7 @@ class Mastodon:
225 __DICT_VERSION_POLL = "2.8.0" 225 __DICT_VERSION_POLL = "2.8.0"
226 __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version( 226 __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version(
227 "3.1.0", __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL) 227 "3.1.0", __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL)
228 __DICT_VERSION_INSTANCE = bigger_version("3.1.4", __DICT_VERSION_ACCOUNT) 228 __DICT_VERSION_INSTANCE = bigger_version("3.4.0", __DICT_VERSION_ACCOUNT)
229 __DICT_VERSION_HASHTAG = "2.3.4" 229 __DICT_VERSION_HASHTAG = "2.3.4"
230 __DICT_VERSION_EMOJI = "3.0.0" 230 __DICT_VERSION_EMOJI = "3.0.0"
231 __DICT_VERSION_RELATIONSHIP = "3.3.0" 231 __DICT_VERSION_RELATIONSHIP = "3.3.0"
Powered by cgit v1.2.3 (git 2.41.0)