File: lexer_ipython_directive_comment.txt

package info (click to toggle)
python-sphinx-codeautolink 0.17.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 936 kB
  • sloc: python: 2,818; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
test_project
b
test_project.bar
# split
extensions.append('IPython.sphinxext.ipython_directive')
# split
Test project
============

.. ipython:: python

    # leading comment and empty line

    import test_project
    # comment
    b = test_project.bar()

.. automodule:: test_project