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

USWDS-Tutorial - Bug: Inconsistent reference to theme directory in gulpfile.js

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
90/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
documentation

調査の方向性

まず、パート2のステップ7とパート7のステップ3のチュートリアルの内容を見つけ、gulpfile.jsの例を比較します。テーマディレクトリへの一貫性のない参照を修正して、両方のステップで意図した値を使用するようにし、周辺の手順にも一貫性が保たれていることを確認します。

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

説明

Needs: Confirmation Status: Triage Type: Bug
Describe the bug

In the instructions, in Part Two, Step 7, you instruct us to set the theme path in gulpfile.js:
uswds.paths.dist.theme = './_theme';

Later, in Part Seven, Step 3, the value is displayed while instructing us to set the project Sass source directory in the gulpfile.js but the value has had the initial underscore removed:

uswds.paths.dist.theme = './theme';
uswds.paths.src.projectSass = './assets/css';
Steps to reproduce the bug
  1. Go to Part Two, Step 7 and note the value of the theme directory being set.
  2. Go to Part Seven, Step 3, and not the value displayed for the same setting being different than above.
Expected Behavior
  1. Expect that values between steps that we aren't told to change remain the same for consistency sake and reduce confusion.
Related code

No response

Screenshots

Part Two, Step 7, the setting of the value:
Image

Part Two, Step 8, showing the value again in context of step 8's additions:
Image

Part Seven, Step 3, showing the value again in the context of the change, but its different than before:
Image

System setup
  • USWDS Version: 3.14.0
  • Device: Laptop
  • Operating System: Windows 11 Enterprise
  • Browser and version: Chrome Version 153.0.8010.54 (Official Build) (64-bit)
Additional context

I believe -- and sincerely hope -- that this is a simple typo which led to consistency between the steps.

Code of Conduct
主要言語
HTML
スター
45
フォーク
36
平均マージ
30分
マージ済み PR(30日)
1

環境構築

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

はじめの一歩

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

uswds/uswds-tutorial のほかの issue

uswds/uswds-tutorial の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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