nbdev
nbdev copied to clipboard
Create delightful software with Jupyter Notebooks
```python from nbdev import show_doc # this gets ignored MY_CONST = 'hello' # this gets ignored # this shows hello not MY_CONST showdoc(MY_CONST) ```
### Motivation Improve integration with pre-commit ### Expected behavior Can use the nbdev_clear without having a `nbdev` config at `settings.ini` or to implicit pass `args: ['-fname', 'mydir/']` at pre-commit config....
With the following in a code cell: ``` #| export def XCORS_trim_to_time( f:str, start:str, stop:str): pass ``` and this in a following cell: ``` show_doc(XCORS_trim_to_time) ``` I get the correct...
hello, is there a way to mark all cells with a flag so that conditional testing can be used? In `nbdev1`, we had `# all_slow`, for v2, I'm aware of...
# Provide a minimally reproducible example I have another issue (see here: https://github.com/fastai/nbdev/issues/1279) and have changed my workflow files accordingly. I ran `nbdev_prepare` and `nbdev_preview` and `nbdev_docs` all ran successful...
Hi. I've got an issue with hooks not being found in JupyterLab. First of all, both my terminal and my JupyterLab instance are running on the same activated conda environment....
# MWE ```sh $ mkdir example $ cd example $ nbdev_new $ cd nbs $ code 00_core.ipynb ``` How can I use `default_exp` to instead of exporting to `example.core` I...
See template [issue 13](https://github.com/fastai/nbdev-template/issues/13)
As stated in the title. Since a main features of `nbdev` is packaging it makes sense to at least include `conda_user` (only knew to add it after running into a...
# MWE ```sh $ mkdir example $ cd example $ nbdev_new $ code .gitignore ``` notice that ```.gitignore # Distribution / packaging .Python env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/...