Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update mkdocs-jupyter and fix the switch toggle for notebooks #105

Merged
merged 3 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
activate-environment: makim
auto-update-conda: true
conda-solver: libmamba
python-version: 3.8.1

- name: Install deps
run: |
Expand Down
30 changes: 4 additions & 26 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,32 +58,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install MacOS extra tools and add extra setup
if: ${{ matrix.os == 'macos' }}
run: |
sudo mkdir -p /tmp
sudo chmod 777 /tmp

brew install gnu-sed
echo 'export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"' >> ~/.bashrc
echo 'export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"' >> ~/.bash_profile
gsed -i s:/tmp:/private/tmp:g tests/smoke/.makim-dir-absolute-path.yaml
gsed -i s:/tmp:/private/tmp:g tests/smoke/.makim-dir-no-path.yaml
gsed -i s:/tmp:/private/tmp:g tests/smoke/.makim-dir-relative-path.yaml

- name: Prepare conda environment (windows)
if: ${{ matrix.os == 'windows' }}
run: |
$env:Path += ";C:\Program Files\Git\usr\bin"
sed -i s/python\ 3\.8/python\ ${{ matrix.python_version }}/ conda/dev.yaml
cat conda/dev.yaml

- name: Prepare conda environment
if: ${{ matrix.os != 'windows' }}
run: |
sed -i s/python\ 3\.8\.1/python\ ${{ matrix.python_version }}/ conda/dev.yaml
cat conda/dev.yaml

- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
Expand All @@ -92,6 +66,7 @@ jobs:
activate-environment: makim
auto-update-conda: true
conda-solver: libmamba
python-version: ${{ matrix.python_version }}

- name: Check Poetry lock
run: poetry check
Expand Down Expand Up @@ -127,12 +102,15 @@ jobs:
run: makim smoke-tests.test-vars

- name: Run smoke test for dir-absolute-path
if: ${{ matrix.os != 'macos' }}
run: makim smoke-tests.dir-absolute-path

- name: Run smoke test for dir-no-path
if: ${{ matrix.os != 'macos' }}
run: makim smoke-tests.dir-no-path

- name: Run smoke test for dir-relative-path
if: ${{ matrix.os != 'macos' }}
run: makim smoke-tests.dir-relative-path

- name: Run unit tests
Expand Down
2 changes: 1 addition & 1 deletion conda/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge
dependencies:
- bash
- python 3.8.1 # min version supported
- python
- poetry >=1.5
- nodejs
- perl
Expand Down
12 changes: 4 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mypy = ">=1"
pytest-cov = ">=3.0.0"
mkdocs = ">=1.3"
mkdocs-exclude = ">=1.0.2"
mkdocs-jupyter = ">=0.20.0"
mkdocs-jupyter = ">=0.24.7"
mkdocs-literate-nav = ">=0.4.1"
mkdocs-macros-plugin = ">=0.6.3"
mkdocs-material = ">=8"
Expand Down
Loading