Skip to content

Commit c032b55

Browse files
committed
Fix building issue
1 parent 4948111 commit c032b55

4 files changed

Lines changed: 26 additions & 27 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,6 @@ jobs:
4343
- name: Install MyST Markdown
4444
run: npm install -g mystmd
4545

46-
- name: Build HTML Assets
47-
# Remove BASE_URL if using a custom domain (CNAME)
48-
env:
49-
BASE_URL: /${{ github.event.repository.name }}
50-
run: myst build --html
51-
52-
- name: Generate RSS and Atom feeds
53-
run: python generate_rss.py
54-
55-
# TODO: Update the URL below with your custom domain
56-
- name: Rewrite localhost URLs in sitemap
57-
run: |
58-
if [ -f ./_build/html/sitemap.xml ]; then
59-
sed -i 's|http://localhost:[0-9]*|https://example.com|g' ./_build/html/sitemap.xml
60-
fi
61-
6246
- name: Setup Typst
6347
uses: typst-community/setup-typst@v5
6448

@@ -80,13 +64,28 @@ jobs:
8064
- name: Compile CV PDF
8165
run: typst compile cv.typ cv.pdf --font-path ./fonts --ignore-system-fonts
8266

67+
- name: Build HTML Assets
68+
# Remove BASE_URL if using a custom domain (CNAME)
69+
env:
70+
BASE_URL: /${{ github.event.repository.name }}
71+
run: myst build --html
72+
73+
- name: Generate RSS and Atom feeds
74+
run: python generate_rss.py
75+
76+
# TODO: Update the URL below with your custom domain
77+
- name: Rewrite localhost URLs in sitemap
78+
run: |
79+
if [ -f ./_build/html/sitemap.xml ]; then
80+
sed -i 's|http://localhost:[0-9]*|https://example.com|g' ./_build/html/sitemap.xml
81+
fi
82+
8383
- name: Inject Giscus comments into blog posts
8484
run: python inject_comments.py
8585

8686
- name: Copy static files
8787
run: |
8888
cp CNAME ./_build/html/ 2>/dev/null || true
89-
cp cv.pdf ./_build/html/cv.pdf
9089
9190
- name: Upload artifact
9291
uses: actions/upload-pages-artifact@v4

index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ description: Jane Doe, Assistant Professor at Example University, builds open-so
3030

3131
**Research Interests:** Data Science, Machine Learning, Open-Source Software Development, Cloud Computing
3232

33-
[CV (PDF)](./cv.pdf) |
33+
[CV (PDF)](cv.pdf) |
3434
[Google Scholar](https://scholar.google.com) |
3535
[ORCID](https://orcid.org/0000-0000-0000-0000) |
3636
[LinkedIn](https://www.linkedin.com/in/username) |
@@ -83,32 +83,32 @@ description: Jane Doe, Assistant Professor at Example University, builds open-so
8383
::::{grid} 2 2 3 4
8484

8585
:::{card} Publications 📚
86-
:link: research
86+
:link: pages/research
8787
10+ Refereed Publications
8888
:::
8989

9090
:::{card} Software 💻
91-
:link: software
91+
:link: pages/software
9292
5+ Open-Source Projects
9393
:::
9494

9595
:::{card} Teaching 🎓
96-
:link: teaching
96+
:link: pages/teaching
9797
5+ Courses Taught
9898
:::
9999

100100
:::{card} Talks 🎤
101-
:link: talks
101+
:link: pages/talks
102102
10+ Invited Talks
103103
:::
104104

105105
:::{card} Awards 🏆
106-
:link: awards
106+
:link: pages/awards
107107
5+ Awards & Honors
108108
:::
109109

110110
:::{card} Community 🌍
111-
:link: services
111+
:link: pages/services
112112
Professional & institutional service
113113
:::
114114

@@ -133,4 +133,4 @@ Latest updates and milestones
133133
- **2026-02-01** - Released version 2.0 of open-source project
134134
- **2026-01-10** - Received Best Paper Award at Conference 2026
135135

136-
[See all news →](./pages/news)
136+
[See all news →](pages/news)

myst.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ site:
6161
parts:
6262
primary_sidebar_footer: ''
6363
footer: |
64-
[CV (PDF)](./cv.pdf) |
64+
[CV (PDF)](cv.pdf) |
6565
[GitHub](https://github.com/username) |
6666
[LinkedIn](https://www.linkedin.com/in/username) |
6767
[Twitter](https://twitter.com/username)

pages/blog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Thoughts on data science, open-source software, and teaching.
2525
::::{grid} 1 1 2 2
2626

2727
:::{card} Getting Started with MyST Markdown for Academic Websites
28-
:link: ./blog/sample-post
28+
:link: /blog/sample-post
2929
April 1, 2026 -- A guide to building academic websites with MyST Markdown, including CV PDF generation, blog support, and automated deployment.
3030
:::
3131

0 commit comments

Comments
 (0)