-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix remaining doctest failures and enable doctests on CI #27000
Conversation
14f08c1
to
e955114
Compare
Unrelated download failure on AV 32-bit, will merge tomorrow unless someone objects. |
doc/src/manual/arrays.md
Outdated
@@ -392,8 +392,10 @@ julia> x = collect(reshape(1:9, 3, 3)) | |||
2 5 8 | |||
3 6 9 | |||
|
|||
julia> x[1:2, 2:3] = -1 | |||
-1 | |||
julia> x[1:2, 2:3] .= -1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few lines above we say we're going to show that =
is lowered to setindex!
: the text should somewhat be adapted to explain why one needs to use .=
here. Maybe better show a single-element assignment first.
Bump |
I have this rebased locally but I think we should tweak some things. As it is now we build the docs as part of |
a4e600c
to
1c447d4
Compare
If anyone is attempted to merge due to the all green CI, PLEASE DON'T! This PR fails rebased to master due to #27103 |
1c447d4
to
799f8b0
Compare
Disabled the failing test for now. Will merge if CI passes. |
This fixes all remaining doc(test) failures, and enables doctests on Travis Linux 64-bit (fix #19528). On my machine this changes the time for the doc build from ~2 to ~5 minutes, but I think it is well worth it, because, as you can see from the diff, we keep deprecating our own manual.
ATM this includes #26973 and #26993, the relevant changes to review here is 3c29c7b + 14f08c1