Skip to content

Commit

Permalink
Remove RST remnants to pure Markdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
hayd committed Jan 2, 2016
1 parent 0984f6c commit 925be64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion base/docs/helpdb/Base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9944,7 +9944,7 @@ isvalid(::AbstractString,i)
esc(e::ANY)
Only valid in the context of an `Expr` returned from a macro. Prevents the macro hygiene
pass from turning embedded variables into gensym variables. See the [marcro](:ref:`man-macros`)
pass from turning embedded variables into gensym variables. See the [macro](:ref:`man-macros`)
section of the Metaprogramming chapter of the manual for more details and examples.
"""
esc
Expand Down
15 changes: 6 additions & 9 deletions base/docs/helpdb/Collections.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
# Base.Collections

"""
```rst
.. PriorityQueue(K, V, [ord])
PriorityQueue(K, V, [ord])
Construct a new :obj:`PriorityQueue`, with keys of type ``K`` and values/priorites of
type ``V``. If an order is not given, the priority queue is min-ordered using
Construct a new [``PriorityQueue``](:obj:`PriorityQueue`), with keys of type
``K`` and values/priorites of type ``V``.
If an order is not given, the priority queue is min-ordered using
the default comparison for ``V``.
```
"""
Collections.PriorityQueue

Expand All @@ -35,11 +34,9 @@ Return the lowest priority key from a priority queue without removing that key f
Collections.peek

"""
```rst
.. heapify!(v, [ord])
heapify!(v, [ord])
In-place :func:`heapify`.
```
In-place [``heapify``](:func:`heapify`).
"""
Collections.heapify!

Expand Down
7 changes: 2 additions & 5 deletions base/sparse/sparsematrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -446,17 +446,14 @@ function sprand_IJ(r::AbstractRNG, m::Integer, n::Integer, density::AbstractFloa
end

"""
```rst
.. sprand([rng],m,[n],p::AbstractFloat,[rfn])
sprand([rng],m,[n],p::AbstractFloat,[rfn])
Create a random length ``m`` sparse vector or ``m`` by ``n`` sparse matrix, in
which the probability of any element being nonzero is independently given by
``p`` (and hence the mean density of nonzeros is also exactly ``p``). Nonzero
values are sampled from the distribution specified by ``rfn``. The uniform
distribution is used in case ``rfn`` is not specified. The optional ``rng``
argument specifies a random number generator, see :ref:`Random Numbers
<random-numbers>`.
```
argument specifies a random number generator, see [Random Numbers](:ref:`random-numbers`).
"""
function sprand{T}(r::AbstractRNG, m::Integer, n::Integer, density::AbstractFloat,
rfn::Function, ::Type{T}=eltype(rfn(r,1)))
Expand Down

0 comments on commit 925be64

Please sign in to comment.