Skip to content

Commit e45d4c4

Browse files
JKSenthilfacebook-github-bot
authored andcommitted
update docs to recommend Mitra (#941)
Summary: Pull Request resolved: #941 Reviewed By: diego-urgell Differential Revision: D65346270 fbshipit-source-id: 4a3e16686daf478751fdb29a8b9e21c2923e6eae
1 parent 47dd603 commit e45d4c4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/source/_static/css/torchtnt.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@
1212
#redirect-banner > p {
1313
margin: 0.8rem;
1414
text-align: center;
15+
font-weight: bold;
16+
color: red;
1517
}

docs/source/templates/layout.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,11 @@
88
<a href="https://www.internalfb.com/intern/staticdocs/torchtnt/">https://www.internalfb.com/intern/staticdocs/torchtnt/</a>
99
</p>
1010
</div>
11+
{% elif fbcode %}
12+
<div id="redirect-banner" style="display: none">
13+
<p>
14+
Using TorchTNT directly is discouraged. Instead please use Mitra, a training framework built on top of TorchTNT
15+
</p>
16+
</div>
1117
{% endif %}
1218
{%- endblock %}

0 commit comments

Comments
 (0)