Repository: openwisp/openwisp-radius (language: python)

Issue:
[docs] Switch to `openwisp-sphinx-theme`
We can now safely change the default `readthedocs` theme to newly released [openwisp-sphinx-theme.](https://github.com/openwisp/openwisp-sphinx-theme) 
[docs] Switch to `openwisp-sphinx-theme`
We can now safely change the default `readthedocs` theme to newly released [openwisp-sphinx-theme.](https://github.com/openwisp/openwisp-sphinx-theme) 


Discussion / hints:

Fix patch:
diff --git a/docs/source/_static/css/style.css b/docs/source/_static/css/style.css
deleted file mode 100644
index ee74b84a..00000000
--- a/docs/source/_static/css/style.css
+++ /dev/null
@@ -1,181 +0,0 @@
-/* Scrollbar */
-:root {
-  scrollbar-color: #777 #f1f1f1 !important;
-}
-body::-webkit-scrollbar {
-  width: 12px;
-}
-::-webkit-scrollbar {
-  width: 5px;
-}
-::-webkit-scrollbar-track {
-  background: #f1f1f1;
-}
-::-webkit-scrollbar-thumb {
-  background: #777;
-}
-::-webkit-scrollbar-thumb:hover {
-  background: #333;
-}
-.wy-side-nav-search>a.icon img.logo, .wy-side-nav-search .wy-dropdown>a.icon img.logo {
-  width: 200px;
-  height: 50px;
-}
-.wy-side-nav-search {
-  background-color: #f9f9f9;
-  margin-bottom: 5px;
-}
-.wy-nav-top {
-  background-color: #f9f9f9;
-}
-.wy-nav-top a{
-  color: #df5d43;
-}
-.wy-nav-top i{
-  color: #777;
-}
-.wy-nav-content a {
-  color: #df5d43;
-}
-.wy-nav-content a:hover {
-  color: #D32F2F;
-}
-.wy-nav-content a:visited {
-  color: #B71C1C;
-}
-.wy-nav-side {
-  background-color: #f9f9f9;
-}
-.wy-menu a {
-  color: #777;
-  padding: .5045em 1.618em;
-}
-.wy-menu a:hover {
-  color: #df5d43;
-  background-color: #ffe5e5 ;
-}
-.wy-menu-vertical li.current a{
-  border: 0;
-}
-.wy-menu a:active {
-  background-color: #fbe8e8;
-  color: #be472f;
-}
-.wy-side-nav-search input[type=text] {
-  border-color: #eee;
-  border-radius: 5px;
-  padding: 10px 12px 10px;
-  line-height: 14px;
-}
-.wy-side-nav-search input[type=text]:focus{
-  border: 1px solid rgb(0, 0, 0);
-}
-.wy-side-nav-search>div.version {
-  color: #9E9E9E;
-}
-.toctree-l1.current .current,
-.toctree-l1.current .current:hover {
-  background-color: #ffe5e5;
-  color: #df5d43;
-  border-top: 1px solid rgba(0, 0, 0, 0.1);
-  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
-}
-.wy-menu-vertical li.current ul {
-  background-color: #fdf2f2f2;
-}
-.wy-menu-vertical li:hover{
-  background-color: #ffe5e5;
-}
-.wy-menu-vertical li.current a {
-  color: #777;
-}
-.wy-menu-vertical li.current a:hover{
-  color: #df5d43;
-}
-.wy-menu-vertical li.toctree-l1.current[area-expanded="true"]{
-  color: #df5d43;
-  background-color: #ffe5e5;
-}
-.toctree-l1.current .current, .toctree-l1.current .current:hover{
-  border: 0;
-}
-.wy-menu-vertical li.toctree-l1.current>a{
-  border : 0;
-}
-.wy-menu-vertical li.toctree-l1.current>a:visited,
-.wy-menu-vertical li.toctree-l1.current>a:active{
-  color: #df5d43;
-  background-color: #ffe5e5;
-  border: 0;
-}
-.wy-menu-vertical li.toctree-l2.current>a:visited,
-.wy-menu-vertical li.toctree-l2.current>a:active{
-  color: #df5d43;
-  background-color: #ffe5e5;
-}
-.wy-menu-vertical li.toctree-l3.current>a:visited
-.wy-menu-vertical li.toctree-l3.current>a:active{
-  color: #df5d43;
-  background-color: #ffe5e5;
-}
-.wy-menu-vertical li.toctree-l2.current>a {
-  background-color: #ffe5e5;
-}
-.wy-menu-vertical li.current a:hover {
-  background-color: rgba(255, 255, 255, 0.1);
-}
-.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a{
-  background-color: #ffe5e5;
-}
-.wy-menu-vertical li.on a, .wy-menu-vertical li.current>a {
-  border: none;
-}
-.wy-menu-vertical li.toctree-l2 a:hover span.toctree-expand {
-  color: #a3a3a3;
-}
-.wy-menu-vertical li{
-  margin: -1px 0 -1px -1px;
-}
-.wy-menu-vertical li.current>a, .wy-menu-vertical li.on a{
-  color: #df5d43;
-  background-color: #ffe5e5;
-}
-.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a{
-  background-color: #fdf2f2f2;
-}
-.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a:hover{
-  background-color: #ffe5e5;
-}
-.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a[aria-expanded="true"]{
-  background-color: #ffe5e5;
-}
-.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a {
-  background: #fdf2f2f2;
-}
-.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a:hover {
-  background: #ffe5e5;
-}
-.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a[aria-expanded="true"]{
-  background: #ffe5e5;
-}
-  
-/* PREVIOUS & NEXT BTN */
-  
-body > div > section > div > div > footer > div.rst-footer-buttons > a.btn.btn-neutral.float-right{
-  color: #ffff !important;
-}
-body > div > section > div > div > footer > div.rst-footer-buttons > a.btn.btn-neutral.float-left{
-  color: #ffff !important;
-}
-.btn-neutral {
-  background-color: #333!important;
-}
-.btn-neutral:hover{
-  background-color: #999 !important;
-}
-.btn {
-  padding: 6px 12px 6px;
-}
-.icon.icon-home {
-  color: #333;
-}
diff --git a/docs/source/conf.py b/docs/source/conf.py
index e18c4265..b17b379b 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -34,7 +34,7 @@
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
-extensions = ['sphinx.ext.autodoc']
+extensions = ['sphinx.ext.autodoc', 'openwisp.sphinx.theme']
 
 # Add any paths that contain templates here, relative to this directory.
 # templates_path = ['_templates']
@@ -88,7 +88,9 @@
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-html_theme = 'sphinx_rtd_theme'
+html_theme = 'openwisp-sphinx-theme'
+html_favicon = 'assets/design/favicon.png'
+html_logo = 'assets/design/radius-logo-dark.svg'
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
@@ -99,13 +101,6 @@
 # so a file named "default.css" will overwrite the builtin "default.css".
 # html_static_path = ['_static']
 
-html_favicon = 'assets/design/favicon.png'
-html_static_path = ['_static']
-html_css_files = [
-    'css/style.css',
-]
-html_logo = 'assets/design/radius-logo-dark.svg'
-
 # -- Options for HTMLHelp output ------------------------------------------
 
 # Output file base name for HTML help builder.


Test patch:
diff --git a/requirements-test.txt b/requirements-test.txt
index 5e5a8e2e..ba27e94a 100644
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -3,8 +3,8 @@ djangorestframework-simplejwt
 django-cors-headers>=2.5.2
 redis~=3.5.0
 packaging
-sphinx_rtd_theme~=0.5.0
 sphinx~=4.2.0
+openwisp-sphinx-theme~=1.0.0
 freezegun
 django-extensions
 openwisp-utils[qa] @ https://github.com/openwisp/openwisp-utils/tarball/master