AnswerDotAI / AnswerDotAI/nbdev
Support for multiple NBs with same `default_exp`
- 主要言語
- Jupyter Notebook
- スター
- 5.3k
- フォーク
- 513
- 平均マージ
- 2日 30分
- マージ済み PR(30日)
- 8
説明
From the base `nbdev_template` you can duplicate `00_core.ipynb` to make `01_other_core.ipynb` and change the name of the `foo` function declared in this duplicate notebook to `bar`. Then you have two notebooks with the same `default_exp` exporting distinct functions.
The `core.py` generated from then executing `nbdev_export` ignores the `foo` function from `00_core.ipnyb`. And when you run `nbdev_preview`, the sidebar links twice to the same `http://localhost:3000/core.html`.
nbdev1 handles this more cleanly. I think it's an important feature as some awkward decisions around documentationare forced otherwise.
コントリビューションガイド
調査の方向性
Reproduce the case from the base nbdev_template by duplicating 00_core.ipynb, changing foo to bar, and running nbdev_export and nbdev_preview. Trace those entry points to identify why one export is omitted and why the sidebar links twice to core.html; done means both functions are exported and the notebooks receive distinct sidebar links.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter-notebook, python
- 領域
- documentation, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100