We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad91619 commit c9974cdCopy full SHA for c9974cd
.github/workflows/deploy.yml
@@ -32,10 +32,13 @@ jobs:
32
33
- name: Rewrite internal Markdown links for MkDocs build
34
run: |
35
- echo "Rewriting internal Markdown links (.md → .html)..."
+ echo "Fixing Markdown links (.md → .html and removing guidance_docs/)..."
36
cd guidance_docs
37
+ # Replace .md) with .html)
38
grep -rl '\.md)' . | xargs sed -i 's/\.md)/.html)/g' || true
- echo "Rewrite complete."
39
+ # Remove guidance_docs/ from links
40
+ grep -rl 'guidance_docs/' . | xargs sed -i 's#guidance_docs/##g' || true
41
+ echo "Link rewrite complete."
42
43
- name: Deploy MkDocs site
44
run: mkdocs gh-deploy --force
0 commit comments