You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply pip install `sphinx-design` and add the extension to your `conf.py`:
15
+
16
+
```python
17
+
extensions = ["sphinx_design"]
18
+
```
19
+
20
+
For using with [MyST Parser](https://github.com/executablebooks/myst-parser), for Markdown documentation, it is recommended to use the `colon_fence` syntax extension:
21
+
22
+
```python
23
+
extensions = ["myst_parser", "sphinx_design"]
24
+
myst_enable_extensions = ["colon_fence"]
25
+
```
26
+
27
+
## Configuration
28
+
29
+
To hide the the title header on the landing page (i.e. root document), add the following to your `conf.py`:
A sphinx extension for designing beautiful, screen-size responsive web-components.
22
+
:::
23
+
::::
24
+
25
+
```{button-ref} get_started
26
+
:color: primary
27
+
:align: center
28
+
:class: sd-fs-5
11
29
12
-
A sphinx extension for designing beautiful, screen-size responsive web components.
30
+
Get Started
31
+
```
13
32
14
33
Conflict free CSS
15
34
: All CSS classes are prefixed, to avoid conflicts with other frameworks.
@@ -23,6 +42,12 @@ Configurable
23
42
Supports non-HTML output formats
24
43
: Components degrade gracefully for non-HTML formats.
25
44
45
+
```{toctree}
46
+
:hidden:
47
+
48
+
get_started
49
+
```
50
+
26
51
```{toctree}
27
52
:caption: Components
28
53
:hidden:
@@ -103,29 +128,3 @@ Change the default colors and other CSS.
103
128
::::
104
129
105
130
Created with inspiration from [Bootstrap](https://getbootstrap.com/) (v5), [Material Design](https://material.io) and [Material-UI](https://material-ui.com/) design frameworks.
106
-
107
-
## Usage
108
-
109
-
Simply pip install `sphinx-design` and add the extension to your `conf.py`:
110
-
111
-
```python
112
-
extensions = ["sphinx_design"]
113
-
```
114
-
115
-
For using with [MyST Parser](https://github.com/executablebooks/myst-parser), for Markdown documentation, it is recommended to use the `colon_fence` syntax extension:
0 commit comments