-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Source links in documentation are broken #5792
Comments
Our website is also showing the wrong version in Sandcastle, @ggetz can you take a quick look to see if it's something obvious that changed in the build process. |
Actually, this is most likely specific to how the version of Cesium on the website gets updated and not anything to do with Cesium's build itself. Which means @ggetz is even more of the right person to check this out. |
Agreed. It doesn't seem to affect the "archived" version, such as: https://cesiumjs.org/releases/1.36/Build/Documentation/EntityCollection.html -- works fine It also doesn't affect local developer builds. It seems to be only the main hosted version that's incorrect. |
Downgraded from "next release" since the release itself doesn't seem to be broken. |
To clarify, using the cesiumjs.org branch and running |
Yes. |
Alright, this is fixed on the site now, and I'm working on fixing this as part of the automated website build process. |
OK to close? |
Yes please, thanks @emackey! |
Reported by @gberaudo in #5791.
All of the source links (the small hyperlinks in the right margin of each sub-header) are broken. For example: https://cesiumjs.org/Cesium/Build/Documentation/EntityCollection.html#getById
The link's target looks like this:
https://github.com/AnalyticalGraphicsInc/cesium/blob/1.36.0-13623056/Source/DataSources/EntityCollection.js#L388
The problem here is
1.36.0-13623056
is being used in the path, which does not match the GitHub tag name of1.36
. This URL is constructed here:https://github.com/AnalyticalGraphicsInc/cesium/blob/1.36/Tools/jsdoc/cesium_template/publish.js#L308
The
CESIUM_VERSION
appears to be assigned here:https://github.com/AnalyticalGraphicsInc/cesium/blob/1.36/gulpfile.js#L203
/cc @mramato Are you aware of recent build changes that might have altered this value?
The text was updated successfully, but these errors were encountered: