Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Use proxied API endpoint #80

Merged
merged 1 commit into from
Jul 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
if os.environ.get('READTHEDOCS') == 'True':
# Building on Read the Docs
hoverxref_api_host = 'https://readthedocs.org'

if os.environ.get('PROXIED_API_ENDPOINT') == 'True':
# Use the proxied API endpoint
hoverxref_api_host = '/_'

if os.environ.get('LOCAL_READTHEDOCS') == 'True':
# Building on a local Read the Docs instance
hoverxref_api_host = 'http://community.dev.readthedocs.io'
Expand Down