Skip to content

Commit

Permalink
fix(docs): correctly install mkdocs-material correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mojomex committed Jun 3, 2024
1 parent e4c413a commit 809e13c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: documentation
on:
push:
branches:
- develop
- main
pull_request:
types: [closed]
permissions:
Expand All @@ -9,14 +13,24 @@ jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: |
sudo apt update && sudo apt install -y doxygen && \
pip install mkdocs-material \
Expand All @@ -25,4 +39,5 @@ jobs:
Jinja2 \
ruamel.yaml && \
pip install git+https://github.com/JakubAndrysek/mkdoxy
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

site_name: Nebula
site_description: Nebula Multi-Sensor Driver Framework
site_url: https://tier4.github.io/nebula/docs/

repo_url: https://github.com/tier4/nebula
docs_dir: docs
Expand Down

0 comments on commit 809e13c

Please sign in to comment.