Skip to content

Commit ea1bbd2

Browse files
committed
Pygments
1 parent 9f4fe77 commit ea1bbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sphinx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
pip install sphinx-sitemap
2424
git clone https://github.com/FreeFem/FreeFem-parser-pygments.git ~/pygments
2525
sudo cp ~/pygments/freefem.py /usr/lib/python3/dist-packages/pygments/lexers/
26-
(cd /home/runner/.local/lib/python3.12/site-packages/pygments/lexers/ && sudo python _mapping.py)
26+
(cd /usr/lib/python3/dist-packages/pygments/lexers/ && sudo python _mapping.py)
2727
sed -i 's/, BaseTranslator//g' /home/runner/.local/lib/python3.12/site-packages/sphinxcontrib/inlinesyntaxhighlight.py
2828
sed -i "s/self.highlightlang/'python'/g" /home/runner/.local/lib/python3.12/site-packages/sphinxcontrib/inlinesyntaxhighlight.py
2929

0 commit comments

Comments
 (0)