Skip to content

Commit bc6fac7

Browse files
committed
add note
1 parent cfae9d4 commit bc6fac7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/documentertools/walkdocs.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ Checks if the file is a Documenter-generated HTML file.
2626
"""
2727
function isdochtml(fileinfo::FileInfo)
2828
_, ext = splitext(fileinfo.filename)
29+
# While currently the function only checks for the file extension, the semantics of
30+
# this predicate are such that it might also look at the contents of the file and do
31+
# other heuristics. I.e. we can make this function smarted as needed.
2932
return ext == ".html"
3033
end
3134

0 commit comments

Comments
 (0)