Skip to content

Commit

Permalink
[doc] fix all link-warnings from Documenter. (JuliaLang#42581)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored Oct 10, 2021
1 parent a512f1a commit f241a76
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 0 additions & 2 deletions doc/src/base/collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ Base.all(::Any)
Base.all(::AbstractArray, ::Any)
Base.all!
Base.count
Base.any(::Any, ::Any)
Base.all(::Any, ::Any)
Base.foreach
Base.map
Base.map!
Expand Down
2 changes: 1 addition & 1 deletion doc/src/base/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Base.copysign
Base.sign
Base.signbit
Base.flipsign
Base.sqrt(::Real)
Base.sqrt(::Number)
Base.isqrt
Base.Math.cbrt
Base.real(::Complex)
Expand Down
2 changes: 1 addition & 1 deletion doc/src/base/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Base.findlast(::AbstractChar, ::AbstractString)
Base.findprev(::AbstractString, ::AbstractString, ::Integer)
Base.occursin
Base.reverse(::Union{String,SubString{String}})
Base.replace(s::AbstractString, ::Pair)
Base.replace(s::AbstractString, ::Pair...)
Base.split
Base.rsplit
Base.strip
Expand Down
24 changes: 12 additions & 12 deletions doc/src/devdocs/build/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ MinGW-w64 compilers available through Cygwin's package manager.

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


Expand All @@ -140,8 +140,8 @@ apt-get install wine-stable gcc wget p7zip-full winbind mingw-w64 gfortran-mingw
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
```

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

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

The most effective way to debug a cross-compiled version of Julia on the
cross-compilation host is to install a windows version of gdb and run it under wine
as usual. The pre-built packages available [as part of the MSYS2 project](
https://sourceforge.net/projects/msys2/files/REPOS/MINGW/) are known to work.
as usual. The pre-built packages available [as part of the MSYS2 project]
(https://sourceforge.net/projects/msys2/files/REPOS/MINGW/) are known to work.
Apart from the GDB package you may also need the python and termcap packages.
Finally, GDB's prompt may not work when launch from the command line. This can
be worked around by prepending `wineconsole` to the regular GDB invocation.
Expand All @@ -183,8 +183,8 @@ yourself using ```make win-extras``` followed by ```make binary-dist``` and ```m
### GDB hangs with cygwin mintty
- Run gdb under the windows console (cmd) instead. gdb [may not function properly](
https://www.cygwin.com/ml/cygwin/2009-02/msg00531.html) under mintty with non-
- Run gdb under the windows console (cmd) instead. gdb [may not function properly]
(https://www.cygwin.com/ml/cygwin/2009-02/msg00531.html) under mintty with non-
cygwin applications. You can use `cmd /c start` to start the windows console
from mintty if necessary.
Expand All @@ -206,10 +206,10 @@ yourself using ```make win-extras``` followed by ```make binary-dist``` and ```m
### Build process is slow/eats memory/hangs my computer
- Disable the Windows [Superfetch](https://en.wikipedia.org/wiki/Windows_Vista_I/O_technologies#SuperFetch)
and [Program Compatibility Assistant](
https://blogs.msdn.com/b/cjacks/archive/2011/11/22/managing-the-windows-7-program-compatibility-assistant-pca.aspx)
services, as they are known to have [spurious interactions](
https://cygwin.com/ml/cygwin/2011-12/msg00058.html) with MinGW/Cygwin.
and [Program Compatibility Assistant]
(https://blogs.msdn.com/b/cjacks/archive/2011/11/22/managing-the-windows-7-program-compatibility-assistant-pca.aspx)
services, as they are known to have [spurious interactions]
(https://cygwin.com/ml/cygwin/2011-12/msg00058.html) with MinGW/Cygwin.
As mentioned in the link above: excessive memory use by `svchost` specifically
may be investigated in the Task Manager by clicking on the high-memory
Expand Down
2 changes: 1 addition & 1 deletion doc/src/manual/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ true

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

[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.
[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.

```jldoctest; filter = r"[0-9\.]+"
julia> typeof(x -> x + 1)
Expand Down
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ Base.cis(::AbstractMatrix)
Base.:^(::AbstractMatrix, ::Number)
Base.:^(::Number, ::AbstractMatrix)
LinearAlgebra.log(::StridedMatrix)
LinearAlgebra.sqrt(::StridedMatrix{<:Real})
LinearAlgebra.sqrt(::StridedMatrix)
LinearAlgebra.cos(::StridedMatrix{<:Real})
LinearAlgebra.sin(::StridedMatrix{<:Real})
LinearAlgebra.sincos(::StridedMatrix{<:Real})
Expand Down
2 changes: 2 additions & 0 deletions stdlib/LinearAlgebra/src/dense.jl
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,8 @@ julia> sqrt(A)
0.0 2.0
```
"""
sqrt(::StridedMatrix)

function sqrt(A::StridedMatrix{T}) where {T<:Union{Real,Complex}}
if ishermitian(A)
sqrtHermA = sqrt(Hermitian(A))
Expand Down

0 comments on commit f241a76

Please sign in to comment.