From 8af3431313cbff61ed80ae67a1dc82bb33929012 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Thu, 7 Nov 2013 22:00:34 +0800 Subject: [PATCH] Demo docs for list. Show padding/spacing issues with links / inline literals. Case of list inside admonition. --- demo_docs/source/index.rst | 1 + demo_docs/source/list.rst | 69 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 demo_docs/source/list.rst diff --git a/demo_docs/source/index.rst b/demo_docs/source/index.rst index 8fe9c64b..89b97c71 100644 --- a/demo_docs/source/index.rst +++ b/demo_docs/source/index.rst @@ -13,6 +13,7 @@ Contents: :maxdepth: 2 demo + list Maaaaath! ========= diff --git a/demo_docs/source/list.rst b/demo_docs/source/list.rst new file mode 100644 index 00000000..47affdd2 --- /dev/null +++ b/demo_docs/source/list.rst @@ -0,0 +1,69 @@ +.. important:: + + wanna play a game? + + - inside + - this + + - list + - ``in the world`` + + - hi + - his + + hi + + + +A list +====== + +- here + - is + - some + - list + - items + - `yahoo `_ + - ``huh`` +- how +- ``inline literall`` +- ``inline literall`` +- ``inline literall`` + +Second list level +----------------- + +- here is a list in a second-level section. +- `yahoo `_ +- `yahoo `_ + + - `yahoo `_ + - here is an inner bullet ``oh`` + + - one more ``with an inline literally``. `yahoo `_ + + heh heh. child. try to beat this embed: + + .. literalinclude:: test_py_module/test.py + :language: python + :linenos: + :lines: 1-10 + - and another. `yahoo `_ + - `yahoo `_ + - ``hi`` +- and hehe + +But deeper down the rabbit hole +""""""""""""""""""""""""""""""" + +- I kept saying that, "deeper down the rabbit hole". `yahoo `_ + + - I cackle at night `yahoo `_. +- I'm so lonely here in GZ ``guangzhou`` +- A man of python destiny, hopes and dreams. `yahoo `_ + + - `yahoo `_ + + - `yahoo `_ ``hi`` + - ``destiny`` +