@@ -26,60 +26,3 @@ Contents
2626 long
2727
2828You can also read the :ref: `genindex `
29-
30- Optional parameter args
31- =======================
32-
33- At this point optional parameters `cannot be generated from code `_.
34- However, some projects will manually do it, like so:
35-
36- This example comes from `django-payments module docs `_.
37-
38- .. class :: payments.dotpay.DotpayProvider(seller_id, pin[, channel=0[, lock=False], lang='pl'])
39-
40- This backend implements payments using a popular Polish gateway, `Dotpay.pl <http://www.dotpay.pl >`_.
41-
42- Due to API limitations there is no support for transferring purchased items.
43-
44-
45- :param seller_id: Seller ID assigned by Dotpay
46- :param pin: PIN assigned by Dotpay
47- :param channel: Default payment channel (consult reference guide)
48- :param lang: UI language
49- :param lock: Whether to disable channels other than the default selected above
50-
51- .. _cannot be generated from code : https://groups.google.com/forum/#!topic/sphinx-users/_qfsVT5Vxpw
52- .. _django-payments module docs : http://django-payments.readthedocs.org/en/latest/modules.html#payments.authorizenet.AuthorizeNetProvider
53-
54-
55- Inline code and references
56- ==========================
57-
58- `reStructuredText `_ is a markup language. It can use roles and
59- declarations to turn reST into HTML.
60-
61- In reST, ``*hello world* `` becomes ``<em>hello world</em> ``. This is
62- because a library called `Docutils `_ was able to parse the reST and use a
63- ``Writer `` to output it that way.
64-
65- If I type ````an inline literal`` `` it will wrap it in ``<tt> ``. You can
66- see more details on the `Inline Markup `_ on the Docutils homepage.
67-
68- Also with ``sphinx.ext.autodoc ``, which I use in the demo, I can link to
69- :class: `test_py_module.test.Foo `. It will link you right my code
70- documentation for it.
71-
72- .. _reStructuredText : http://docutils.sourceforge.net/rst.html
73- .. _Docutils : http://docutils.sourceforge.net/
74- .. _Inline Markup : http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup
75-
76- Data
77- ====
78-
79- .. data :: Data_item_1
80- Data_item_2
81- Data_item_3
82-
83- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce congue elit eu hendrerit mattis.
84-
85- Some data link :data: `Data_item_1 `.
0 commit comments