Skip to content

Commit 6ce404c

Browse files
committed
linking files
1 parent f2c7f38 commit 6ce404c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,24 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
# 1️⃣ Check out your repository
1716
- uses: actions/checkout@v4
1817

19-
# 2️⃣ Set up Python
2018
- uses: actions/setup-python@v5
2119
with:
2220
python-version: '3.x'
2321

24-
# 3️⃣ Install MkDocs and extensions
2522
- name: Install dependencies
2623
run: pip install mkdocs-material pymdown-extensions
2724

28-
# 4️⃣ Copy logo into the build folder (so MkDocs can find it)
2925
- name: Copy logo into site
3026
run: |
3127
mkdir -p guidance_docs/images
3228
cp phage-logo-thin.png guidance_docs/images/ || true
3329
34-
# 5️⃣ Build and deploy to gh-pages
30+
- name: Copy README to site index
31+
run: cp README.md guidance_docs/index.md
32+
33+
3534
- name: Deploy MkDocs site
3635
run: mkdocs gh-deploy --force
3736
env:

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use_directory_urls: false
99

1010
theme:
1111
name: material
12-
logo: ../phage-logo-thin.png
12+
logo: images/phage-logo-thin.png
1313
palette:
1414
- scheme: default
1515
primary: indigo
@@ -41,7 +41,7 @@ markdown_extensions:
4141
emoji_generator: !!python/name:materialx.emoji.to_svg
4242

4343
nav:
44-
- Home: ../README.md
44+
- Home: index.md
4545
- Guidance:
4646
- Surveillance Strategies: SurveillanceStrategies-GuidanceDoc.md
4747
- Data Analysis: DataAnalysis-GuidanceDoc.md

0 commit comments

Comments
 (0)