Skip to content

Commit

Permalink
Docs improved [release]
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayP13 committed Dec 26, 2023
1 parent 923532b commit 25bd887
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ jobs:
run: cp pyproject.toml pyproject.toml.orig && (echo "$(cat pyproject.toml.orig)" | sed 's/name = "DataDreamer"/name = "datadreamer.dev"/' > pyproject.toml)
- name: Package
run: sudo -H -E ./package.sh --keep-venv
- name: Publish Package to PyPI
run: sudo -H -E ./package_publish.sh
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
# - name: Publish Package to PyPI
# run: sudo -H -E ./package_publish.sh
# env:
# POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
- name: Rename package to DataDreamer from datadreamer.dev # Because we are publishing to PyPI as datadreamer.dev
run: mv pyproject.toml.orig pyproject.toml
- name: Cache .venv_dev/docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
path: .venv/prod
key: test-venv-prod-${{ runner.os }}-${{ hashFiles('src/requirements-dev.txt', 'src/requirements-test.txt', 'src/requirements.txt', 'src/requirements-cpu.txt', 'src/requirements-accelerator-device.txt') }}
- name: Run tests
run: sudo -H -E env "PATH=$PATH" "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" ./run.sh -k "TestCli" --durations=0 --junitxml=./test.xml
run: sudo -H -E env "PATH=$PATH" "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" ./run.sh --durations=0 --junitxml=./test.xml
env:
PROJECT_DATA: /tmp/project_data
PROJECT_DISABLE_TUNNEL: 1
Expand Down
12 changes: 10 additions & 2 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,22 @@
}

.toc-drawer {
min-width: 20em;
min-width: 24em;
}

@media (max-width: 82em) {
.toc-drawer {
min-width: 0;
}
}
}

#__navigation:checked ~ .page .sidebar-drawer {
width: 90%;
}

#__toc:checked ~ .page .toc-drawer {
width: 90%;
}

.toc-drawer.no-toc {
max-width: 0;
Expand Down

0 comments on commit 25bd887

Please sign in to comment.