Landing-page JSON-LD description reads "the The free and open source…"

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

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

評価

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

調査の方向性

L436 付近で JSON-LD の description が組み立てられている src/conf.py を読み、次に L85 付近の description_short を確認して、すでに "The " で始まっていることを確かめる。記事が二重にならないようにテンプレートを変更し、docs を再ビルドし、issue にある curl/grep で description が正しく読めることを検証する。完了とは、ランディングページの WebSite JSON-LD に "the" が 1 つだけあり、他の出力が変わっていない状態を指す。

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

説明

Since #222, the docs landing page's WebSite JSON-LD has a doubled article:

curl -s https://docs.activitywatch.net/en/latest/ | grep -o '"description": "[^"]*'
# "description": "Documentation for ActivityWatch, the The free and open source automated time-tracker."

Cause: src/conf.py (~L436) builds f"Documentation for {project}, the {description_short}.", and description_short (~L85) already starts with "The ".

Fix: drop the literal "the", or lowercase-strip the leading "The " from description_short. One line, no behaviour change otherwise.

主要言語
Python
スター
31
フォーク
86
平均マージ
9日 20時間
マージ済み PR(30日)
6

環境構築

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

はじめの一歩

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

ActivityWatch/docs のほかの issue

ActivityWatch/docs の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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