mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Address comments jupyter create book notebook (#12250)
* Remove toc file link and add warning for windows users
This commit is contained in:
@@ -24,10 +24,10 @@
|
||||
"cell_type": "markdown",
|
||||
"source": [
|
||||
"# Create Jupyter Book\n",
|
||||
" <span style=\"color:red\">**Note**:</span> **Windows users** using **Python 3.8** might be impacted by this known [issue](https://jupyterbook.org/advanced/advanced.html#working-on-windows) on the latest **jupyter book** version.\n",
|
||||
"\n",
|
||||
"This is a notebook to create a [Jupyter Book](https://jupyterbook.org/intro.html), which is an organized collections of Jupyter notebooks.\n",
|
||||
"\n",
|
||||
" \n",
|
||||
"\n",
|
||||
"The best way to use this notebook is by clicking Run all in the toolbar above. This will run all the cells in a step-by-step order so that you can create your Jupyter Book.\n",
|
||||
"\n",
|
||||
" \n",
|
||||
@@ -130,11 +130,10 @@
|
||||
" elif version:\r\n",
|
||||
" if overwrite:\r\n",
|
||||
" shutil.rmtree(book_name)\r\n",
|
||||
" else:\r\n",
|
||||
" # waiting for shutil to remove the directory\r\n",
|
||||
" while os.path.exists(book_name):\r\n",
|
||||
" pass\r\n",
|
||||
" subprocess.check_call(['mkdir', book_name])\r\n",
|
||||
" os.mkdir(book_name)\r\n",
|
||||
" content_folder = os.path.join(content_folder,'')\r\n",
|
||||
" if platform in ['linux', 'darwin']:\r\n",
|
||||
" subprocess.check_call(['cp', '-r',content_folder, book_name])\r\n",
|
||||
|
||||
Reference in New Issue
Block a user