Skip to content

Commit dd44dd6

Browse files
committed
Demodocs: move text from index to demo
1 parent 3c18f35 commit dd44dd6

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

demo_docs/source/demo.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,25 @@ should be grouped in pairs).``
5353

5454
If the ``--pep-references`` option was supplied, there should be a live link to PEP 258 here.
5555

56+
Maaaaath!
57+
=========
58+
59+
This is a test. Here is an equation:
60+
:math:`X_{0:5} = (X_0, X_1, X_2, X_3, X_4)`.
61+
Here is another:
62+
63+
.. math::
64+
:label: This is a label
65+
66+
\nabla^2 f =
67+
\frac{1}{r^2} \frac{\partial}{\partial r}
68+
\left( r^2 \frac{\partial f}{\partial r} \right) +
69+
\frac{1}{r^2 \sin \theta} \frac{\partial f}{\partial \theta}
70+
\left( \sin \theta \, \frac{\partial f}{\partial \theta} \right) +
71+
\frac{1}{r^2 \sin^2\theta} \frac{\partial^2 f}{\partial \phi^2}
72+
73+
You can add a link to equations like the one above :eq:`This is a label` by using ``:eq:``.
74+
5675
Meta
5776
====
5877

@@ -484,3 +503,8 @@ An inline image (|example|) example:
484503
.. |EXAMPLE| image:: static/yi_jing_01_chien.jpg
485504

486505
(Substitution definitions are not visible in the HTML source.)
506+
507+
Download Links
508+
==============
509+
510+
:download:`This long long long long long long long long long long long long long long long download link should be blue, normal weight text with a leading icon, and should wrap white-spaces <static/yi_jing_01_chien.jpg>`

demo_docs/source/index.rst

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,6 @@ Contents
3232

3333
You can also read the :ref:`genindex`
3434

35-
Maaaaath!
36-
=========
37-
38-
This is a test. Here is an equation:
39-
:math:`X_{0:5} = (X_0, X_1, X_2, X_3, X_4)`.
40-
Here is another:
41-
42-
.. math::
43-
:label: This is a label
44-
45-
\nabla^2 f =
46-
\frac{1}{r^2} \frac{\partial}{\partial r}
47-
\left( r^2 \frac{\partial f}{\partial r} \right) +
48-
\frac{1}{r^2 \sin \theta} \frac{\partial f}{\partial \theta}
49-
\left( \sin \theta \, \frac{\partial f}{\partial \theta} \right) +
50-
\frac{1}{r^2 \sin^2\theta} \frac{\partial^2 f}{\partial \phi^2}
51-
52-
You can add a link to equations like the one above :eq:`This is a label` by using ``:eq:``.
53-
5435
Optional parameter args
5536
=======================
5637

@@ -107,8 +88,3 @@ Data
10788
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce congue elit eu hendrerit mattis.
10889

10990
Some data link :data:`Data_item_1`.
110-
111-
Download links
112-
==============
113-
114-
:download:`This long long long long long long long long long long long long long long long download link should be blue, normal weight text with a leading icon, and should wrap white-spaces <static/yi_jing_01_chien.jpg>`

0 commit comments

Comments
 (0)