File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -101,19 +101,18 @@ pipeline:
101
101
- id : docs
102
102
depends_on : [build]
103
103
type : script
104
- overlay : ci/python
104
+ vm_config :
105
+ type : linux
106
+ image : cdp-runtime/mkdocs-v9
107
+ size : small
105
108
commands :
106
109
- desc : install deps
107
110
cmd : |
108
- pip3 install mkdocs mkdocs-material markdown-include
111
+ pipx inject mkdocs-material markdown-include
109
112
- desc : build docs
110
113
cmd : |
111
- mkdocs build --strict
112
- shopt -s extglob # needed to use !(pr)
113
- if [ "$CDP_PULL_REQUEST_NUMBER" ]; then
114
- mkdir -p site/pr/#{CDP_PULL_REQUEST_NUMBER}
115
- mv site/!(pr) site/pr/#{CDP_PULL_REQUEST_NUMBER}
116
- fi
114
+ build-docs
115
+
117
116
if [[ $CDP_TARGET_BRANCH == master && ! $CDP_PULL_REQUEST_NUMBER ]]; then
118
117
echo "Please update the docs with: mkdocs gh-deploy"
119
118
fi
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ markdown_extensions:
71
71
generic : true
72
72
73
73
extra_javascript :
74
- - javascripts/mathjax.js
75
74
- https://polyfill.io/v3/polyfill.min.js?features=es6
76
75
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
77
76
You can’t perform that action at this time.
0 commit comments