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

How to handle local links? #1

Open
arne-cl opened this issue May 21, 2014 · 1 comment
Open

How to handle local links? #1

arne-cl opened this issue May 21, 2014 · 1 comment

Comments

@arne-cl
Copy link

arne-cl commented May 21, 2014

Hi Eric,

I just tried to run existence on a local copy of a package documentation (generated by Sphinx). According to the tool, all the local links are broken (which they aren't). Is there a setting to ignore them?

Best,
Arne

@ckcollab
Copy link
Owner

Hrm, well ideally we could get local links to work and check those as well. You're on Ubuntu Linux right?

def clean_url(url):
    if platform.system() == "Windows":
        if url.startswith("C:\\"):
            url = url.replace("C:\\", "file:///C:/")

    return url

Maybe there's a change that could be made there to make your local files resolve properly?

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