test tabs

This commit is contained in:
Xi Yan 2024-10-29 17:08:01 -07:00
parent de791b3e4f
commit d307e97fa2
3 changed files with 15 additions and 1 deletions

View file

@ -5,3 +5,4 @@ linkify
sphinx-rtd-theme>=1.0.0
sphinx-pdj-theme
sphinx-copybutton
sphinx-tabs

View file

@ -19,7 +19,7 @@ author = "Meta"
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ["myst_parser", "sphinx_rtd_theme", "sphinx_copybutton"]
extensions = ["myst_parser", "sphinx_rtd_theme", "sphinx_copybutton", "sphinx-tabs"]
html_theme = "sphinx_rtd_theme"

View file

@ -107,3 +107,16 @@ inference> Jungfraujoch, also known as the "Top of Europe," is a unique and spec
User> What other countries should I consider to club?
inference> Considering your interest in Switzerland, here are some neighboring countries that you may want to consider visiting:
```
```{tabs}
```{tab} Python
```python
def hello():
print("Hello!")
```
```{tab} Javascript
```javascript
function hello() {
console.log("Hello!");
}
```