Skip to content

Commit e6d4772

Browse files
Minor fixes
1 parent 104913b commit e6d4772

File tree

6 files changed

+5
-3
lines changed

6 files changed

+5
-3
lines changed
26 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
253 KB
Binary file not shown.

docs/beta/html/_downloads/24f75eabab1fe4730ed764eb3a94b2a7/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,8 @@ ifeq ($(PUBLISH),jupyter-book)
584584
# we use jupyter book to convert in bulk
585585
$(DOCS_TARGET)index.html: $(FULL_NOTEBOOKS)/index.ipynb jupyter-book
586586
@test -d $(DOCS_TARGET) || $(MKDIR) $(DOCS_TARGET)
587-
@test -d $(DOCS_TARGET)/html || $(MKDIR) $(DOCS_TARGET)/html
588-
cp -pr $(HTML_TARGET) $(DOCS_TARGET)/html
587+
@test -d $(DOCS_TARGET)html || $(MKDIR) $(DOCS_TARGET)html
588+
cp -pr $(HTML_TARGET) $(DOCS_TARGET)html
589589
else
590590
# index.html comes with relative links (html/) such that the beta version gets the beta menu
591591
$(DOCS_TARGET)index.html: $(FULL_NOTEBOOKS)/index.ipynb $(HTML_DEPS)

notebooks/shared/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ $(DOCS_TARGET)index.html: $(FULL_NOTEBOOKS)/index.ipynb jupyter-book
586586
@test -d $(DOCS_TARGET) || $(MKDIR) $(DOCS_TARGET)
587587
@test -d $(DOCS_TARGET)html || $(MKDIR) $(DOCS_TARGET)html
588588
cp -pr $(HTML_TARGET) $(DOCS_TARGET)html
589+
590+
# FIXME: Need to set up rules for 404.html and index.html
589591
else
590592
# index.html comes with relative links (html/) such that the beta version gets the beta menu
591593
$(DOCS_TARGET)index.html: $(FULL_NOTEBOOKS)/index.ipynb $(HTML_DEPS)

notebooks/shared/utils/patch_jb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def convert(content, basename="index"):
126126

127127
basename = os.path.splitext(os.path.basename(html_file))[0]
128128
new_content = convert(content, basename=basename)
129-
open(html_file + '~', 'w').write(content)
129+
# open(html_file + '~', 'w').write(content)
130130
open(html_file, 'w').write(new_content)
131131
print(f'{html_file}: patched')
132132

0 commit comments

Comments
 (0)