Skip to content

Commit 302443b

Browse files
fredrikekreKristofferC
authored andcommitted
[doc] fix all link-warnings from Documenter. (#42581)
1 parent 7b053a7 commit 302443b

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

doc/src/base/collections.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ Base.all(::Any)
119119
Base.all(::AbstractArray, ::Any)
120120
Base.all!
121121
Base.count
122-
Base.any(::Any, ::Any)
123-
Base.all(::Any, ::Any)
124122
Base.foreach
125123
Base.map
126124
Base.map!

doc/src/base/math.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Base.copysign
156156
Base.sign
157157
Base.signbit
158158
Base.flipsign
159-
Base.sqrt(::Real)
159+
Base.sqrt(::Number)
160160
Base.isqrt
161161
Base.Math.cbrt
162162
Base.real(::Complex)

doc/src/base/strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Base.findlast(::AbstractChar, ::AbstractString)
4848
Base.findprev(::AbstractString, ::AbstractString, ::Integer)
4949
Base.occursin
5050
Base.reverse(::Union{String,SubString{String}})
51-
Base.replace(s::AbstractString, ::Pair)
51+
Base.replace(s::AbstractString, ::Pair...)
5252
Base.split
5353
Base.rsplit
5454
Base.strip

doc/src/devdocs/build/windows.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ MinGW-w64 compilers available through Cygwin's package manager.
120120

121121
Compiling Julia from source using [MSYS2](https://msys2.github.io) has worked
122122
in the past but is not actively supported. Pull requests to restore support
123-
would be welcome. See a [past version of this file](
124-
https://github.com/JuliaLang/julia/blob/v0.6.0/README.windows.md)
123+
would be welcome. See a [past version of this file]
124+
(https://github.com/JuliaLang/julia/blob/v0.6.0/README.windows.md)
125125
for the former instructions for compiling using MSYS2.
126126

127127

@@ -140,8 +140,8 @@ apt-get install wine-stable gcc wget p7zip-full winbind mingw-w64 gfortran-mingw
140140
for pkg in i686-w64-mingw32-g++ i686-w64-mingw32-gcc i686-w64-mingw32-gfortran x86_64-w64-mingw32-g++ x86_64-w64-mingw32-gcc x86_64-w64-mingw32-gfortran; do sudo update-alternatives --config $pkg; done
141141
```
142142

143-
**On Mac**: Install XCode, XCode command line tools, X11 (now [XQuartz](
144-
https://www.xquartz.org/)), and [MacPorts](https://www.macports.org/install.php)
143+
**On Mac**: Install XCode, XCode command line tools, X11 (now [XQuartz]
144+
(https://www.xquartz.org/)), and [MacPorts](https://www.macports.org/install.php)
145145
or [Homebrew](https://brew.sh/). Then run `port install wine wget mingw-w64`,
146146
or `brew install wine wget mingw-w64`, as appropriate.
147147

@@ -163,8 +163,8 @@ in 32-bit mode).
163163

164164
The most effective way to debug a cross-compiled version of Julia on the
165165
cross-compilation host is to install a windows version of gdb and run it under wine
166-
as usual. The pre-built packages available [as part of the MSYS2 project](
167-
https://sourceforge.net/projects/msys2/files/REPOS/MINGW/) are known to work.
166+
as usual. The pre-built packages available [as part of the MSYS2 project]
167+
(https://sourceforge.net/projects/msys2/files/REPOS/MINGW/) are known to work.
168168
Apart from the GDB package you may also need the python and termcap packages.
169169
Finally, GDB's prompt may not work when launch from the command line. This can
170170
be worked around by prepending `wineconsole` to the regular GDB invocation.
@@ -183,8 +183,8 @@ yourself using ```make win-extras``` followed by ```make binary-dist``` and ```m
183183
184184
### GDB hangs with cygwin mintty
185185
186-
- Run gdb under the windows console (cmd) instead. gdb [may not function properly](
187-
https://www.cygwin.com/ml/cygwin/2009-02/msg00531.html) under mintty with non-
186+
- Run gdb under the windows console (cmd) instead. gdb [may not function properly]
187+
(https://www.cygwin.com/ml/cygwin/2009-02/msg00531.html) under mintty with non-
188188
cygwin applications. You can use `cmd /c start` to start the windows console
189189
from mintty if necessary.
190190
@@ -206,10 +206,10 @@ yourself using ```make win-extras``` followed by ```make binary-dist``` and ```m
206206
### Build process is slow/eats memory/hangs my computer
207207
208208
- Disable the Windows [Superfetch](https://en.wikipedia.org/wiki/Windows_Vista_I/O_technologies#SuperFetch)
209-
and [Program Compatibility Assistant](
210-
https://blogs.msdn.com/b/cjacks/archive/2011/11/22/managing-the-windows-7-program-compatibility-assistant-pca.aspx)
211-
services, as they are known to have [spurious interactions](
212-
https://cygwin.com/ml/cygwin/2011-12/msg00058.html) with MinGW/Cygwin.
209+
and [Program Compatibility Assistant]
210+
(https://blogs.msdn.com/b/cjacks/archive/2011/11/22/managing-the-windows-7-program-compatibility-assistant-pca.aspx)
211+
services, as they are known to have [spurious interactions]
212+
(https://cygwin.com/ml/cygwin/2011-12/msg00058.html) with MinGW/Cygwin.
213213
214214
As mentioned in the link above: excessive memory use by `svchost` specifically
215215
may be investigated in the Task Manager by clicking on the high-memory

doc/src/manual/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ true
11321132

11331133
Types of functions defined at top-level are singletons. When necessary, you can compare them with [`===`](@ref).
11341134

1135-
[Closures](@id man-anonymous-functions) also have their own type, which is usually printed with names that end in `#<number>`. Names and types for functions defined at different locations are distinct, but not guaranteed to be printed the same way across sessions.
1135+
[Closures](@ref man-anonymous-functions) also have their own type, which is usually printed with names that end in `#<number>`. Names and types for functions defined at different locations are distinct, but not guaranteed to be printed the same way across sessions.
11361136

11371137
```jldoctest; filter = r"[0-9\.]+"
11381138
julia> typeof(x -> x + 1)

stdlib/LinearAlgebra/docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ Base.cis(::AbstractMatrix)
414414
Base.:^(::AbstractMatrix, ::Number)
415415
Base.:^(::Number, ::AbstractMatrix)
416416
LinearAlgebra.log(::StridedMatrix)
417-
LinearAlgebra.sqrt(::StridedMatrix{<:Real})
417+
LinearAlgebra.sqrt(::StridedMatrix)
418418
LinearAlgebra.cos(::StridedMatrix{<:Real})
419419
LinearAlgebra.sin(::StridedMatrix{<:Real})
420420
LinearAlgebra.sincos(::StridedMatrix{<:Real})

stdlib/LinearAlgebra/src/dense.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,8 @@ julia> sqrt(A)
836836
0.0 2.0
837837
```
838838
"""
839+
sqrt(::StridedMatrix)
840+
839841
function sqrt(A::StridedMatrix{T}) where {T<:Union{Real,Complex}}
840842
if ishermitian(A)
841843
sqrtHermA = sqrt(Hermitian(A))

0 commit comments

Comments
 (0)