Inconsistencies between docs & integration test examples

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
documentation

調査の方向性

Compare the documentation examples with the integration test examples, starting with the user-defined axes page linked in the issue and its corresponding test example. Check both the code snippets and the identifiers used for examples and reference images. The synchronization is complete when the docs match the tested examples and the expected plots are picked up.

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

説明

docs infrastructure testing

With the refactor in #123 the associated bug fix PRs, there have been changes to the examples both in terms of the code snippets themselves and the ID used to tag them (usually a number perhaps with a letter prefix but not always). Therefore much of the docs examples are now out of date from what we test and generate the corresponding plots on. And some plots that should get embedded are not being picked up because the identifier in the reference image no longer matches that quoted (see e.g. https://ncas-cms.github.io/cf-plot/user_defined.html#example-21a-user-defined-axes).

They should be synchronised ASAP so the live docs are accurate.

Ideally we can go beyond that and draw both the docs and integration test code from the same source to ensure they remain in sync going forward too, but I am yet to decide the best solution to achieve this. So for the upcoming bug-fix release I will syncronise only. And later think of the long-term solution.

主要言語
Python
スター
21
フォーク
11
平均マージ
2日 21時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

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

NCAS-CMS/cf-plot のほかの issue

NCAS-CMS/cf-plot の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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