docs: provide previews of built-in layouts

Closes #163
This commit is contained in:
Andy Meneely
2016-09-08 23:19:35 -04:00
parent 4ec1a33cfd
commit c8e1daf79d
15 changed files with 184 additions and 6 deletions
+5
View File
@@ -16,3 +16,8 @@ code.code_img{
code.code_img_small{
width: 33%;
}
.figure{
border: 1pt solid black;
box-shadow: 5px 5px 8px #333;
}
+55
View File
@@ -227,6 +227,61 @@ If your layout file is not found in the current directory, Squib will search for
Contributions in this area are particularly welcome!!
The following depictions of the layouts are generated with `this script <https://github.com/andymeneely/squib/tree/master/samples/layouts/builtin_layouts.rb>`_
fantasy.yml
~~~~~~~~~~~
.. raw:: html
<img src="../layouts/expected_layouts_builtin_fantasy_00.png"
class="figure" width=350>
https://github.com/andymeneely/squib/tree/master/lib/squib/layouts/fantasy.yml
economy.yml
~~~~~~~~~~~
.. raw:: html
<img src="../layouts/expected_layouts_builtin_economy_00.png"
class="figure" width=350>
https://github.com/andymeneely/squib/tree/master/lib/squib/layouts/economy.yml
tuck_box.yml
~~~~~~~~~~~
Based on TheGameCrafter's template.
.. raw:: html
<img src="../layouts/expected_layouts_builtin_tuck_box_00.png"
class="figure" width=450>
https://github.com/andymeneely/squib/tree/master/lib/squib/layouts/tuck_box.yml
hand.yml
~~~~~~~~~~~
.. raw:: html
<img src="../layouts/expected_layouts_builtin_hand_00.png"
class="figure" width=350>
https://github.com/andymeneely/squib/tree/master/lib/squib/layouts/hand.yml
playing_card.yml
~~~~~~~~~~~
.. raw:: html
<img src="../layouts/expected_layouts_builtin_playing_card_00.png"
class="figure" width=350>
https://github.com/andymeneely/squib/tree/master/lib/squib/layouts/playing_card.yml
See Layouts in Action
---------------------