Skip to content

Commit

Permalink
[docs] comment out mmf references (#80)
Browse files Browse the repository at this point in the history
Also updated canonical_url to be fairscale.
Also removed unnecessary htmi_theme_path.
  • Loading branch information
msbaines authored Sep 11, 2020
1 parent dda2399 commit 61aac92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<meta property="og:title" content="{{ title|striptags|e }}{{ titlesuffix }}">
<meta name="description" content="{{ theme_variables.og['description'] }}">
<meta property="og:description" content="{{ theme_variables.og['description'] }}">
<meta property="og:image" content="https://mmf.sh/img/logo.png">
<meta property="twitter:image" content="https://mmf.sh/img/logo.png">
<!--<meta property="og:image" content="https://mmf.sh/img/logo.png">-->
<!--<meta property="twitter:image" content="https://mmf.sh/img/logo.png">-->
<meta name="twitter:image:alt" content="Image for fairscale">
<meta name="twitter:card" content="summary_large_image">
{# CSS #}
Expand Down
5 changes: 1 addition & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("../.."))
Expand Down Expand Up @@ -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,
Expand All @@ -64,7 +61,7 @@
#
html_theme_options = {
"includehidden": False,
"canonical_url": "https://mmf.sh/api/",
"canonical_url": "https://fairscale.readthedocs.io",
"pytorch_project": "docs",
}

Expand Down

0 comments on commit 61aac92

Please sign in to comment.