Skip to content

Commit

Permalink
[WebInterface] update docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Sep 23, 2023
1 parent ab6c21c commit 8dfadf0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ _TUTORIALS = {
},
{
title: 'See also',
intro: `More details on ${getWebsiteLink("/guides/#trading_modes", "the OctoBot guide")}.`
intro: `More details on ${getDocsLink("/configuration/profiles", "the profiles guide")}.`
},
]
}
Expand Down Expand Up @@ -242,7 +242,7 @@ _TUTORIALS = {
},
{
title: 'See also',
intro: `More details the ${getWebsiteLink("/guides/#backtesting", "backtesting guide")}.`
intro: `More details the ${getDocsLink("/advanced_usage/backtesting-and-strategy-optimization", "backtesting guide")}.`
},
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ <h2>Test configuration
<span class="badge badge-warning text-center waves-effect">Activation required <i class="fas fa-sync-alt"></i></span>
</a>
{% endif %}
<a class="float-right blue-text" target="_blank" rel="noopener" href="{{OCTOBOT_WEBSITE_URL}}/guides/#backtesting">
<a class="float-right blue-text" target="_blank" rel="noopener" href="{{OCTOBOT_DOCS_URL}}/advanced_usage/backtesting-and-strategy-optimization">
&nbsp <i class="fa-solid fa-question"></i>
</a>
{% if activated_trading_mode %}
Expand Down
5 changes: 2 additions & 3 deletions Services/Interfaces/web_interface/templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ <h4>This trading mode doesn't need any strategy.</h4>
<h2>
Profile strategy configuration
<span href="" class="badge badge-dark waves-effect align-top" data-role="current-profile-selector">read only</span>
<a class="float-right blue-text" target="_blank" rel="noopener"
href="{{OCTOBOT_WEBSITE_URL}}/guides/#trading_modes">
<a class="float-right blue-text" data-intro="profile">
<i class="fa-solid fa-question"></i>
</a>
</h2>
Expand Down Expand Up @@ -359,7 +358,7 @@ <h4 class="alert-heading">Strategies</h4>
<div class="card-header">
<h2>Exchanges
<a class="float-right blue-text" target="_blank" rel="noopener"
href="{{OCTOBOT_WEBSITE_URL}}/guides/#exchanges">
href="{{EXCHANGES_DOCS_URL}}">
<i class="fa-solid fa-question"></i>
</a>
</h2>
Expand Down
2 changes: 1 addition & 1 deletion Services/Services_bases/telegram_service/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_read_only_info(self):

@classmethod
def get_help_page(cls) -> str:
return f"{constants.OCTOBOT_WEBSITE_URL}/guides/#telegram"
return f"{constants.OCTOBOT_DOCS_URL}/interfaces/telegram-interface"

@staticmethod
def is_setup_correctly(config):
Expand Down
2 changes: 1 addition & 1 deletion Services/Services_bases/web_service/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_required_config(self):

@classmethod
def get_help_page(cls) -> str:
return f"{constants.OCTOBOT_WEBSITE_URL}/#octobot"
return f"{constants.OCTOBOT_DOCS_URL}/interfaces/web-interface"

@staticmethod
def is_setup_correctly(config):
Expand Down

0 comments on commit 8dfadf0

Please sign in to comment.