|
327 | 327 | "outputs": [ |
328 | 328 | { |
329 | 329 | "data": { |
330 | | - "image/svg+xml": [ |
331 | | - "<svg height=\"100\"><circle cx=\"50\" cy=\"50\" r=\"40\"/></svg>" |
332 | | - ], |
| 330 | + "image/svg+xml": "<svg height=\"100\"><circle cx=\"50\" cy=\"50\" r=\"40\"/></svg>", |
333 | 331 | "text/plain": [ |
334 | 332 | "<IPython.core.display.SVG object>" |
335 | 333 | ] |
|
392 | 390 | "cell_type": "markdown", |
393 | 391 | "metadata": {}, |
394 | 392 | "source": [ |
395 | | - "Now you can create your Python module. To do so, just run `nbdev_prepare` from the terminal at the root of your project folder. `nbdev_prepare` bundles the following commands together for you to test your code and build the library. While running `nbdev_prepare` is convenient, you have the flexibility to choose these seperate pieces.\n", |
| 393 | + "Now you can create your Python module. To do so, just run `nbdev_prepare` from the terminal at the root of your project folder. `nbdev_prepare` bundles the following commands together for you to test your code and build the library. While running `nbdev_prepare` is convenient, you have the flexibility to choose these separate pieces.\n", |
| 394 | + "\n", |
396 | 395 | "- `nbdev_export`: Builds the .py modules and library from the jupyter notebook\n", |
397 | 396 | "- `nbdev_test`: Tests all your notebooks\n", |
398 | 397 | "- `nbdev_clean`: Cleans your notebooks to get rid of extreanous output for Github\n", |
|
405 | 404 | "cell_type": "markdown", |
406 | 405 | "metadata": {}, |
407 | 406 | "source": [ |
408 | | - "## Preview The docs\n", |
| 407 | + "## Preview the docs\n", |
409 | 408 | "\n", |
410 | 409 | "If you have not already, you should view your docs in fully rendered form to catch any mistakes. You can preview your documentation site with the command `nbdev_preview`. Note that your docs will build automatically in CI (discussed below)." |
411 | 410 | ] |
|
448 | 447 | "\n", |
449 | 448 | "If you have a red cross, that means something failed. Click on the cross, then click *Details*, and you'll be able to see what failed.\n", |
450 | 449 | "\n", |
451 | | - "#### Automatically Building Docs\n", |
| 450 | + "#### Automatically building Docs\n", |
452 | 451 | "\n", |
453 | 452 | "CI will automatically build docs and deploy them for you. You can see the code for this in `.github/workflows/deploy.yaml`, but you normally don't have to worry about this unless you need to customize something. There might be certain circumstances in which your organization has disabled GitHub pages by default. If this is the case, you can enable Github Pages by clicking on the *Settings* tab in your repo, then click *Pages* on the left side bar. Set \"Source\" to *`gh-pages` branch and the `/root` folder*. Once you've saved, if you refresh that page, Github will have a link to your new website. Copy that URL, and then go back to your main repo page, click \"edit\" next to the description and paste the URL into the \"website\" section. While you're there, go ahead and put in your project description too. \n", |
454 | 453 | "\n", |
|
1041 | 1040 | "split_at_heading": true |
1042 | 1041 | }, |
1043 | 1042 | "kernelspec": { |
1044 | | - "display_name": "Python 3 (ipykernel)", |
| 1043 | + "display_name": "Python 3.9.13 64-bit", |
1045 | 1044 | "language": "python", |
1046 | 1045 | "name": "python3" |
1047 | 1046 | } |
|
0 commit comments