Skip to content

Commit 995868a

Browse files
authored
Merge pull request #70 from oreillymedia/TOOLSDEV-306-py3-12
Toolsdev 306 py3 12
2 parents c24f720 + 2cfea07 commit 995868a

File tree

4 files changed

+1249
-962
lines changed

4 files changed

+1249
-962
lines changed

.github/workflows/workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.9", "3.10"]
10+
python-version: ["3.9", "3.12"]
1111

1212
steps:
1313
- uses: actions/checkout@v3
@@ -25,7 +25,7 @@ jobs:
2525
virtualenvs-in-project: true
2626
installer-parallel: true
2727

28-
- run: poetry config installer.modern-installation false
28+
# - run: poetry config installer.modern-installation false
2929

3030
- name: Load cached venv if possible
3131
id: cached-poetry-dependencies

jupyter_book_to_htmlbook/file_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def process_chapter_soup(
215215

216216
# perform initial swapping and namespace designation
217217
chapter, bib = get_main_section(base_soup)
218-
if bib and not chapter: # bibs can be their own chapters
218+
if bib and not chapter or bib == chapter: # bibs can be their own chapters
219219
chapter = bib
220220
bib = None
221221

0 commit comments

Comments
 (0)