Skip to content

Commit 1758187

Browse files
Ilaria EnacheIlaria Enache
Ilaria Enache
authored and
Ilaria Enache
committed
update script
1 parent 25e04ef commit 1758187

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

llms.txt

-14
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Documentation: https://wormhole.com/docs
55

66
# List of doc pages:
7-
Doc-Page: https://wormhole.com/docs/.github/pull-request-template
87
Doc-Page: https://wormhole.com/docs/build/applications/connect/configuration-v0
98
Doc-Page: https://wormhole.com/docs/build/applications/connect/configuration/configure-data
109
Doc-Page: https://wormhole.com/docs/build/applications/connect/configuration/configure-theme
@@ -110,19 +109,6 @@ Doc-Page: https://wormhole.com/docs/tutorials/index
110109

111110
# Full content for each doc page
112111

113-
Doc-Content: https://wormhole.com/docs/.github/pull-request-template
114-
--- BEGIN CONTENT ---
115-
### Description
116-
117-
Please explain the changes this PR addresses here.
118-
119-
### Checklist
120-
121-
- [ ] **Required** - I have added a label to this PR 🏷️
122-
- [ ] **Required** - I have run my changes through Grammarly
123-
- [ ] If pages have been moved, I have created redirects in the `wormhole-mkdocs` repo
124-
--- END CONTENT ---
125-
126112
Doc-Content: https://wormhole.com/docs/.snippets/text/build/contract-integrations/cctp/DepositForBurn-event
127113
--- BEGIN CONTENT ---
128114
??? child "Event Arguments"

scripts/generate_llms.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ def get_all_markdown_files(directory):
2626
if root == directory:
2727
continue
2828

29-
# Skip .github folder - (remove them from dirs so os.walk won't recurse into them)
30-
dirs[:] = [d for d in dirs if d not in ['.github']]
29+
# Skip '.github'
30+
if '.github' in root.split(os.sep):
31+
continue
3132

3233
for file in files:
3334
if file.endswith(('.md', '.mdx')):

0 commit comments

Comments
 (0)