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
- Then, in the `conf.py` of your sphinx docs, you update the `html_theme`
@@ -53,69 +45,11 @@ are very welcome!
53
45
54
46
## Theme development
55
47
56
-
The theme is bundled via Webpack. In `./src/*` the theme related stylesheets and javascript is located. 2 entrypoints are available:
57
-
58
-
- Stylesheet: `./src/scss/index.scss'
59
-
- Javascript: `./src/js/index.js`
60
-
61
-
Both entrypoints will be bundled into `./pydata_sphinx_theme/static/{css,js}`.
62
-
63
-
Theme development was inspired by the [ReadTheDocs sphinx theme](https://github.com/readthedocs/sphinx_rtd_theme).
64
-
65
-
### Steps to develop the theme:
66
-
67
-
1. Install yarn
68
-
2. Install theme dependencies
69
-
3. Run development server
70
-
4. Build production assets
71
-
72
-
**Important:** in orde to commit changes to the theme, ensure you run `yarn build:production` so all assets will be bundled into `./pydata_sphinx_theme/static/`.
73
-
74
-
#### Install yarn
75
-
76
-
[Yarn](https://yarnpkg.com) is a package manager we use for managing Javascript and CSS dependencies.
77
-
78
-
Install via conda:
48
+
Contributions are very welcome! Installing the development version, building
49
+
the demo docs and developing the css/js of the theme, etc, is explained in
50
+
more detail in the contributing section of the documentation:
0 commit comments