-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mg/linkcheck-user-agent' of github.com:giordano/Documen…
…ter.jl into mg/linkcheck-user-agent
- Loading branch information
Showing
7 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Megabytepage: subdir | ||
|
||
This page in a subdirectory has more than 1MB of HTML too. | ||
|
||
```@example | ||
using Random | ||
for s in Base.Iterators.partition(randstring(2^20), 80) | ||
# Note: the join() is necessary to get strings (as opposed to Vector{Char} objects) | ||
# on older Julia versions, since there was a breaking-ish bugfix that changed how | ||
# Iterators.partition works with strings. join(::SubString) appears to basically be | ||
# a no-op, so it has no real effect on newer Julia versions. | ||
# | ||
# https://github.com/JuliaLang/julia/issues/45768 | ||
# https://github.com/JuliaLang/julia/pull/46234 | ||
# | ||
# Note: we _could_ also just print the vectors, but then the HTML files end up being | ||
# ~14 MiB. | ||
println(join(s)) | ||
end | ||
``` |