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

'Can't find anchor ... in ...' error when compiling docs with doc2dash #26

Open
capac opened this issue Dec 1, 2022 · 3 comments
Open

Comments

@capac
Copy link

capac commented Dec 1, 2022

When I build the statsmodels docs for Dash, I usually get these types of errors, the 'Can't find anchor ... in ...'. Below are some such examples. Even so, the docs are created, however what I've noticed is that some index entries are repeated, such as the entries for sections (see image below).

Is this a statsmodels issue, or can it be confronted in doc2dash ?

Can't find anchor 'statsmodels.genmod.families.links.CLogLog' (EntryType.CLASS) in 'generated/statsmodels.genmod.families.links.CLogLog.html'.

Can't find anchor 'statsmodels.genmod.families.links.Log' (EntryType.SECTION) in 'generated/statsmodels.genmod.families.links.Log.html'.

Can't find anchor 'statsmodels.genmod.families.links.CLogLog.deriv' (EntryType.METHOD) in 'generated/statsmodels.genmod.families.links.CLogLog.deriv.html'.

repeated-entries-in-sections

@bashtage
Copy link
Member

bashtage commented Dec 1, 2022

I don't know what doc2dash is, bit these are problems because there are both upper and lower case versions of the same links. This means that case insensitive file systems can't render docs correctly.

@capac
Copy link
Author

capac commented Dec 1, 2022

Indeed, my file system is case-insensitive. Is there a way in statsmodels to retain just one link if multiple case sensitive links are available? As for doc2dash (https://doc2dash.readthedocs.io/en/stable/), I don't know its parser well enough to figure this issue out. I'll ask on the corresponding GitHub issues page.

@bashtage
Copy link
Member

bashtage commented Dec 1, 2022

Can you build on Linux+case sensitive or WSL? This might be a solution. For 0.14.0 I think the lowercase links are deprecated and should not appear in the docs.

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

No branches or pull requests

2 participants