Skip to content

Commit f2d353e

Browse files
committed
update pandoc script
1 parent bf93210 commit f2d353e

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

.github/workflows/doc.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313

1414
- name: run pandoc
15-
run: |
16-
pandoc -f markdown -o "cosmos-db-openai-python-dev-guide.docx" -s \
17-
"./00_Introduction/README.md" \
18-
"./01_Azure_Overview/README.md" \
19-
"./02_Overview_Cosmos_DB/README.md" \
20-
"./03_Overview_Azure_OpenAI/README.md" \
21-
"./04_Overview_AI_Concepts/README.md" \
22-
"./05_Explore_OpenAI_models/README.md" \
23-
"./06_Provision_Azure_Resources/README.md" \
24-
"./07_Create_First_Cosmos_DB_Project/README.md" \
25-
"./08_Load_Data/README.md" \
26-
"./09_Vector_Search_Cosmos_DB/README.md" \
27-
"./10_LangChain/README.md" \
28-
"./11_Backend_API/README.md" \
29-
"./12_User_Interface/README.md"
15+
run: bash ./run-pandoc.sh
3016

3117
- uses: actions/upload-artifact@v3
3218
with:

run-pandoc.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#MARKDOWNFILES="$(printf '"./%s" ' */*.md)"
33
#pandoc -f markdown -o "output/cosmos-db-openai-python-dev-guide.docx" -s $MARKDOWNFILES
44

5-
pandoc -f markdown -o "cosmos-db-openai-python-dev-guide.docx" -s \
5+
pandoc -f markdown --toc \
6+
-o "cosmos-db-openai-python-dev-guide.docx" -s \
67
"./00_Introduction/README.md" \
78
"./01_Azure_Overview/README.md" \
89
"./02_Overview_Cosmos_DB/README.md" \

0 commit comments

Comments
 (0)