Proposal to create Markdown equivalent of specification

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
markdown
領域
documentation

調査の方向性

まず、リンク先のHackMD提案を、現在のnumpydoc仕様およびそのReST規約と併せて読んでください。提案されているヘッダー構文、カスタムロール、バージョンの示し方を評価し、そのうえで、その形式が受け入れられるか、またドキュメントエンジンにどのような変更が必要になるかを判断してください。合意された仕様と実装範囲が定まれば完了です。

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

説明

needs-decision

Markdown is, by now, much more commonly used than ReST, and so I wonder if the time hasn't come for us to provide a markdown equivalent to the numpydoc format?

I've taken a first stab at it, and would love to hear what you think:

https://hackmd.io/_EKGyNRbQ2Sx_UJVqur2CA

In the end, the changes were fairly minimal, and can mostly be made with an automated tool.

Questions:

  • Is this worth doing?
  • If so:
    • Which header syntax to use? (I think the current underline syntax—valid markdown—works better than ##)
    • Are the custom introduced roles OK? ({param}, {func}, {class}, {obj}, etc.)
    • How do we signal to documentation engines which version we are using?

Improvements:

  • I think turning single-backticks into an explicit {param}`x` solves a long confusing aspect: when to use single vs double backticks (the prior is for linking to parameters, the latter is for code, FWIW).
主要言語
Python
スター
354
フォーク
185
平均マージ
4分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

numpy/numpydoc のほかの issue

numpy/numpydoc の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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