Skip to content

Commit bd54392

Browse files
authored
Merge pull request #814 from IMRCLab/bugfix_docbuild
docs: switch to sphinx_design for tabs
2 parents 8fca4c9 + aefb9c0 commit bd54392

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

docs2/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
'sphinx.ext.mathjax',
4040
'sphinx.ext.napoleon',
4141
'sphinxarg.ext',
42-
'sphinx_tabs.tabs',
42+
'sphinx_design',
4343
'sphinxcontrib.programoutput',
4444
'sphinx_rtd_theme',
4545
]

docs2/installation.rst

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,17 @@ First Installation
2727

2828
2. Install dependencies
2929

30-
.. tabs::
30+
.. tab-set::
3131

32-
.. group-tab:: Binary Installation
32+
.. tab-item:: Binary Installation
33+
:sync: bin
3334

3435
.. code-block:: bash
3536
3637
pip3 install rowan nicegui==1.4.2
3738
38-
.. group-tab:: Source Installation
39+
.. tab-item:: Source Installation
40+
:sync: src
3941

4042
.. code-block:: bash
4143
@@ -57,9 +59,10 @@ First Installation
5759
5860
3. Set up your ROS 2 workspace
5961

60-
.. tabs::
62+
.. tab-set::
6163

62-
.. group-tab:: Binary Installation
64+
.. tab-item:: Binary Installation
65+
:sync: bin
6366

6467
Then install the crazyswarm2 stack (replace <DISTRO> with your version of ROS, namely humble or jazzy):
6568

@@ -69,7 +72,9 @@ First Installation
6972
7073
To prepare your workspace, see "Custom ROS Package" section below.
7174

72-
.. group-tab:: Source Installation
75+
.. tab-item:: Source Installation
76+
:sync: src
77+
7378
Clone the Crazyswarm2 repository
7479

7580
.. code-block:: bash
@@ -133,16 +138,18 @@ Updating
133138

134139
You can update your local copy using the following commands:
135140

136-
.. tabs::
141+
.. tab-set::
137142

138-
.. group-tab:: Binary Installation
143+
.. tab-item:: Binary Installation
144+
:sync: bin
139145

140146
.. code-block:: bash
141147
142148
sudo apt update
143149
sudo apt upgrade
144150
145-
.. group-tab:: Source Installation
151+
.. tab-item:: Source Installation
152+
:sync: src
146153

147154
.. code-block:: bash
148155

docs2/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ pyyaml
33
sphinx
44
sphinx-argparse
55
sphinx-rtd-theme
6-
sphinx-tabs
6+
sphinx_design
77
sphinxcontrib-programoutput

0 commit comments

Comments
 (0)