move testdata to community

This commit is contained in:
Dmitry Jemerov
2013-10-10 14:10:37 +02:00
parent 3f72f71484
commit 543d5760fb
55 changed files with 348 additions and 43 deletions
@@ -0,0 +1,4 @@
Some text::
.. no<caret>
@@ -0,0 +1 @@
.. c<caret>
@@ -0,0 +1 @@
.. note::
@@ -0,0 +1 @@
.. no<caret>
@@ -0,0 +1,2 @@
.. footnone::
:<caret>
@@ -0,0 +1,4 @@
.. image::
:width: 17 px
some text
@@ -0,0 +1,4 @@
.. image::
:w<caret> 17 px
some text
@@ -0,0 +1,4 @@
.. image::
:width: 14
<caret>
@@ -0,0 +1,7 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need TinyMCE_ version 3.0 or higher and optionally a `language pack`_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. _TinyMCE: http://www.tiny.com
.. _T<caret>
@@ -0,0 +1,5 @@
The tinymce application requires version 1.0 or higher. You will also
need version 3.0 or higher and optionally a `language pack`__ for your
projects languages.
.. __: http://www.tiny.com
@@ -0,0 +1,5 @@
The tinymce application requires version 1.0 or higher. You will also
need version 3.0 or higher and optionally a `language pack`__ for your
projects languages.
.. _<caret> http://www.tiny.com
@@ -0,0 +1,6 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need [CIT01]_ version 3.0 or higher and optionally a `language pack`_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. [CIT01] http://www.tiny.com
@@ -0,0 +1,6 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need [CIT01]_ version 3.0 or higher and optionally a `language pack`_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. [C<caret> http://www.tiny.com
@@ -0,0 +1,6 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need [12]_ version 3.0 or higher and optionally a [22]_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. [12]
@@ -0,0 +1,6 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need [12]_ version 3.0 or higher and optionally a [22]_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. [1<caret>
@@ -0,0 +1,6 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need TinyMCE_ version 3.0 or higher and optionally a `language pack`_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. _TinyMCE: http://www.tiny.com
@@ -0,0 +1,6 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need TinyMCE_ version 3.0 or higher and optionally a `language pack`_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. _T<caret> http://www.tiny.com
@@ -0,0 +1,6 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need |reference| version 3.0 or higher and optionally a `language pack`_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. |reference|
@@ -0,0 +1,6 @@
The tinymce application requires Django_ version 1.0 or higher. You will also
need |reference| version 3.0 or higher and optionally a `language pack`_ for your
projects languages. If you use the `django-filebrowser`_ application in your
project, the tinymce application can use it as a browser when including media.
.. |ref<caret>
@@ -0,0 +1,3 @@
project, `_.each`_ the tinymce application can use it as a browser when including media.
.. _\_.each:
@@ -0,0 +1,3 @@
project, `_.each`_ the tinymce application can use it as a browser when including media.
.. _<caret>
@@ -0,0 +1,7 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and <caret>`Reddit and digg`__ have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
.. _Digg: http://www.digg.com/
.. __: http://www.reddit.com/
@@ -0,0 +1,5 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and <caret>[CIT01]_ have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
.. [CIT01] http://www.digg.com/
@@ -0,0 +1,5 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and <caret>Reddit_ have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
.. _Digg: http://www.digg.com/
@@ -0,0 +1,7 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and <caret>`Reddit and digg`_ have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
.. _Digg: http://www.digg.com/
.. _Reddit and digg: http://www.reddit.com/
@@ -0,0 +1,5 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and <caret>[1]_ have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
.. [1] http://www.digg.com/
@@ -0,0 +1,6 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and <caret>Reddit_ have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
.. _Digg: http://www.digg.com/
.. _Reddit: http://www.reddit.com/
@@ -0,0 +1,9 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
.. _Digg: http://www.digg.com/
.. _Reddit: http://www.reddit.com/
.. [#first] something R<caret>eddit_
@@ -0,0 +1,5 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and <caret>|text| have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
.. |text| replace:: http://www.digg.com/
@@ -0,0 +1,10 @@
=============
Title
=============
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and T<caret>itle_ have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
@@ -0,0 +1,28 @@
In the text [2]_.
In the text <warning descr="Unknown target name '[1]'">[1]_</warning>.
.. [2] In the footnote.
First automatic [#]_.
Another automatic [#]_.
.. [#] The first automatic.
.. [#] The other automatic.
A labeled automatic [#one]_.
Another of these [#two]_.
.. [#one] footnote.
.. [#two] labeled footnotes.
An autosymbol [*]_.
More autosymbol [*]_.
.. rubric:: Footnotes
.. [*] footnote.
.. [*] footnotes.
We cite [REL09]_ or REL09_
or even rel09_. <warning descr="Unknown target name 'REL08'">REL08_</warning>.
.. [REL09] Citation
@@ -0,0 +1,42 @@
There is a `graph drawing Sphinx extension <http://sphinx.pocoo.org/ext/graphviz.html>`_ based on `Graphviz
<http://graphviz.org/>`_.
Unfortunately there was not enough space here to display the full Javascript
functions, but you can view `the full template here`_ to see how one might
implement this functionality. See <warning descr="Unknown target name 'template'">`template`_</warning>
.. _`the full template here`: http://django-threadedcomments.googlecode.com/svn/trunk/examples/tut1/blog/templates/blog/latest_post.html
See `the web site of my favorite programming language`__.
See `programming language`__.
.. __: http://www.python.org
.. __: http://www.pythonic.org
See <warning descr="Unknown target name 'template1'">template1_</warning>
See `template2`_
.. _template2: http://www.template.org
.. PY-3922
reference `this is a very long
link target`_
reference <warning descr="Unknown target name 'this is a very long link target'">`this is a very long
link target`_</warning>
.. _this is a very long link target: http://www.template.org
.. PY-3923
<warning descr="Unknown target name '\_.each'">`\\_.each`_</warning>
`_.each`_
.. _\_.each: http://underscore.html
@@ -0,0 +1,11 @@
We cite [REL09]_ or REL09_
or even rel09_. See REL08_.
.. [REL09] Citation
.. <warning descr="Duplicate explicit target name 'REL08'">[REL08]</warning> Citation
.. <warning descr="Duplicate explicit target name 'REL08'">[REL08]</warning> Citation2
.. <warning descr="Duplicate explicit target name 'new link'">_`new link`:</warning> http://python.org
.. <warning descr="Duplicate explicit target name 'new link'">_new link:</warning> http://pythonic.org
@@ -0,0 +1,8 @@
.. role:: custom
.. role:: newcustom(emphasis)
An example of using :custom:`interpreted text`
An example of using :newcustom:`interpreted text`
An example of using :emphasis:`interpreted text`
Some text using undefined role <warning descr="Not defined role 'undef'">:undef:</warning>`interpreted text`
@@ -0,0 +1,2 @@
.. code-block::
import datetime
@@ -0,0 +1,6 @@
rest file
PsiElement(EXPLISIT_MARKUP_START)('.. ')
PsiElement(CUSTOM_DIRECTIVE)('code-block::')
PsiElement(WHITESPACE)('\n ')
RestLine:LINE_TEXT
PsiElement(LINE)('import datetime')
@@ -0,0 +1,3 @@
Many modern websites have the need for a threaded commenting system. Places
like Digg_ and Reddit_ have great systems for responding not only to an item on
the site, but also for responding to comments on that item as well.
@@ -0,0 +1,17 @@
rest file
RestLine:LINE_TEXT
PsiElement(LINE)('Many modern websites have the need for a threaded commenting system.')
PsiElement(WHITESPACE)(' ')
PsiElement(LINE)('Places')
PsiElement(WHITESPACE)('\n')
PsiElement(LINE)('like ')
RestReference:REFERENCE_NAME
PsiElement(REFERENCE_NAME)('Digg_')
RestLine:LINE_TEXT
PsiElement(LINE)(' and ')
RestReference:REFERENCE_NAME
PsiElement(REFERENCE_NAME)('Reddit_')
RestLine:LINE_TEXT
PsiElement(LINE)(' have great systems for responding not only to an item on')
PsiElement(WHITESPACE)('\n')
PsiElement(LINE)('the site, but also for responding to comments on that item as well.')
@@ -0,0 +1,2 @@
.. _Digg: http://www.digg.com/
.. _Reddit: http://www.reddit.com/
@@ -0,0 +1,14 @@
rest file
PsiElement(EXPLISIT_MARKUP_START)('.. ')
RestReferenceTarget:REFERENCE
PsiElement(HYPERLINK)('_Digg:')
RestLine:LINE_TEXT
PsiElement(LINE)(' ')
PsiElement(DIRECT_HYPERLINK)('http://www.digg.com/')
PsiElement(WHITESPACE)('\n')
PsiElement(EXPLISIT_MARKUP_START)('.. ')
RestReferenceTarget:REFERENCE
PsiElement(HYPERLINK)('_Reddit:')
RestLine:LINE_TEXT
PsiElement(LINE)(' ')
PsiElement(DIRECT_HYPERLINK)('http://www.reddit.com/')
@@ -0,0 +1,2 @@
.. |caution| image:: warning.png
:alt: Warning!
@@ -0,0 +1,11 @@
rest file
PsiElement(EXPLISIT_MARKUP_START)('.. ')
RestReferenceTarget:REFERENCE
PsiElement(SUBSTITUTION)('|caution|')
PsiElement(WHITESPACE)(' ')
RestDirective:DIRECTIVE_BLOCK
PsiElement(DIRECTIVE)('image::')
PsiElement(LINE)(' warning.png')
PsiElement(WHITESPACE)('\n ')
PsiElement(FIELD)(':alt:')
PsiElement(LINE)(' Warning!')
+10
View File
@@ -0,0 +1,10 @@
=============================================
Tutorial 1
=============================================
Creating a Threaded Comment System for a Blog
---------------------------------------------
Overview
========
+11
View File
@@ -0,0 +1,11 @@
rest file
RestTitle:TITLE
PsiElement(TITLE)('=============================================\nTutorial 1\n=============================================\n')
PsiElement(WHITESPACE)('\n\n')
RestTitle:TITLE
PsiElement(TITLE)('Creating a Threaded Comment System for a Blog\n---------------------------------------------\n')
PsiElement(WHITESPACE)('\n')
RestLine:LINE_TEXT
PsiElement(LINE)('Overview')
PsiElement(WHITESPACE)('\n')
PsiElement(LINE)('========')