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

未关闭
#330 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
git, python, r

调研方向

从内部中间表示重构开始,并审查以下部分:配置要求。使用 posit-dev/shinychat 或 posit-dev/querychat,基于本地 pkg-py/ 和 pkg-r/ 路径构建统一站点原型,然后研究跨仓库 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 小时 37 分钟
30 天内合并 PR
272

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

posit-dev/great-docs 的其他 Issue

查看 posit-dev/great-docs 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。