split the docs in docs/source/rbac folder

This commit is contained in:
IvanaH8
2021-02-15 16:19:13 +01:00
parent be34146d29
commit 7d1b6a2021
10 changed files with 240 additions and 60 deletions

View File

@@ -53,11 +53,6 @@ todo_include_todos = False
# Set the default role so we can use `foo` instead of ``foo``
default_role = 'literal'
# -- Source -------------------------------------------------------------
import recommonmark
from recommonmark.transform import AutoStructify
# -- Config -------------------------------------------------------------
from jupyterhub.app import JupyterHub
from docutils import nodes
@@ -112,9 +107,7 @@ class HelpAllDirective(SphinxDirective):
def setup(app):
# app.add_config_value('recommonmark_config', {'enable_eval_rst': True}, True)
app.add_css_file('custom.css')
# app.add_transform(AutoStructify)
app.add_directive('jupyterhub-generate-config', ConfigDirective)
app.add_directive('jupyterhub-help-all', HelpAllDirective)