feat: unified Python + R documentation sites (multi-language adapter)

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
git, python, r

調査の方向性

内部中間表現のリファクタリングから始め、次のセクションを確認します:設定要件。ローカルの pkg-py/ と pkg-r/ のパスを使用し、posit-dev/shinychat または posit-dev/querychat で統合サイトのプロトタイプを作成してから、リポジトリ間の git ソース解決を調査します。完了の定義は、ナビゲーション、検索、テーマ、言語セレクターを共有する、動作する Python + R サイトです。

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

説明

We'd like to add support for unified documentation sites for projects using multiple programming languages (starting with the Python + R combination) so packages like shinychat and querychat can migrate their sites.

In both cases, the sites have custom landing pages that ask a user which sub-site (Python or R) to navigate to. We could make it so that there's a single Great Docs site that unifies both (one navbar, search index, and theme). Internally we have this spec'd out and this involves:

  • a new sections: config key
  • an R adapter that parses roxygen2 output to produce the same intermediate representation as the Python pipeline
  • a section selector widget in the navbar for switching between languages

Both posit-dev/shinychat and posit-dev/querychat are monorepos with pkg-py/ and pkg-r/ subdirectories and are nice test cases for this work. We need to: (1) start with an internal IR refactor, (2) prototype a working Python + R site for shinychat or querychat from local paths, and (3) add cross-repo git source resolution (this is for getting one docs site built from sources in multiple repos).

cc: @gadenbuie

主要言語
Python
スター
282
フォーク
24
平均マージ
2時間 17分
マージ済み PR(30日)
281

環境構築

はじめの一歩

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

posit-dev/great-docs のほかの issue

posit-dev/great-docs の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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