Skip to content

Commit d5bb48c

Browse files
Merge pull request RoboStack#75 from ruben-arts/chore/extend_use_of_pixi
chore: update and extend the use of pixi to setup the site
2 parents d891d1d + 11c34b9 commit d5bb48c

File tree

7 files changed

+757
-115
lines changed

7 files changed

+757
-115
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: ci
1+
name: ci
22
on:
33
push:
4-
branches:
4+
branches:
55
- master
66
- main
77
workflow_run:
@@ -12,8 +12,5 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: actions/setup-python@v4
16-
with:
17-
python-version: 3.x
18-
- run: pip install mkdocs-material mkdocs-minify-plugin
19-
- run: mkdocs gh-deploy --force --no-strict
15+
- uses: prefix-dev/setup-pixi@v0.8.3
16+
- run: pixi run mkdocs gh-deploy --force --no-strict

.github/workflows/copy-staging-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: prefix-dev/setup-pixi@v0.8.1
13+
- uses: prefix-dev/setup-pixi@v0.8.3
1414
- env:
1515
ANACONDA_API_TOKEN: ${{ secrets.ROBOSTACK_NOETIC_ANACONDA_API_TOKEN }}
1616
run: |
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v4
24-
- uses: prefix-dev/setup-pixi@v0.8.1
24+
- uses: prefix-dev/setup-pixi@v0.8.3
2525
- env:
2626
ANACONDA_API_TOKEN: ${{ secrets.ROBOSTACK_HUMBLE_ANACONDA_API_TOKEN }}
2727
run: |

.github/workflows/update-package-table.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Update distro tables
22

33
on:
4-
schedule:
4+
schedule:
55
- cron: "0 */6 * * *"
66
workflow_dispatch:
77

@@ -10,30 +10,24 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: github.ref == 'refs/heads/master'
1212
steps:
13-
- name: Set up Python
14-
uses: actions/setup-python@v5
15-
with:
16-
python-version: '3.11'
17-
- name: Install dependencies
18-
run: |
19-
pip install pyyaml requests
2013
- name: Checkout robostack.github.io
2114
uses: actions/checkout@v4
15+
- uses: prefix-dev/setup-pixi@v0.8.3
2216
- name: Create table noetic
2317
run: |
24-
python utils/compare_pkg_completeness.py noetic robostack-staging
18+
pixi run compare-completeness noetic robostack-staging
2519
- name: Create table foxy
2620
run: |
27-
python utils/compare_pkg_completeness.py foxy robostack
21+
pixi run compare-completeness foxy robostack
2822
- name: Create table galactic
2923
run: |
30-
python utils/compare_pkg_completeness.py galactic robostack-experimental
24+
pixi run compare-completeness galactic robostack-experimental
3125
- name: Create table humble
3226
run: |
33-
python utils/compare_pkg_completeness.py humble robostack-staging
27+
pixi run compare-completeness humble robostack-staging
3428
- name: Create table jazzy
3529
run: |
36-
python utils/compare_pkg_completeness.py jazzy robostack-jazzy
30+
pixi run compare-completeness jazzy robostack-jazzy
3731
- name: Commit changes
3832
id: commit
3933
run: |

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33
Source files for the [robostack.github.io](https://robostack.github.io/) documentation website.
44

55
# Run it locally
6-
Install requirements
7-
```bash
8-
micromamba create -f environment.yml
96
```
10-
Run local server
11-
```bash
12-
micromamba run -n robostack-docs-env mkdocs serve
7+
pixi run serve
138
```
149
Open server on http://127.0.0.1:8000/

mkdocs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ markdown_extensions:
3838
- admonition
3939
- attr_list
4040
- pymdownx.tabbed:
41-
alternate_style: true
42-
- pymdownx.emoji:
43-
emoji_index: !!python/name:materialx.emoji.twemoji
44-
emoji_generator: !!python/name:materialx.emoji.to_svg
41+
alternate_style: true
42+
- pymdownx.emoji:
43+
emoji_index: !!python/name:material.extensions.emoji.twemoji
44+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
4545

4646
use_directory_urls: false
4747
strict: true

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy