Skip to content

Commit 469b0b8

Browse files
committed
python 3.12
1 parent e940d87 commit 469b0b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/sphinx.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
pip install sphinxcontrib-inlinesyntaxhighlight
2323
pip install sphinx-sitemap
2424
git clone https://github.com/FreeFem/FreeFem-parser-pygments.git ~/pygments
25-
sudo cp ~/pygments/freefem.py /home/runner/.local/lib/python3.10/site-packages/pygments/lexers/
26-
(cd /home/runner/.local/lib/python3.10/site-packages/pygments/lexers/ && sudo python _mapping.py)
27-
sed -i 's/, BaseTranslator//g' /home/runner/.local/lib/python3.10/site-packages/sphinxcontrib/inlinesyntaxhighlight.py
28-
sed -i "s/self.highlightlang/'python'/g" /home/runner/.local/lib/python3.10/site-packages/sphinxcontrib/inlinesyntaxhighlight.py
25+
sudo cp ~/pygments/freefem.py /home/runner/.local/lib/python3.12/site-packages/pygments/lexers/
26+
(cd /home/runner/.local/lib/python3.12/site-packages/pygments/lexers/ && sudo python _mapping.py)
27+
sed -i 's/, BaseTranslator//g' /home/runner/.local/lib/python3.12/site-packages/sphinxcontrib/inlinesyntaxhighlight.py
28+
sed -i "s/self.highlightlang/'python'/g" /home/runner/.local/lib/python3.12/site-packages/sphinxcontrib/inlinesyntaxhighlight.py
2929
3030
- name: Build PDF
3131
run: |

0 commit comments

Comments
 (0)