Skip to content

Commit 776ed1c

Browse files
authored
Improve docs landing page (#163)
* Improve docs landing page * Missing extensions * Linter
1 parent 1be0332 commit 776ed1c

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

docs/build-environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies:
1212
- typer
1313
- linkify-it-py
1414
- myst-parser
15+
- sphinx-design
1516
- pydata-sphinx-theme
1617
- jupyterlab >=4.0.5,<5
1718
- jupyterlite-core >=0.2,<0.5

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
extensions = [
22
"jupyterlite_sphinx",
33
"myst_parser",
4+
"sphinx_design",
45
]
56

67
myst_enable_extensions = [
78
"linkify",
9+
"colon_fence",
810
]
911

1012
master_doc = "index"

docs/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ We are also working on bringing [xeus-cpp](https://github.com/compiler-research/
1616

1717
Try it here!
1818

19+
::::{tab-set}
20+
:::{tab-item} Python
21+
1922
```{eval-rst}
2023
.. replite::
2124
:kernel: xpython
@@ -35,18 +38,26 @@ Try it here!
3538
m
3639
```
3740

41+
:::
42+
:::{tab-item} Lua
43+
3844
```{eval-rst}
3945
.. replite::
4046
:kernel: xlua
4147
:height: 600px
48+
:prompt: Try Lua!
4249
4350
print("Hello from xeus-lua!")
4451
```
4552

53+
:::
54+
:::{tab-item} R
55+
4656
```{eval-rst}
4757
.. replite::
4858
:kernel: xr
4959
:height: 600px
60+
:prompt: Try R!
5061
5162
print("Hello from R!")
5263
@@ -60,6 +71,9 @@ Try it here!
6071
print(eigen_result$vectors)
6172
```
6273

74+
:::
75+
::::
76+
6377
## Installation
6478

6579
You can install `jupyterlite-xeus` with conda/mamba

0 commit comments

Comments
 (0)