models.ts: getCommand doc says a bundle downloads into the current directory

オープン 初心者向け
#340 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
documentation

調査の方向性

まず lib/models.ts:115-120 の getCommand のドキュメントコメントを確認し、次にモデルページとデモカタログで、バンドル全体を対象とするコマンドについて説明しているユーザー向けの文言を調べます。バンドル全体は ./<hash>/ に、単一のエントリは現在のディレクトリに配置されるよう、説明を更新してください。日付入りのブログ記事は変更しないでください。コメントと該当する現在の文言がこれらのパスと一致したら完了です。

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

説明

documentation low-priority

lib/models.ts:115-120 documents getCommand as getting the bundle "into the current directory". Since decdn/decdn 80d49c98, a whole-bundle decdn get decdn:<hash>/ without -o lands in ./<hash>/ (lowercase hex); only an entry URI lands at ./<name> in the current directory.

  • Update the doc comment: the bundle lands in ./<hash>/, a single entry in the current directory.
  • Check user-facing copy that shows this one-liner for a whole bundle (e.g. the model pages / demo catalogue) for the same claim. content/blog/09-testnet-is-live.mdx:39 says the same, but it is a dated post and can stay as written.
主要言語
TypeScript
スター
3
フォーク
0
平均マージ
6時間 29分
マージ済み PR(30日)
59

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

decdn/website のほかの issue

decdn/website の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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