Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`nbdev_clean` documentation partly wrong

オープン
#1,480 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
jupyter-notebook, python
領域
documentation

調査の方向性

nbdev_clean のリンクされた API ドキュメントの項目から始め、fname の説明を issue に記載されているコマンドの動作と比較します。単一の notebook 名またはパスと、サポートされていない複数ファイルおよび glob 引数を区別するようにドキュメントを更新し、その後、ドキュメント化された例を検証します。

索引モデルが issue の本文から書いたものです。

説明

bug

I was trying out nbdev_clean and I realized the documentation is not completely right, which caused me some confusion.
In the documentation (https://nbdev.fast.ai/api/clean.html#nbdev_clean) it says:

fname str None A notebook name or glob to clean

but this is not true, it accepts a single notebook name or a path, but not a glob (see detailed below). Maybe this should be changed to avoid confusion, cause it took me a while to understand what works and what doesn't, and I only figured with the help of old issues.

what works:

  • one single file (e.g. nbdev_clean --fname nb1.ipynb)
  • a path (e.g. nbdev_clean --fname ./)

what does not work:

  • passing several files (e.g. nbdev_clean --fname nb1.ipynb nb2.ipynb)
  • a glob (e.g. nbdev_clean --fname *.ipynb)
  • a path with a glob (e.g. nbdev_clean --fname ./*.ipynb)

Very cool library and features otherwise!

主要言語
Jupyter Notebook
スター
5.3k
フォーク
517
平均マージ
1分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AnswerDotAI/nbdev のほかの issue

AnswerDotAI/nbdev の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。