File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ def readthedocs_processor(request):
25
25
"USE_ORGANIZATIONS" : settings .RTD_ALLOW_ORGANIZATIONS ,
26
26
"SUPPORT_EMAIL" : settings .SUPPORT_EMAIL ,
27
27
"PUBLIC_API_URL" : settings .PUBLIC_API_URL ,
28
+ "RTD_EXT_THEME_ENABLED" : settings .RTD_EXT_THEME_ENABLED ,
28
29
}
29
30
return exports
30
31
Original file line number Diff line number Diff line change 29
29
body = _ (
30
30
textwrap .dedent (
31
31
"""
32
+ {% if RTD_EXT_THEME_ENABLED %}
33
+ This dashboard is currently in beta,
34
+ you can <a href="https://{{ PRODUCTION_DOMAIN }}">return to the legacy dashboard</a> if you encounter any problems.
35
+ Feel free to <a href="https://{{ PRODUCTION_DOMAIN }}/support/">report any feedback</a> you may have.
36
+ {% else %}
32
37
Our new <strong>beta dashboard</strong> is now available for testing.
33
- <a href="https://beta.readthedocs.org/">Give it a try</a> and send us feedback.
38
+ <a href="https://beta.{{ PRODUCTION_DOMAIN }}/">Give it a try</a> and send us feedback.
39
+ {% endif %}
34
40
"""
35
41
).strip (),
36
42
),
You can’t perform that action at this time.
0 commit comments