Repository: heavyai/rbc (language: python)

Issue:
Documentation reorganization
We have 3 documentations–and some notebooks around: 

* https://rbc.readthedocs.io/en/latest/?badge=latest
* https://xnd-project.gitbook.io/rbc/
* OmniSci gitbook

I suggest we merge the resources into a single document. Doing so, I also propose to move to the [pydata-sphinx-theme](https://pydata-sphinx-theme.readthedocs.io/en/latest/) used by the pydata/scientific python community. This would modernise the look and feel and be more inviting for newcomers coming/used to these external projects.
Autodoc array-api functions
Fixes #421 


Discussion / hints:

Hi @guilhermeleobas! Add at least one of the required labels to this PR 

 Required labels are : deprecation, enhancement, bug, documentation, tests, notebook
Hi @guilhermeleobas! Add at least one of the required labels to this PR 

 Required labels are : deprecation, enhancement, bug, documentation, tests, notebook
Hi @guilhermeleobas! Add at least one of the required labels to this PR 

 Required labels are : deprecation, enhancement, bug, documentation, tests, notebook
Let me know if you need help with the theme part.
> Let me know if you need help with the theme part.

That would be good. Thanks Pamphile

Fix patch:
diff --git a/doc/conf.py b/doc/conf.py
index 52df590a..285f233d 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -14,14 +14,14 @@
 #
 import os
 import sys
-import datetime
+from datetime import date
 from rbc import __version__
 
 
 # -- Project information -----------------------------------------------------
 
 project = 'RBC'
-copyright = '2018-%s, Xnd-Project Developers' % datetime.datetime.now().year
+copyright = f'2018-{date.today().year}, Quansight RBC Developers'
 author = 'Xnd-Project Developers'
 
 # The version info for the project you're documenting, acts as replacement for
@@ -53,7 +53,6 @@
     'sphinx.ext.napoleon',
     'sphinx.ext.autosectionlabel',
     'sphinx_autodoc_typehints',
-    'sphinx_rtd_theme',
     'numbadoc',
 ]
 
@@ -67,9 +66,6 @@
 napoleon_google_docstring = False
 napoleon_numpy_docstring = True
 
-# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = "sphinx"
-
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
 
@@ -84,19 +80,20 @@
 # 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 = 'pydata_sphinx_theme'
+
+# The Xnd logo
+html_logo = "images/xndlogo.png"
 
 html_theme_options = {
-    # 'html_baseurl': 'https://xnd.io/',
-    'analytics_id': '',
-    'logo_only': False,
-    'display_version': True,
-    'prev_next_buttons_location': 'bottom',
-    # Toc options
-    'collapse_navigation': True,
-    'sticky_navigation': True,
-    # 'navigation_depth': 4,
+    "logo_link": "index",
+    "github_url": "https://github.com/xnd-project/rbc",
+    "use_edit_page_button": True,
 }
 
-# The Xnd logo
-html_logo = "images/xndlogo.png"
+html_context = {
+    "github_user": "xnd-project",
+    "github_repo": "rbc",
+    "github_version": "master",
+    "doc_path": "doc",
+}


Test patch:
diff --git a/test_requirements.txt b/test_requirements.txt
index b1579743..5030405f 100644
--- a/test_requirements.txt
+++ b/test_requirements.txt
@@ -6,3 +6,4 @@ thriftpy2
 six
 netifaces
 sphinx_autodoc_typehints
+pydata-sphinx-theme>=0.8.0