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

Đang mở
#330 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, python, r
Lĩnh vực
documentation, tooling

Hướng nghiên cứu

Bắt đầu với việc tái cấu trúc biểu diễn trung gian nội bộ và xem xét các phần: yêu cầu cấu hình. Tạo nguyên mẫu cho một site hợp nhất từ các đường dẫn cục bộ pkg-py/ và pkg-r/ bằng posit-dev/shinychat hoặc posit-dev/querychat, sau đó điều tra việc phân giải nguồn git giữa các repository. Được xem là hoàn thành khi có một site Python + R hoạt động với điều hướng, tìm kiếm, theme và bộ chọn ngôn ngữ dùng chung.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
282
Fork
24
Merge trung bình
2 giờ 17 phút
Pull request đã merge (30 ngày)
281

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của posit-dev/great-docs

Tất cả issue của posit-dev/great-docs

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.