Skip to content

Commit 840b17c

Browse files
authoredApr 11, 2020
Update API site build (#9622)
1 parent 40df393 commit 840b17c

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed
 

‎.gitlab-ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,8 @@ package:docker:
300300

301301
pages:
302302
stage: deploy
303-
image: python:3.7
303+
image: python:3.8
304304
before_script:
305-
- pip install pip==18.1
306305
- pip install git+https://github.com/Python-Markdown/markdown.git
307306
- pip install git+https://github.com/mkdocs/mkdocs.git
308307
- pip install pygments

‎doc/mkdocs/lua_highlight.patch

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -77,7 +77,7 @@
1+
@@ -75,7 +75,7 @@
22
css_class="codehilite", lang=None, style='default',
33
noclasses=False, tab_length=4, hl_lines=None, use_pygments=True):
44
self.src = src
@@ -7,13 +7,3 @@
77
self.linenums = linenums
88
self.guess_lang = guess_lang
99
self.css_class = css_class
10-
@@ -119,7 +119,8 @@
11-
cssclass=self.css_class,
12-
style=self.style,
13-
noclasses=self.noclasses,
14-
- hl_lines=self.hl_lines)
15-
+ hl_lines=self.hl_lines,
16-
+ wrapcode=True)
17-
return highlight(self.src, lexer, formatter)
18-
else:
19-
# just escape and build markup usable by JS highlighting libs

0 commit comments

Comments
 (0)