Skip to content

Commit 6a6fb60

Browse files
committed
update file
1 parent 7497e1c commit 6a6fb60

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

generate_static_files.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"outputs": [],
105105
"source": [
106106
"def convert_to_files(names, to_format):\n",
107-
" target_dir = os.path.join(\"static files\", to_format)\n",
107+
" target_dir = os.path.join(\"static-files\", to_format)\n",
108108
" for folder in folders:\n",
109109
" if not os.path.exists(os.path.join(target_dir, folder)):\n",
110110
" os.makedirs(os.path.join(target_dir, folder))\n",
@@ -303,7 +303,7 @@
303303
"source": [
304304
"with open('index.md') as f:\n",
305305
" text = f.read()\n",
306-
" with open(os.path.join(\"static files\", \"html\", \"README.md\"), \"w\") as g:\n",
306+
" with open(os.path.join(\"static-files\", \"html\", \"README.md\"), \"w\") as g:\n",
307307
" g.write(text.replace(\".ipynb\", \".html\"))"
308308
]
309309
}

generate_static_files.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# In[5]:
5656

5757
def convert_to_files(names, to_format):
58-
target_dir = os.path.join("static files", to_format)
58+
target_dir = os.path.join("static-files", to_format)
5959
for folder in folders:
6060
if not os.path.exists(os.path.join(target_dir, folder)):
6161
os.makedirs(os.path.join(target_dir, folder))
@@ -84,6 +84,6 @@ def convert_to_files(names, to_format):
8484

8585
with open('index.md') as f:
8686
text = f.read()
87-
with open(os.path.join("static files", "html", "README.md"), "w") as g:
87+
with open(os.path.join("static-files", "html", "README.md"), "w") as g:
8888
g.write(text.replace(".ipynb", ".html"))
8989

payment.jpg

62.5 KB
Loading

0 commit comments

Comments
 (0)