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

don't depend on docs.javacord.org #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Joshix-1
Copy link
Member

add fallback javadoc.io docs to use if docs.javacord.org doesn't work
use ci.javacord.org for getting the version

add fallback javadoc.io docs to use if docs.javacord.org doesn't work
use ci.javacord.org for getting the version
Copy link
Member

@Vampire Vampire left a comment

Choose a reason for hiding this comment

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

docs.javacord.org and ci.javacord.org are the same server.
Actually docs. is just a thin wrapper over ci. to provide nice URLs for browsing the build artifacts from ci..
So if one is down, probability is high that both are down.
I'd suggest in the latest version finder you keep the old source for version from docs. and if it does not work,
fall back to looking inside https://repo1.maven.org/maven2/org/javacord/javacord/maven-metadata.xml which should give you the latest released version.

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.

2 participants