Oxygen add-on for XSpec v3.2.0 #19
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In xspec/xspec#2075 (comment), @cmarchand suggests publishing
oxygen-addon.xmlat xspec.io. This pull request does that for the existing v3.2.0 add-on for which Oxygen users would point Oxygen to the URLhttps://github.com/xspec/xspec/raw/master/oxygen-addon.xml(instructions). The purpose of this PR is to make sure this new publishing location works and that we're happy with it, before asking users to change their Oxygen setting.After this pull request is merged, Oxygen should be able to use the following URL to find and install the add-on:
https://xspec.io/editors/oxygen/oxygen-addon.xmlI am open to suggestions about what the URL should be.
In this pull request,
latest.xhtmlto adapt to the shallower directory hierarchy in this repo.latest.xhtmlfile is directly from the xspec/xspec repo, but I used a shallower directory hierarchy because it seemed simpler. The original file is at https://github.com/xspec/xspec/blob/0bef40c0dbed817717ff1b1a8043f367b368d33b/editors/oxygen/add-on/description/latest.xhtmlTesting done
I was able to install the add-on in Oxygen 24.1 and Oxygen 27.0, after running hugo locally and giving Oxygen this URL:
http://localhost:1313/editors/oxygen/oxygen-addon.xml
In one case, I had the v3.1.3 add-on previously installed, and Oxygen removed the v3.1.3 add-on when unpacking the new one. It also recognized the new one as an update of the old one.