Closed DanteOz closed 2 years ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
In order to get docs to render I had to refactor non-exported cells containing imports and code into separate cells. This comes from a couple of discussions on fastai-dev
channel on discord.
1) Don't mix imports and code cells, for cells which are not exported. 2) Cells run when building docs:
#| export
Rules synthesized from discord threads: 1) https://discord.com/channels/689892369998676007/996087844164620438/996143002760265728 2) https://discord.com/channels/689892369998676007/1003478679021703178/1003514785901588574
@ohmeow In order to get the docs sidebar to be hierarchical I had to create a sidebar.yml
file in the nbs
folder. If you decide to create a new notebook it will have to be added to this file in order to show up in the sidebar. The structure of the docs is currently the same as the existing docs, however, the new docs generate the sidebar items from the notebook markdown titles. I left the titles as is for now. Let me know if you want me to take a pass at retitling/shortening the notebook titles.
Reference sidebar.yml
: https://github.com/fastai/fastai/blob/master/nbs/sidebar.yml
Update blurr to utilize nbdev v2. Following: https://nbdev.fast.ai/migrating.html
Migration Tasks
Update checks