Merge pull request #358 from antmicro/umarcor/docs/eg-pages
docs/building-examples: show one example per page
This commit is contained in:
commit
f057468f41
|
@ -72,23 +72,15 @@ Enter the directory that contains examples for Xilinx 7-Series FPGAs:
|
|||
|
||||
cd xc7
|
||||
|
||||
.. jinja:: xc7_counter_test
|
||||
:file: templates/example.jinja
|
||||
Then, follow the guidelines for each example:
|
||||
|
||||
.. jinja:: xc7_picosoc_demo
|
||||
:file: templates/example.jinja
|
||||
.. toctree::
|
||||
|
||||
.. jinja:: xc7_litex_demo
|
||||
:file: templates/example.jinja
|
||||
|
||||
.. jinja:: xc7_linux_litex_demo
|
||||
:file: templates/example.jinja
|
||||
|
||||
.. jinja:: xc7_timer
|
||||
:file: templates/example.jinja
|
||||
|
||||
.. jinja:: xc7_pulse_width_led
|
||||
:file: templates/example.jinja
|
||||
xc7/counter_test
|
||||
xc7/picosoc_demo
|
||||
xc7/litex_demo
|
||||
xc7/timer
|
||||
xc7/pulse_width_led
|
||||
|
||||
|
||||
QuickLogic EOS S3
|
||||
|
@ -101,5 +93,8 @@ Enter the directory that contains examples for QuickLogic EOS S3:
|
|||
|
||||
cd eos-s3
|
||||
|
||||
.. jinja:: eos-s3_btn_counter
|
||||
:file: templates/example.jinja
|
||||
Then, follow the guidelines for each example:
|
||||
|
||||
.. toctree::
|
||||
|
||||
eos-s3/btn_counter
|
||||
|
|
|
@ -102,7 +102,7 @@ def handle_img(block):
|
|||
|
||||
ret = {}
|
||||
ret['type'] = 'image'
|
||||
ret['uri'] = '_static/' + os.path.join(*block['uri'].split('/')[3:])
|
||||
ret['uri'] = '../_static/' + os.path.join(*block['uri'].split('/')[3:])
|
||||
ret['align'] = block.get('align', 'center')
|
||||
ret['width'] = block.get('width', '100%')
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: eos-s3_btn_counter
|
||||
:file: templates/example.jinja
|
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_counter_test
|
||||
:file: templates/example.jinja
|
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_litex_demo
|
||||
:file: templates/example.jinja
|
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_picosoc_demo
|
||||
:file: templates/example.jinja
|
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_pulse_width_led
|
||||
:file: templates/example.jinja
|
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_timer
|
||||
:file: templates/example.jinja
|
Loading…
Reference in New Issue