sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.4k stars 473 forks source link

cleaning some wrong rst block syntax #23255

Closed fchapoton closed 7 years ago

fchapoton commented 7 years ago

essentially a lot of missing double colon after EXAMPLES::

found using

grep -ozrP --include="*.py" "[A-Z]:\n.*sage: " *

CC: @tscrim @jm58660 @kevindilks

Component: documentation

Author: Frédéric Chapoton

Branch/Commit: b469430

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/23255

fchapoton commented 7 years ago

Commit: b469430

fchapoton commented 7 years ago

Description changed:

--- 
+++ 
@@ -1,3 +1,7 @@
 essentially a lot of missing double colon after EXAMPLES::

+found using

+```
+grep -ozrP --include="*.py" "[A-Z]:\n.*sage: " *
+```
fchapoton commented 7 years ago

New commits:

b469430curing some cases of wrong rest block syntax
fchapoton commented 7 years ago

Branch: u/chapoton/23255

tscrim commented 7 years ago
comment:2

All of them look good to me. Hopefully there will be no conflicts.

tscrim commented 7 years ago

Reviewer: Travis Scrimshaw

1adc0eef-8957-46d9-975b-2dd71dfbd9ba commented 7 years ago
comment:3

For sloane_functions.py, right now it just has You can check your results with the entries of the OEIS:: before listing examples. Shouldn't it be

You can check your results with the entries of the OEIS.

EXAMPLES::

?

tscrim commented 7 years ago
comment:4

Technically yes, but since it a comment, I didn't care.

vbraun commented 7 years ago

Changed branch from u/chapoton/23255 to b469430