Skip to content

Commit

Permalink
Merge pull request #70 from oreillymedia/TOOLSDEV-306-py3-12
Browse files Browse the repository at this point in the history
Toolsdev 306 py3 12
  • Loading branch information
delfanbaum authored Jan 9, 2025
2 parents c24f720 + 2cfea07 commit 995868a
Show file tree
Hide file tree
Showing 4 changed files with 1,249 additions and 962 deletions.
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

0 comments on commit 995868a

Please sign in to comment.