Commit 469b0b8 1 parent e940d87 commit 469b0b8 Copy full SHA for 469b0b8
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ jobs:
22
22
pip install sphinxcontrib-inlinesyntaxhighlight
23
23
pip install sphinx-sitemap
24
24
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
29
29
30
30
- name : Build PDF
31
31
run : |
You can’t perform that action at this time.
0 commit comments