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

crossref links with --paths links to wrong directory #125

Open
jshipley opened this issue Feb 16, 2024 · 0 comments
Open

crossref links with --paths links to wrong directory #125

jshipley opened this issue Feb 16, 2024 · 0 comments

Comments

@jshipley
Copy link

If I have a project like this:

submodule_a/
    a.py
submodule_b/
    b.py

And I run pycco like this pycco -p */*.py

Then if I have a crossref link in submodule_b/b.py to submodule_a/a.py, the directory structure is ignored and the link comes out relative to the file where the crossref is located instead of linking to the correct file.

In other words, [[submodule_a/a.py]] in b.py will end up being a link to submodule_b/a.py

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

1 participant