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

Add "releaseUrl" and "nightlyUrl" to "series" objects #291

Merged
merged 2 commits into from
May 5, 2021
Merged

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented May 5, 2021

This adds a releaseUrl and nightlyUrl properties to series objects that target the unversioned URLs.

The properties are set when possible. In many cases, typically when the spec is a non-leveled spec, they are set to the same URLs as the release.url and nightly.url properties.

Generation code remains fairly generic. This seems to work well.

Fixes #282.

This adds a `releaseUrl` and `nightlyUrl` properties to `series` objects that
target the unversioned URLs.

The properties are set when possible. In many cases, typically when the spec is
a non-leveled spec, they are set to the same URLs as the `release.url` and
`nightly.url` properties.

Generation code remains fairly generic. This seems to work well.

Fixes #282.
@tidoust tidoust requested a review from dontcallmedom May 5, 2021 14:38
Code now uses the "?." operator, introduced in Node.js in v14.x.
@tidoust tidoust merged commit 8aa7454 into master May 5, 2021
@tidoust tidoust deleted the series-urls branch July 1, 2021 15:42
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.

Ease discovery based on unversioned URLs
2 participants