mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Enable sphinx parallelism also when building markdown release notes
We get a warning about sphinx_markdown_builder not being parallelizable. Fix that. Ref: https://github.com/liran-funaro/sphinx-markdown-builder/pull/38
This commit is contained in:
@@ -6,5 +6,6 @@ permissions:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: pip install sphinx-markdown-builder==0.6.8
|
||||
- run: |
|
||||
pip install git+https://github.com/krobelus/sphinx-markdown-builder@ae8cf577bfb263dcda509ad449a331b9b74664fa
|
||||
shell: bash
|
||||
|
||||
@@ -33,10 +33,9 @@ changelog_for_this_version=$(awk <"$workspace_root/CHANGELOG.rst" '
|
||||
printf %s "$changelog_for_this_version" |
|
||||
sed -e '$s/^----*$//' >"$relnotes_tmp/fake-workspace"/CHANGELOG.rst
|
||||
|
||||
# Use "-j 1" because sphinx-markdown-builder is not marked concurrency-safe.
|
||||
sphinx-build >&2 -j 1 \
|
||||
sphinx-build >&2 -j auto \
|
||||
-W -E -b markdown -c "$workspace_root/doc_src" \
|
||||
-d "$relnotes_tmp/doctree" "$relnotes_tmp/fake-workspace/doc_src" $relnotes_tmp/out \
|
||||
-d "$relnotes_tmp/doctree" "$relnotes_tmp/fake-workspace/doc_src" "$relnotes_tmp/out" \
|
||||
-D markdown_http_base="https://fishshell.com/docs/$minor_version" \
|
||||
-D markdown_uri_doc_suffix=".html" \
|
||||
"$@"
|
||||
|
||||
Reference in New Issue
Block a user