Skip to content

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