Skip to content

Commit

Permalink
Move mkdocs-site to docs/
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Mar 17, 2024
1 parent 656641e commit ad44339
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/data-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
sudo mkdir -p out
sudo mkdir -p downloads
sudo chown 1000:1000 -R out/ downloads/ mkdocs-site/
sudo chown 1000:1000 -R out/ downloads/ docs/
sudo chmod 777 .
docker run -v $PWD:/transitous -w /transitous transitous ci/fetch-feeds.py timer
Expand All @@ -59,8 +59,8 @@ jobs:
uses: actions/cache/save@v4
with:
path: |
mkdocs-site/docs/licenses.md
key: licenses-${{ hashFiles('mkdocs-site/docs/licenses.md') }}
docs/docs/licenses.md
key: licenses-${{ hashFiles('docs/docs/licenses.md') }}

- name: Import Feeds into motis
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
uses: actions/cache/restore@v4
with:
path: |
mkdocs-site/docs/licenses.md
docs/docs/licenses.md
key: licenses-
restore-keys: |
licenses-
- run: pip install mkdocs
- run: mkdocs build --site-dir ../website/static/doc/ -f mkdocs-site/mkdocs.yml
- run: mkdocs build --site-dir ../website/static/doc/ -f docs/mkdocs.yml

- name: Build with Hugo
env:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/generate-attribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@
SPDX-License-Identifier: CC0-1.0
-->
"""
with open("mkdocs-site/docs/licenses.md", "w") as outfile:
with open("docs/docs/licenses.md", "w") as outfile:
outfile.write(markdown)

0 comments on commit ad44339

Please sign in to comment.