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

Migrate to lychee for link checking #291

Merged
merged 29 commits into from
Jun 20, 2021
Merged

Migrate to lychee for link checking #291

merged 29 commits into from
Jun 20, 2021

Commits on Dec 19, 2020

  1. Migrate to lychee for link checking

    as liche has been deprecated by its developer
    MichaIng authored Dec 19, 2020
    Configuration menu
    Copy the full SHA
    8586e5a View commit details
    Browse the repository at this point in the history
  2. Absolute lychee path is required

    since Rust applications are by default placed into a custom directory outside of PATH.
    MichaIng authored Dec 19, 2020
    Configuration menu
    Copy the full SHA
    a420aa0 View commit details
    Browse the repository at this point in the history
  3. Remove local link checks for now

    since those required an external base URL currently, local file existence instead is not possible. But we do not want to burst our server with hundreds of concurrent requests for now. Let's see of this feature is implemented soon, until then we stay with still functional liche.
    MichaIng authored Dec 19, 2020
    Configuration menu
    Copy the full SHA
    356f89a View commit details
    Browse the repository at this point in the history
  4. Download pre-build lychee binary

    as building it takes too long
    
    Also fix URL glob, as "build/docs/**.html" does not match html files in sub directories, it seems.
    MichaIng authored Dec 19, 2020
    Configuration menu
    Copy the full SHA
    554a841 View commit details
    Browse the repository at this point in the history
  5. Download lychee when build succeeded

    as the previous Rust setup has been removed
    MichaIng authored Dec 19, 2020
    Configuration menu
    Copy the full SHA
    4589d76 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. Configuration menu
    Copy the full SHA
    71fc7dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10c0f40 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. Serve docs locally for lychee

    ... since it does not support local file checking for internal links yet: lycheeverse/lychee#21
    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    4aafa19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdc98ff View commit details
    Browse the repository at this point in the history
  3. Fix local link base URL

    The base URL is not suffixed with the file path, hence it is wrong as fast as sub directories are processed. It is hence required to loop through all directories and check those individually with the directory as base path each.
    
    Remove verbose flag. It is ignored when STDOUT and STDERR are redirected.
    
    Do not serve redirects, so we can find outdated links.
    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    7f39d91 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7625a6c View commit details
    Browse the repository at this point in the history
  5. Switch to GET requests

    as otherwise there are too many excludes required. lychee GET requests are quite efficient, so that is not an issue.
    
    Add further excludes, required mainly because lychee checks also URLs in code tags :(.
    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    086d760 View commit details
    Browse the repository at this point in the history
  6. Tiny

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    b301ac5 View commit details
    Browse the repository at this point in the history
  7. Avoid redirect in link

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    1381161 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4f67c87 View commit details
    Browse the repository at this point in the history
  9. Avoid redirect with link

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    b25ccea View commit details
    Browse the repository at this point in the history
  10. Update Audiophonics link

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    f05f715 View commit details
    Browse the repository at this point in the history
  11. Fix links

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    8f6ecfc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    df54bbb View commit details
    Browse the repository at this point in the history
  13. Avoid redirect with link

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    ccceb03 View commit details
    Browse the repository at this point in the history
  14. Make docs links internal

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    c8642da View commit details
    Browse the repository at this point in the history
  15. Make docs links internal

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    517345f View commit details
    Browse the repository at this point in the history
  16. Make docs links internal

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    7ce60af View commit details
    Browse the repository at this point in the history
  17. Make docs links internal

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    a4febf3 View commit details
    Browse the repository at this point in the history
  18. Make docs link internal

    MichaIng authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    aaa92a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. Make docs links local

    MichaIng authored Jun 10, 2021
    Configuration menu
    Copy the full SHA
    2d79478 View commit details
    Browse the repository at this point in the history
  2. Tiny

    MichaIng authored Jun 10, 2021
    Configuration menu
    Copy the full SHA
    5633b90 View commit details
    Browse the repository at this point in the history
  3. Exclude www.audiophonics.fr to get green checks

    OpenSSL sees a problem with their certificate, browsers on Windows not. For now simply exclude it.
    MichaIng authored Jun 10, 2021
    Configuration menu
    Copy the full SHA
    94d76aa View commit details
    Browse the repository at this point in the history
  4. Add a little comment

    also to force another checks run, as I want to have it green :).
    MichaIng authored Jun 10, 2021
    Configuration menu
    Copy the full SHA
    31562b6 View commit details
    Browse the repository at this point in the history