From 8d6177c07eae5a61fede1ef78ba20b9a74ddb312 Mon Sep 17 00:00:00 2001 From: halcy Date: Sat, 19 Nov 2022 00:28:25 +0200 Subject: Document "rules" attribute, make docs maybe a bit better --- docs/conf.py | 5 ++++- docs/index.rst | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'docs') 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 # 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 = [] 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 # 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 -- cgit v1.2.3