DOC: Two improvements to the documentation of CPT

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
html, javascript
領域
documentation

調査の方向性

Start with the CPT documentation page at docs.generic-mapping-tools.org/dev/reference/cpts.html and review how its current static figures are generated and organized. The issue proposes further reading, interactive CPT browsing, and new categories, but leaves the approach open; discuss and agree on scope before implementation. Done means the documentation reflects the agreed changes and presents CPTs in the agreed categories.

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

説明

Here is the link to the current documentation for CPT (https://docs.generic-mapping-tools.org/dev/reference/cpts.html). I'd like to propose the following changes.

  1. Recommend that users read the following paper (or maybe there are some other better papers/materials for further reading):

Crameri, F., G.E. Shephard, and P.J. Heron (2020), The misuse of colour in science communication, Nature Communications, 11, 5444, https://doi.org/10.1038/s41467-020-19160-7

  1. Currently, the CPTs are displayed as static images. Maybe we could implement a page like cpt-city (https://phillips.shef.ac.uk/pub/cpt-city/arendal) using JS or pure HTML (I just recalled that I made a try a few years ago using JS, which works fine, but I didn't finish it and can't find it now).

  2. Currently, the CPTs are grouped in 4 separate figures by sections (e.g., gmt, cmocean), but as a user, I usually don't care about the section name. If we follow the Crameri's paper, maybe we should show the CPTs into categories like "Diverging", "Sequencial", "Multi-Sequencial" (mostly for Earth relief, maybe just call them "Earth relief specific"), and "Cyclic".

Above are just my random thoughts, so discussions and comments are welcome.

主要言語
C
スター
997
フォーク
420
平均マージ
13時間 27分
マージ済み PR(30日)
47

環境構築

はじめの一歩

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

GenericMappingTools/gmt のほかの issue

GenericMappingTools/gmt の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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