diff --git a/.binder/requirements.txt b/.binder/requirements.txt new file mode 100644 index 000000000..e28efe081 --- /dev/null +++ b/.binder/requirements.txt @@ -0,0 +1,4 @@ +numpy>=1.17.2 +pandas>=0.25.1 +scikit-learn>=0.22.1 +scipy>=1.4.1 diff --git a/docs/conf.py b/docs/conf.py index dd3138e8e..c8747dbfb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -97,6 +97,7 @@ # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "README.rst"] + master_doc = "index" if fairlearn.__version__ == "0.4.6": @@ -182,6 +183,15 @@ "gallery_dirs": "auto_examples", # pypandoc enables rst to md conversion in downloadable notebooks "pypandoc": True, + # binder configuration is used to ru + "binder": { + "org": "fairlearn", + "repo": "fairlearn", + "binderhub_url": "https://mybinder.org", + "branch": "main", + "dependencies": ["../.binder/requirements.txt"], + "use_jupyter_lab": True, + }, } html_sidebars = {