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

Toolsdev 306 py3 12 #70

Merged
merged 5 commits into from
Jan 9, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.9", "3.12"]

steps:
- uses: actions/checkout@v3
Expand All @@ -25,7 +25,7 @@ jobs:
virtualenvs-in-project: true
installer-parallel: true

- run: poetry config installer.modern-installation false
# - run: poetry config installer.modern-installation false

- name: Load cached venv if possible
id: cached-poetry-dependencies
Expand Down
2 changes: 1 addition & 1 deletion jupyter_book_to_htmlbook/file_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def process_chapter_soup(

# perform initial swapping and namespace designation
chapter, bib = get_main_section(base_soup)
if bib and not chapter: # bibs can be their own chapters
if bib and not chapter or bib == chapter: # bibs can be their own chapters
chapter = bib
bib = None

Expand Down
Loading
Loading