Update RST

This commit is contained in:
Anthony Shaw 2022-06-28 09:00:44 +10:00
parent 88c021a5b2
commit 2e0af2d572
No known key found for this signature in database
GPG key ID: A5B5836F7895863C

View file

@ -19,61 +19,39 @@ The following table is generated with this command::
.. raw:: html
<pre style="font-size:90%;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #008000">╭──────────────────────────────────────────────────────────────────────────────╮</span>
<span style="color: #008000">│</span> <span style="color: #008000; font-weight: bold">Box Constants</span> <span style="color: #008000">│
╰──────────────────────────────────────────────────────────────────────────────╯</span>
<pre style="font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"> <span style="color: #008000; text-decoration-color: #008000">╭───────────────╮</span>
<span style="color: #008000; text-decoration-color: #008000">│ </span><span style="color: #008000; text-decoration-color: #008000; font-weight: bold">Box Constants</span><span style="color: #008000; text-decoration-color: #008000"> │</span>
<span style="color: #008000; text-decoration-color: #008000">╰───────────────╯</span>
<span style="color: #800080"> box.ASCII </span> <span style="color: #800080"> box.SQUARE </span> <span style="color: #800080"> box.MINIMAL </span>
+------------------------+ ┌────────────┬───────────┐
|<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>|<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>| │<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>│ <span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>
|------------+-----------| ├────────────┼───────────┤ ───────────┼──────────
|<span style="color: #7f7f7f"> Cell </span>|<span style="color: #7f7f7f"> Cell </span>| │<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>│ <span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>
|<span style="color: #7f7f7f"> Cell </span>|<span style="color: #7f7f7f"> Cell </span>| │<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>│ <span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>
|------------+-----------| ├────────────┼───────────┤ ───────────┼──────────
|<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>|<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>| │<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>│ <span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>
+------------------------+ └────────────┴───────────┘
<span style="color: #800080"> box.MINIMAL_HEAVY_HEAD </span> <span style="color: #800080"> box.MINIMAL_DOUBLE_HEAD </span> <span style="color: #800080"> box.SIMPLE </span>
<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span> <span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span> <span style="color: #7f7f7f; font-weight: bold"> Header 1 </span> <span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>
━━━━━━━━━━━━┿━━━━━━━━━━━ ════════════╪═══════════ ────────────────────────
<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span>
<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span>
────────────┼─────────── ────────────┼─────────── ────────────────────────
<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span> <span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span> <span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span> <span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>
<span style="color: #800080"> box.SIMPLE_HEAVY </span> <span style="color: #800080"> box.HORIZONTALS </span> <span style="color: #800080"> box.ROUNDED </span>
────────────────────────── ╭───────────┬──────────╮
<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span> <span style="color: #7f7f7f; font-weight: bold"> Header 2 </span> <span style="color: #7f7f7f; font-weight: bold"> Header 1 </span> <span style="color: #7f7f7f; font-weight: bold"> Header 2 </span> │<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>│
╺━━━━━━━━━━━━━━━━━━━━━━━━╸ ────────────────────────── ├───────────┼──────────┤
<span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span> │<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>│
<span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span> <span style="color: #7f7f7f"> Cell </span> │<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>│
╺━━━━━━━━━━━━━━━━━━━━━━━━╸ ────────────────────────── ├───────────┼──────────┤
<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span> <span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span> <span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span> <span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span> │<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>│
────────────────────────── ╰───────────┴──────────╯
<span style="color: #800080"> box.HEAVY </span> <span style="color: #800080"> box.HEAVY_EDGE </span> <span style="color: #800080"> box.HEAVY_HEAD </span>
┏━━━━━━━━━━━━┳━━━━━━━━━━━┓ ┏━━━━━━━━━━━━┯━━━━━━━━━━━┓ ┏━━━━━━━━━━━┳━━━━━━━━━━┓
┃<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>┃<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>┃ ┃<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>┃ ┃<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>┃<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>┃
┣━━━━━━━━━━━━╋━━━━━━━━━━━┫ ┠────────────┼───────────┨ ┡━━━━━━━━━━━╇━━━━━━━━━━┩
┃<span style="color: #7f7f7f"> Cell </span>┃<span style="color: #7f7f7f"> Cell </span>┃ ┃<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>┃ │<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>│
┃<span style="color: #7f7f7f"> Cell </span>┃<span style="color: #7f7f7f"> Cell </span>┃ ┃<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>┃ │<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>│
┣━━━━━━━━━━━━╋━━━━━━━━━━━┫ ┠────────────┼───────────┨ ├───────────┼──────────┤
┃<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>┃<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>┃ ┃<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>┃ │<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>│
┗━━━━━━━━━━━━┻━━━━━━━━━━━┛ ┗━━━━━━━━━━━━┷━━━━━━━━━━━┛ └───────────┴──────────┘
<span style="color: #800080"> box.DOUBLE </span> <span style="color: #800080"> box.DOUBLE_EDGE </span>
╔════════════╦═══════════╗ ╔════════════╤═══════════╗
║<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>║<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>║ ║<span style="color: #7f7f7f; font-weight: bold"> Header 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Header 2 </span>║
╠════════════╬═══════════╣ ╟────────────┼───────────╢
║<span style="color: #7f7f7f"> Cell </span>║<span style="color: #7f7f7f"> Cell </span>║ ║<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>║
║<span style="color: #7f7f7f"> Cell </span>║<span style="color: #7f7f7f"> Cell </span>║ ║<span style="color: #7f7f7f"> Cell </span>│<span style="color: #7f7f7f"> Cell </span>║
╠════════════╬═══════════╣ ╟────────────┼───────────╢
║<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>║<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>║ ║<span style="color: #7f7f7f; font-weight: bold"> Footer 1 </span>│<span style="color: #7f7f7f; font-weight: bold"> Footer 2 </span>║
╚════════════╩═══════════╝ ╚════════════╧═══════════╝
</pre>
<span style="color: #800080; text-decoration-color: #800080"> box.ASCII </span> <span style="color: #800080; text-decoration-color: #800080"> box.ASCII2 </span> <span style="color: #800080; text-decoration-color: #800080"> box.ASCII_DOUBLE_HEAD </span> <span style="color: #800080; text-decoration-color: #800080"> box.DOUBLE </span> <span style="color: #800080; text-decoration-color: #800080"> box.DOUBLE_EDGE </span> <span style="color: #800080; text-decoration-color: #800080"> box.HEAVY </span> <span style="color: #800080; text-decoration-color: #800080"> box.HEAVY_EDGE </span>
+-----------------------+ +-----------+-----------+ +-----------+-----------+ ╔═══════════╦═══════════╗ ╔═══════════╤═══════════╗ ┏━━━━━━━━━━━┳━━━━━━━━━━━┓ ┏━━━━━━━━━━━┯━━━━━━━━━━┓
|<span style="font-weight: bold"> Header 1 </span>|<span style="font-weight: bold"> Header 2 </span>| |<span style="font-weight: bold"> Header 1 </span>|<span style="font-weight: bold"> Header 2 </span>| |<span style="font-weight: bold"> Header 1 </span>|<span style="font-weight: bold"> Header 2 </span>| ║<span style="font-weight: bold"> Header 1 </span>║<span style="font-weight: bold"> Header 2 </span>║ ║<span style="font-weight: bold"> Header 1 </span>│<span style="font-weight: bold"> Header 2 </span>║ ┃<span style="font-weight: bold"> Header 1 </span>┃<span style="font-weight: bold"> Header 2 </span>┃ ┃<span style="font-weight: bold"> Header 1 </span>│<span style="font-weight: bold"> Header 2 </span>┃
|-----------+-----------| +-----------+-----------+ +===========+===========+ ╠═══════════╬═══════════╣ ╟───────────┼───────────╢ ┣━━━━━━━━━━━╋━━━━━━━━━━━┫ ┠───────────┼──────────┨
| Cell | Cell | | Cell | Cell | | Cell | Cell | ║ Cell ║ Cell ║ ║ Cell │ Cell ║ ┃ Cell ┃ Cell ┃ ┃ Cell │ Cell ┃
| Cell | Cell | | Cell | Cell | | Cell | Cell | ║ Cell ║ Cell ║ ║ Cell │ Cell ║ ┃ Cell ┃ Cell ┃ ┃ Cell │ Cell ┃
|-----------+-----------| +-----------+-----------+ +-----------+-----------+ ╠═══════════╬═══════════╣ ╟───────────┼───────────╢ ┣━━━━━━━━━━━╋━━━━━━━━━━━┫ ┠───────────┼──────────┨
|<span style="font-weight: bold"> Footer 1 </span>|<span style="font-weight: bold"> Footer 2 </span>| |<span style="font-weight: bold"> Footer 1 </span>|<span style="font-weight: bold"> Footer 2 </span>| |<span style="font-weight: bold"> Footer 1 </span>|<span style="font-weight: bold"> Footer 2 </span>| ║<span style="font-weight: bold"> Footer 1 </span>║<span style="font-weight: bold"> Footer 2 </span>║ ║<span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span>║ ┃<span style="font-weight: bold"> Footer 1 </span>┃<span style="font-weight: bold"> Footer 2 </span>┃ ┃<span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span>┃
+-----------------------+ +-----------+-----------+ +-----------+-----------+ ╚═══════════╩═══════════╝ ╚═══════════╧═══════════╝ ┗━━━━━━━━━━━┻━━━━━━━━━━━┛ ┗━━━━━━━━━━━┷━━━━━━━━━━┛
<span style="color: #800080; text-decoration-color: #800080"> box.HEAVY_HEAD </span> <span style="color: #800080; text-decoration-color: #800080"> box.HORIZONTALS </span> <span style="color: #800080; text-decoration-color: #800080"> box.MARKDOWN </span> <span style="color: #800080; text-decoration-color: #800080"> box.MINIMAL </span> <span style="color: #800080; text-decoration-color: #800080"> box.MINIMAL_DOUBLE_HEAD </span> <span style="color: #800080; text-decoration-color: #800080"> box.MINIMAL_HEAVY_HEAD </span> <span style="color: #800080; text-decoration-color: #800080"> box.ROUNDED </span>
┏━━━━━━━━━━━┳━━━━━━━━━━━┓ ─────────────────────── ╷ ╷ ╷ ╭───────────┬──────────╮
┃<span style="font-weight: bold"> Header 1 </span>┃<span style="font-weight: bold"> Header 2 </span>┃ <span style="font-weight: bold"> Header 1 </span> <span style="font-weight: bold"> Header 2 </span> |<span style="font-weight: bold"> Header 1 </span>|<span style="font-weight: bold"> Header 2 </span>| <span style="font-weight: bold"> Header 1 </span>│<span style="font-weight: bold"> Header 2 </span> <span style="font-weight: bold"> Header 1 </span>│<span style="font-weight: bold"> Header 2 </span> <span style="font-weight: bold"> Header 1 </span>│<span style="font-weight: bold"> Header 2 </span> │<span style="font-weight: bold"> Header 1 </span>│<span style="font-weight: bold"> Header 2 </span>│
┡━━━━━━━━━━━╇━━━━━━━━━━━┩ ─────────────────────── |-----------|-----------| ╶───────────┼───────────╴ ═══════════╪═══════════ ╺━━━━━━━━━━━┿━━━━━━━━━━━╸ ├───────────┼──────────┤
│ Cell │ Cell │ Cell Cell | Cell | Cell | Cell │ Cell Cell │ Cell Cell │ Cell │ Cell │ Cell │
│ Cell │ Cell │ Cell Cell | Cell | Cell | Cell │ Cell Cell │ Cell Cell │ Cell │ Cell │ Cell │
├───────────┼───────────┤ ─────────────────────── |-----------|-----------| ╶───────────┼───────────╴ ───────────┼─────────── ╶───────────┼───────────╴ ├───────────┼──────────┤
│<span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span>│ <span style="font-weight: bold"> Footer 1 </span> <span style="font-weight: bold"> Footer 2 </span> |<span style="font-weight: bold"> Footer 1 </span>|<span style="font-weight: bold"> Footer 2 </span>| <span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span> <span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span> <span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span> │<span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span>│
└───────────┴───────────┘ ─────────────────────── ╵ ╵ ╵ ╰───────────┴──────────╯
<span style="color: #800080; text-decoration-color: #800080"> box.SIMPLE </span> <span style="color: #800080; text-decoration-color: #800080"> box.SIMPLE_HEAD </span> <span style="color: #800080; text-decoration-color: #800080"> box.SIMPLE_HEAVY </span> <span style="color: #800080; text-decoration-color: #800080"> box.SQUARE </span> <span style="color: #800080; text-decoration-color: #800080"> box.SQUARE_DOUBLE_HEAD </span>
┌───────────┬───────────┐ ┌───────────┬───────────┐
<span style="font-weight: bold"> Header 1 </span> <span style="font-weight: bold"> Header 2 </span> <span style="font-weight: bold"> Header 1 </span> <span style="font-weight: bold"> Header 2 </span> <span style="font-weight: bold"> Header 1 </span> <span style="font-weight: bold"> Header 2 </span> │<span style="font-weight: bold"> Header 1 </span>│<span style="font-weight: bold"> Header 2 </span>│ │<span style="font-weight: bold"> Header 1 </span>│<span style="font-weight: bold"> Header 2 </span>│
─────────────────────── ─────────────────────── ━━━━━━━━━━━━━━━━━━━━━━━ ├───────────┼───────────┤ ╞═══════════╪═══════════╡
Cell Cell Cell Cell Cell Cell │ Cell │ Cell │ │ Cell │ Cell │
Cell Cell Cell Cell Cell Cell │ Cell │ Cell │ │ Cell │ Cell │
─────────────────────── ━━━━━━━━━━━━━━━━━━━━━━━ ├───────────┼───────────┤ ├───────────┼───────────┤
<span style="font-weight: bold"> Footer 1 </span> <span style="font-weight: bold"> Footer 2 </span> <span style="font-weight: bold"> Footer 1 </span> <span style="font-weight: bold"> Footer 2 </span> <span style="font-weight: bold"> Footer 1 </span> <span style="font-weight: bold"> Footer 2 </span> │<span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span>│ │<span style="font-weight: bold"> Footer 1 </span>│<span style="font-weight: bold"> Footer 2 </span>│
└───────────┴───────────┘ └───────────┴───────────┘
</pre>