mirror of
https://github.com/chipsalliance/f4pga-examples.git
synced 2025-01-03 03:43:38 -05:00
docs/building-examples: show one example per page
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
c4da134437
commit
ec2473b83b
8 changed files with 25 additions and 18 deletions
|
@ -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%')
|
||||
|
||||
|
|
2
docs/eos-s3/btn_counter.rst
Normal file
2
docs/eos-s3/btn_counter.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: eos-s3_btn_counter
|
||||
:file: templates/example.jinja
|
2
docs/xc7/counter_test.rst
Normal file
2
docs/xc7/counter_test.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_counter_test
|
||||
:file: templates/example.jinja
|
2
docs/xc7/litex_demo.rst
Normal file
2
docs/xc7/litex_demo.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_litex_demo
|
||||
:file: templates/example.jinja
|
2
docs/xc7/picosoc_demo.rst
Normal file
2
docs/xc7/picosoc_demo.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_picosoc_demo
|
||||
:file: templates/example.jinja
|
2
docs/xc7/pulse_width_led.rst
Normal file
2
docs/xc7/pulse_width_led.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_pulse_width_led
|
||||
:file: templates/example.jinja
|
2
docs/xc7/timer.rst
Normal file
2
docs/xc7/timer.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
.. jinja:: xc7_timer
|
||||
:file: templates/example.jinja
|
Loading…
Reference in a new issue