Commit 9f4fe77 1 parent 9545c46 commit 9f4fe77 Copy full SHA for 9f4fe77
File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 21
21
pip install Sphinx
22
22
pip install sphinxcontrib-inlinesyntaxhighlight
23
23
pip install sphinx-sitemap
24
- pip install Pygments
25
24
git clone https://github.com/FreeFem/FreeFem-parser-pygments.git ~/pygments
26
- sudo cp ~/pygments/freefem.py /home/runner/.local/ lib/python3.12/site -packages/pygments/lexers/
25
+ sudo cp ~/pygments/freefem.py /usr/ lib/python3/dist -packages/pygments/lexers/
27
26
(cd /home/runner/.local/lib/python3.12/site-packages/pygments/lexers/ && sudo python _mapping.py)
28
27
sed -i 's/, BaseTranslator//g' /home/runner/.local/lib/python3.12/site-packages/sphinxcontrib/inlinesyntaxhighlight.py
29
28
sed -i "s/self.highlightlang/'python'/g" /home/runner/.local/lib/python3.12/site-packages/sphinxcontrib/inlinesyntaxhighlight.py
You can’t perform that action at this time.
0 commit comments