While nbdev is great for authoring software, you may wish to utilize the power of nbdev for the purposes of documenting existing code, or use various utilities of nbdev without having to write a python library. For example, you can use the following features of nbdev without creating a python package:
#|hide_line
.nbdev_test
.To setup a documentation only site, you can follow these steps:
nbdev_new
rm setup.py .github/workflows/test.yaml nbs/00_core.ipynb
lib_path
field in settings.ini
):rm -rf <lib_path>
After setting up your project, you can use various nbdev utilities per usual:
nbdev_preview
for previewing your sitenbdev_test
for testing your docs locally#|export
).