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 740fa6db1..55fc70417 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -100,6 +100,7 @@ # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "README.rst"] + master_doc = "index" # -- Options for HTML output ------------------------------------------------- @@ -181,6 +182,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, + }, "backreferences_dir": os.path.join("modules", "generated"), "doc_module": ("fairlearn",), }