Skip to content

Commit b36040b

Browse files
committed
Edit the furo-style CSS to respect indenting when building sphinx docs.
1 parent bbd6c8f commit b36040b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
pip install tox
2929
tox -e docs
3030
31+
- name: Edit CSS
32+
run: |
33+
CSSPATH=./docs/_build/html/_static/styles/furo.css
34+
cat ${CSSPATH} | sed "s/ol,ul{\\([^}]*\\);padding-left:1\\.2rem}/ol,ul{\\1}/" > tmp.css
35+
mv tmp.css ${CSSPATH}
36+
3137
- name: GH Pages Deployment
3238
uses: JamesIves/github-pages-deploy-action@v4
3339
with:

0 commit comments

Comments
 (0)