pydata-sphinx-theme icon indicating copy to clipboard operation
pydata-sphinx-theme copied to clipboard

when the version switcher json is malformed no error is send

Open 12rambau opened this issue 1 year ago • 0 comments

My version switcher was malformed but no error was sent when I build my documentation.

there were a missing "," as here:

[
    {
        "name": "main",
        "version": "latest",
        "url": "https://sepal-ui.readthedocs.io/en/latest/"
    }
    {
        "name": "2.10.1 (stable)", 
        "version": "v_2.10.1",
        "url": "https://sepal-ui.readthedocs.io/en/v_2.10.1"
    },
    {
        "name": "2.9.4", 
        "version": "v_2.9.4",
        "url": "https://sepal-ui.readthedocs.io/en/v_2.9.4"
    }
]

12rambau avatar Aug 29 '22 19:08 12rambau