jupyterhub / kubespawner

Kubernetes spawner for JupyterHub
https://jupyterhub-kubespawner.readthedocs.io
BSD 3-Clause "New" or "Revised" License
541 stars 303 forks source link

API docs for `profile_form_template` is confusingly rendered #690

Open manics opened 1 year ago

manics commented 1 year ago

Bug description

https://jupyterhub-kubespawner.readthedocs.io/en/latest/spawner.html#kubespawner.KubeSpawner.profile_form_template

image

This isn't due to the rst2myst transition, it's also present in the older docs https://jupyterhub-kubespawner.readthedocs.io/en/3.0.2/spawner.html#kubespawner.KubeSpawner.profile_form_template

Expected behaviour

Ideally this would be formatted as code, similar to the original content https://github.com/jupyterhub/kubespawner/blob/3f8e72ccd0b2097fb7e78b4a11c967ceb6af193f/kubespawner/spawner.py#L1507-L1570

Actual behaviour

See screenshot

How to reproduce

N/A

Your personal set up

N/A