Skip to content

Broken Links in Docs #7000

Closed
Closed

Description

@nelson-liu

Description

Just ran a make linkcheck on the docs, and found quite a few that were broken. Results can be found here: https://gist.github.com/nelson-liu/ec9993a5461cb06430637d820d5c4ffa

Steps/Code to Reproduce

Run make linkcheck in the docs/ directory.

Expected Results

No broken links would be nice :)

Actual Results

A slew of broken links (ctrl+f "Broken"). Use grep to find where they are in the docs.

Versions

Darwin-15.5.0-x86_64-i386-64bit
Python 3.5.2 (default, Jun 29 2016, 13:43:58)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)]
NumPy 1.11.1
SciPy 0.17.1
Scikit-Learn 0.18.dev0

Activity

  1. agramfort commented on Jul 16, 2016

    @agramfort
    Member

    PR welcome

    On Sat, Jul 16, 2016 at 4:30 AM, Nelson Liu [email protected]
    wrote:

    Description

    Just ran a make linkcheck on the docs, and found quite a few that were
    broken. Results can be found here:
    https://gist.github.com/nelson-liu/ec9993a5461cb06430637d820d5c4ffa
    Steps/Code to Reproduce

    Run make linkcheck in the docs/ directory.
    Expected Results

    No broken links would be nice :)
    Actual Results

    A slew of broken links (ctrl+f "Broken"). Use grep to find where they are
    in the docs.
    Versions

    Darwin-15.5.0-x86_64-i386-64bit
    Python 3.5.2 (default, Jun 29 2016, 13:43:58)
    [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)]
    NumPy 1.11.1
    SciPy 0.17.1
    Scikit-Learn 0.18.dev0

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub
    #7000, or mute the
    thread
    https://github.com/notifications/unsubscribe-auth/AAJ1HI1CvUVOAjDxLsoOwhrSpSyb0cDAks5qWEJUgaJpZM4JN5tP
    .

  2. nelson-liu commented on Jul 16, 2016

    @nelson-liu
    ContributorAuthor

    Tree has kept me busy :) figured that I'd report it and maybe a new contributor looking for something to do might use it to get familiar with work flow

  3. nelson-liu commented on Jul 16, 2016

    @nelson-liu
    ContributorAuthor

    @nateGeorge thanks. is there any way for github to enforce commit formats?

  4. nateGeorge commented on Jul 16, 2016

    @nateGeorge
    Contributor

    Not that I know of.

  5. nelson-liu commented on Jul 16, 2016

    @nelson-liu
    ContributorAuthor

    ah ok. are you at the sprint? I feel like we haven't had a uniform standard for commit formatting, but that hasn't really been seen as an issue?

  6. amueller commented on Jul 16, 2016

    @amueller
    Member

    We do sometimes use the shorthands that are defined in the pandas docs, but there is no strict rules

  7. nateGeorge commented on Jul 16, 2016

    @nateGeorge
    Contributor

    I was not there. Yeah I noticed some pulls follow the pandas format, others not.

  8. nateGeorge commented on Jul 16, 2016

    @nateGeorge
    Contributor

    Some of the links labeled 'broken' work when I visit them. The citeseerx.ist.psu.edu domain seems to work even though the test says it doesn't. Also, it sometimes thinks there is an anchor if there's a '#' in the end of the url, even if there is no anchor. These urls work for me, even though they're labeled 'broken':

    http://www.frs-fnrs.be/
    http://www.microsoft.com/en-us/download/details.aspx?id=18950
    https://www.microsoft.com/en-us/download/details.aspx?id=8442
    http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.76.8968&rep=rep1&type=pdf
    http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.165.9323
    http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.160.2324
    http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.33.1501
    http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.160.2324
    http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.165.9323
    http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.160.2324
    http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.165.9323
    http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.160.2324
    http://www.mitpressjournals.org/doi/abs/10.1162/coli.07-034-R2#.V0J1MJMrIWo
    http://www.sciencedirect.com/science/article/pii/0377042787901257
    https://en.wikipedia.org/wiki/Median_(statistics (is actually https://en.wikipedia.org/wiki/Median_(statistics) in the sklearn/preprocessing/data.py file -- make linkcheck must be screwing something up here)
    http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.24.5135&rep=rep1&type=pdf
    https://newcircle.com/s/post/1152/scikit-learn_machine_learning_in_python
    https://github.com/jeff1evesque/machine-learning#programmatic-interface
    https://github.com/jeff1evesque/machine-learning#web-interface
    https://medium.com/i-data/the-digg-video-recommender-2f9ade7c4ba3#.g5kk2u89v
    https://www.quora.com/topic/Machine-Learning

  9. added a commit that references this issue on Jul 16, 2016
  10. nelson-liu commented on Jul 16, 2016

    @nelson-liu
    ContributorAuthor

    oops, yes i forgot to mention that; there are some truly broken things in there though iirc. thanks for checking this out!

  11. nateGeorge commented on Jul 16, 2016

    @nateGeorge
    Contributor

    So to test I just run make linkcheck in the docs/ dir? I ask because I'm getting a very different looking output compared with your gist.

  12. nelson-liu commented on Jul 16, 2016

    @nelson-liu
    ContributorAuthor

    yes. i truncated and cleaned up the output a bit, but if you find more things wrong on your side please feel free to fix :)

  13. added a commit that references this issue on Jul 16, 2016
  14. jnothman commented on Jul 19, 2016

    @jnothman
    Member

    Do we have any idea why make linkcheck returns false positives like those? Can we contribute back to sphinx and reduce our effort in the future?

  15. nateGeorge commented on Jul 19, 2016

    @nateGeorge
    Contributor

    I'm not sure why, I would guess a robots.txt thing and/or user-agent issue. Also the problem with the ')'.

  16. added a commit that references this issue on Jul 27, 2016
  17. amueller commented on Jul 27, 2016

    @amueller
    Member

    Fixed by #7005 (for now)

  18. added a commit that references this issue on Aug 23, 2016
  19. added a commit that references this issue on Aug 24, 2016
  20. added a commit that references this issue on Oct 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions