File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8282 - name : 🏗 Install mermaid-cli
8383 if : github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.client_payload.ref == format('refs/{0}/{1}', matrix.source, matrix.version)
8484 run : |
85- npm install @mermaid-js/mermaid-cli
85+ npm install -g @mermaid-js/mermaid-cli
86+ npx puppeteer browsers install chrome-headless-shell
87+ echo '{"args": ["--no-sandbox"]}' > puppeteer-config.json
8688
8789 - name : ⬇ Checkout OctoPrint
8890 if : github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.client_payload.ref == format('refs/{0}/{1}', matrix.source, matrix.version)
@@ -107,7 +109,7 @@ jobs:
107109 if : github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.client_payload.ref == format('refs/{0}/{1}', matrix.source, matrix.version)
108110 run : |
109111 cd ${{ github.workspace }}/docs.octoprint.org/util/versionselector
110- python versionselector.py ${{ github.workspace }}/OctoPrint/docs/ ${{ matrix.version }} ${{ env.OCTOPRINT_VERSION }} ${{ github.workspace }}/versions.json -D mermaid_cmd=${{ github.workspace }}/node_modules/.bin/mmdc -D mermaid_output_format=svg -D mermaid_version=
112+ python versionselector.py ${{ github.workspace }}/OctoPrint/docs/ ${{ matrix.version }} ${{ env.OCTOPRINT_VERSION }} ${{ github.workspace }}/versions.json -D mermaid_cmd="mmdc -p ${{ github.workspace }}/puppeteer-config.json" -D mermaid_output_format=svg -D mermaid_version=
111113 echo ".rst-content object[type^='image/']{width: 100%;}" >> ${{ github.workspace }}/OctoPrint/docs/_build/html/${{ matrix.version }}/_static/theme_overrides.css
112114
113115 # - name: 🔎 Run link check
You can’t perform that action at this time.
0 commit comments