-
Notifications
You must be signed in to change notification settings - Fork 72
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
Function rand() and some others sometimes don't appear in the API on the website #1397
Comments
We've seen seen something like this before. I think it can even be random, funnily enough, as seemingly unrelated changes brought back the rand() in the API list during the next site deploy. I still went through and fixed some errors during site-deploy, though. We just have to occasionally check the logs for that task in the azure pipelines. |
I still had a browser tab open with the API. I'm expecting this to go wrong at an earlier point, but I'm including the HTML part around API HTML without
API HTML with
|
In my still loaded API page, |
This is because of the LLVM functions by the same name. Presumably when the set of functionClasses is compared by name in SiteDeploy, they're considered equal and one is dropped. |
Function: https://github.com/EngineHub/CommandHelper/blob/master/src/main/java/com/laytonsmith/core/functions/Math.java#L1118-L1120
Usage of
rand()
seems to work as intended andreflect_docs('rand', 'description')
results inas expected.
The
rand()
function does have its own API page that works: https://methodscript.com/docs/3.3.5/API/functions/rand.htmlI'm expecting this to be a bug in the API webpage generation code, which might affect other functions as well.
The text was updated successfully, but these errors were encountered: