{% if current_endpoint == 'instances' %}
{% set documentation_endpoint = "/integrations" %}
{% elif current_endpoint == 'global-config' or 'services' in request.path %}
{% set documentation_endpoint = "/settings" %}
{% elif current_endpoint == 'configs' %}
{% set documentation_endpoint = "/concepts" %}
{% set documentation_fragment = "#custom-configurations" %}
{% elif 'plugins' in request.path %}
{% set documentation_endpoint = "/plugins" %}
{% elif current_endpoint == 'cache' %}
{% set documentation_endpoint = "/concepts" %}
{% set documentation_fragment = "#database" %}
{% elif current_endpoint == 'reports' or current_endpoint == 'bans' %}
{% set documentation_fragment = "#security-features" %}
{% elif current_endpoint == 'jobs' %}
{% set documentation_endpoint = "/concepts" %}
{% set documentation_fragment = "#scheduler" %}
{% elif current_endpoint == 'logs' %}
{% set documentation_endpoint = "/web-ui" %}
{% set documentation_fragment = "#accessing-logs" %}
{% elif current_endpoint == 'pro' %}
{% set documentation_endpoint = "/professional-services" %}
{% endif %}