Uhm, but actually I was getting the error before the duplicate (and not only with that function). I thought that the example with the duplicate would help, but seems I introduced another variable.
Ah ok, in that case I’m not sure. I’ve been confused before by docstrings not showing up because they were inadvertent duplicates, so that’s the first thing I’d check for. Otherwise no idea. Maybe some kind of revise/file watching issue with LiveServer? In which case restarting the Julia session could help.
Indeed, removing the duplicate @docs call to that entry solves the deployed version. I get errors locally with that and other functions, when using LiveServer. I’ll try to figure out what’s going on, but it is less relevant now that the issue does not appear in the published docs.