diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-05-30 10:44:48 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-06-01 13:42:57 +0900 |
| commit | e001d358d0dd83f260ec696e2c14a65bd63cde13 (patch) | |
| tree | ac28ed763003f0e61f8476dc2b9fef3389d67a6c /tests/roots/test-directive-code | |
| parent | e9c5e3656fc74c66eb31f897c9f485a10912a2c9 (diff) | |
| download | sphinx-git-e001d358d0dd83f260ec696e2c14a65bd63cde13.tar.gz | |
Add :force: option to code directives
Diffstat (limited to 'tests/roots/test-directive-code')
| -rw-r--r-- | tests/roots/test-directive-code/error.inc | 1 | ||||
| -rw-r--r-- | tests/roots/test-directive-code/force.rst | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/roots/test-directive-code/error.inc b/tests/roots/test-directive-code/error.inc new file mode 100644 index 000000000..472828080 --- /dev/null +++ b/tests/roots/test-directive-code/error.inc @@ -0,0 +1 @@ +not a python script! diff --git a/tests/roots/test-directive-code/force.rst b/tests/roots/test-directive-code/force.rst new file mode 100644 index 000000000..1834b3ac6 --- /dev/null +++ b/tests/roots/test-directive-code/force.rst @@ -0,0 +1,16 @@ +force option +============ + +.. code:: python + :force: + + not a python script! + +.. code-block:: python + :force: + + not a python script! + +.. literalinclude:: error.inc + :language: python + :force: |
