Skip to content

Commit

Permalink
Merge pull request #30 from lorforlinux/main
Browse files Browse the repository at this point in the history
Fix page break and home page links
  • Loading branch information
bhawnasehgal authored Apr 3, 2024
2 parents 77d0170 + bd39747 commit e5b5362
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
1 change: 1 addition & 0 deletions _static/latex/preamble.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\let\cleardoublepage\clearpage
7 changes: 5 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
if dirpath.count('/') == MAX_DEPTH:
pdf_paths.append(dirpath[:])

print(pdf_paths)

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

Expand Down Expand Up @@ -159,6 +157,11 @@
# -- Options for LaTeX output --
latex_documents = []

latex_elements = {
"papersize": "a4paper",
"preamble": open("_static/latex/preamble.tex").read(),
}

for pdf_path in pdf_paths:
board_tex_name = pdf_path.split('/')[-1]
latex_documents.append((pdf_path+"/index", board_tex_name+".tex", "", author, "manual"))
2 changes: 0 additions & 2 deletions hardware/bioamp/bioamp-exg-pill/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
BioAmp EXG Pill
##################

Professional-grade analog front-end amplification for ECG, EMG, EOG, and EEG biosensing on one tiny board.

Overview
*********

Expand Down
21 changes: 14 additions & 7 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
.. grid-item::

.. card::
:link: https://docs.upsidedownlabs.tech/bioamp/hardware/muscle-bioamp-biscute/index.html
:link: muscle_bioamp-biscute
:link-type: ref
:img-top: media/muscle-bioamp-biscute.*
:img-alt:

Expand All @@ -44,7 +45,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
.. grid-item::

.. card::
:link: https://docs.upsidedownlabs.tech/bioamp/hardware/muscle-bioamp-candy/index.html
:link: muscle-bioamp-candy
:link-type: ref
:img-top: media/muscle-bioamp-candy.*
:img-alt:

Expand All @@ -53,7 +55,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
.. grid-item::

.. card::
:link: https://docs.upsidedownlabs.tech/bioamp/hardware/bioamp-v1.5/index.html
:link: bioamp-v1.5
:link-type: ref
:img-top: media/bioamp-v1.5.*
:img-alt:

Expand All @@ -62,7 +65,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
.. grid-item::

.. card::
:link: https://docs.upsidedownlabs.tech/bioamp/hardware/muscle-bioamp-blip/index.html
:link: muscle-bioamp-blip
:link-type: ref
:img-top: media/muscle-bioamp-blip.*
:img-alt:

Expand All @@ -75,7 +79,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
.. grid-item::

.. card::
:link: https://docs.upsidedownlabs.tech/bioamp/hardware/muscle-bioamp-patchy/index.html
:link: muscle-bioamp-patchy
:link-type: ref
:img-top: media/muscle-bioamp-patchy.*
:img-alt:

Expand All @@ -84,7 +89,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
.. grid-item::

.. card::
:link: https://docs.upsidedownlabs.tech/bioamp/hardware/muscle-bioamp-shield/index.html
:link: muscle-bioamp-shield
:link-type: ref
:img-top: media/muscle-bioamp-shield.*
:img-alt:

Expand All @@ -93,7 +99,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
.. grid-item::

.. card::
:link: https://docs.upsidedownlabs.tech/bioamp/hardware/bioamp-exg-pill/index.html
:link: bioamp-exg-pill
:link-type: ref
:img-top: media/bioamp-exg-pill.*
:img-alt:

Expand Down

0 comments on commit e5b5362

Please sign in to comment.