From 61aac92ab7e06c0bcfbe6140e875b88359bddfa1 Mon Sep 17 00:00:00 2001
From: msbaines <35972327+msbaines@users.noreply.github.com>
Date: Fri, 11 Sep 2020 12:59:39 -0700
Subject: [PATCH] [docs] comment out mmf references (#80)
Also updated canonical_url to be fairscale.
Also removed unnecessary htmi_theme_path.
---
docs/source/_templates/layout.html | 4 ++--
docs/source/conf.py | 5 +----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html
index aba6dda80..4de85a4cd 100644
--- a/docs/source/_templates/layout.html
+++ b/docs/source/_templates/layout.html
@@ -30,8 +30,8 @@
-
-
+
+
{# CSS #}
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 80318fed4..cd31da8c4 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -16,8 +16,6 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
-# At the bottom of conf.py
-import pytorch_sphinx_theme
from recommonmark.transform import AutoStructify
sys.path.insert(0, os.path.abspath("../.."))
@@ -54,7 +52,6 @@
html_theme = "pytorch_sphinx_theme"
-html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()]
templates_path = ["_templates"]
# Add any paths that contain custom static files (such as style sheets) here,
@@ -64,7 +61,7 @@
#
html_theme_options = {
"includehidden": False,
- "canonical_url": "https://mmf.sh/api/",
+ "canonical_url": "https://fairscale.readthedocs.io",
"pytorch_project": "docs",
}