Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update Sphinx docs API redirection links #86

Conversation

yunchae-kim
Copy link
Contributor

[#63] Refer to GitHub issue...

This update addresses API redirection links in Sphinx documentation templates. Previously, certain HTML elements used direct URLs to comptox.ai, causing redirection issues on EC2 pages. To resolve this, we've adjusted the links to be relative based on the current address.

Additionally, we've made some style adjustments to align with the implemented style guides and ensure consistency.

[#63] Refer to GitHub issue...

This update addresses API redirection links in Sphinx documentation
templates. Previously, certain HTML elements used direct URLs to
comptox.ai, causing redirection issues on EC2 pages. To resolve this,
we've adjusted the links to be relative based on the current address.

Additionally, we've made some style adjustments to align with the
implemented style guides and ensure consistency.
gds.export.location=C:\\\\data\\\\comptox_ai\\\\subgraphs

Download the ontology RDF file
==============================

The full RDF representation of the graph database / ontology is very large -
currently almost 600 MB. Visit the `data browsing page
<https://comptox.ai/browse.html>`_ and click the "Download fully-populated
<../browse.html>`_ and click the "Download fully-populated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URL change

</p>
<a role="button"
class="btn btn-primary btn-lg"
href="/api/help/"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URL Change

@yunchae-kim yunchae-kim merged commit e414530 into master Oct 3, 2023
@yunchae-kim
Copy link
Contributor Author

Issue has not been fixed.
Fixed redirection in browse.html will give page error: Cannot GET //help/
when address is http://ec2-54-81-28-51.compute-1.amazonaws.com/api/help/

Changes made to install.rst is redirecting as intended.

@yunchae-kim
Copy link
Contributor Author

The issue has now been resolved. nginx.conf was changed to include URL with /api and and anything after /api by changing conf file location parameter to "/api/" instead of "/api".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant