Skip to content

Commit fa22aea

Browse files
committed
add ToC handling to release pipeline
1 parent 212b70e commit fa22aea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ jobs:
145145
find release -name "*.md" -exec sed -i ':a; /^\n*$/{ s/\n//; N; ba};' {} +
146146
find release -name "*.md" -exec sed -i '${/^$/d;}' {} +
147147
148+
- name: Fix up ToC sidebar
149+
run: |
150+
cp _data/draft.yaml _data/release.yaml
151+
sed -i "s/^docs_list_title.*/docs_list_title: Developer Guide/" _data/release.yaml
152+
148153
- name: Retrieve pdfs and epubs
149154
uses: actions/[email protected]
150155
with:

0 commit comments

Comments
 (0)