Skip to content

Commit

Permalink
check only hyperlinked URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyas-21 committed Jul 4, 2023
1 parent bb390d7 commit 02a381c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/voodoo-gen/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ let generate_pkgver output_dir name_filter version_filter =
(fun acc path ->
let links =
Bos.OS.File.read path |> get_ok
|> Olinkcheck.Plaintext.extract_links
|> Olinkcheck.Html.from_string
|> Olinkcheck.Html.extract_links
in
let status = Olinkcheck.Link.status_many links in
let broken =
Expand Down
3 changes: 2 additions & 1 deletion test/can-render-org-files.t
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Generates a status.json file
"others": [
"linked/p/base/v0.15.1/package.json"
]
}
},
"broken_link_files": []
}

Converted the README.org file in markdown
Expand Down
3 changes: 2 additions & 1 deletion test/can-render-tables.t
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Generates a status.json file
"others": [
"linked/p/ppx_deriving_yaml/0.2.1/package.json"
]
}
},
"broken_link_files": []
}

Generate a README.md file with the tables formatted in HTML
Expand Down

0 comments on commit 02a381c

Please sign in to comment.