Necessary website changes before the site moves to pouchdb.apache.org
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
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- documentation, web-dev
Hướng nghiên cứu
Trước tiên, hãy xem xét cấu trúc /docs hiện có và PR #9262, vì issue xác định công việc đó đang được thực hiện. Kiểm tra cách workflow build và deployment của site xử lý các ánh xạ URL có phiên bản đã được ghi lại. Được coi là hoàn tất khi các đường dẫn tài liệu cho stable, latest và các bản release cụ thể hoạt động, có widget chuyển đổi phiên bản và các redirect hiện có được giữ nguyên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue
The PouchDB website will move to https://pouchdb.apache.org in the near future. The workflow to build and deploy the site to there is already in place, but the site currently has a variety of new issues that need to be tackled, and we also want to make some structural changes so we can support versioned docs.
This is a super-issue that collects all the necessary steps.
Apache blocks a variety of external domains, so we need to:
- Remove Gravatar for user avatars and pull the images into the repo.
- Remove Google Analytics.
- Remove Google Fonts and add the fonts to the repo, license permitting (fonts are Lato and Open Sans).
- Remove jQuery entirely or pull it into the repo instead of loading from CDN at
https://code.jquery.com/jquery.min.js. - Pull Bootstrap into the repo instead of loading from CDN at
https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js. - Find a way to host
pouchdb.min.jsdirectly without building it on every site deploy. Currently, pouchdb.com hosts the library itself (from a CDN athttps://cdn.jsdelivr.net/npm/pouchdb/dist/pouchdb.min.js) so it can be used in the browser terminal. This is a great feature and should be retained somehow.
Restructure the website so we can have versioned docs
[!NOTE]
There is now a PR for versioned docs: #9262
Similar to how the CouchDB docs work, we’d like to have versioned docs. This should probably cover not only the /api page, but also /guides and /learn. We need:
- The default docs anyone sees when arriving at pouchdb.apache.org to be
stable, eg. the last proper release. - We also want
latest, which shows the docs as the are in themasterbranch - Then we also want versioned docs, eg.
pouchdb.apache.org/8.0.0/api
We do not need to tie this to the actual release process. All of these pages are written by hand, so we can just create a folder structure that maps to PouchDB releases and change whatever needs to be changed manually. My suggestion for the structure:
Versioned URLs and their sources (same files as before, but in versioned directories)
pouchdb.apache.org/9.0.0/api->/docs/9.0.0/api.htmlpouchdb.apache.org/9.0.0/guides/setup-pouchdb.html->/docs/9.0.0/guides/setup-pouchdb.mdpouchdb.apache.org/8.0.0/adapters.html->/docs/8.0.0/adapters.md- etc.
Latest (points to where the files currently are, in the /docs root)
pouchdb.apache.org/latest/api->/docs/api.htmlpouchdb.apache.org/latest/guides/setup-pouchdb.html->/docs/guides/setup-pouchdb.mdpouchdb.apache.org/latest/adapters.html->/docs/adapters.md
Stable/default (eleventy should reference/copy those from the most recent release)
pouchdb.apache.org/api->/docs/9.0.0/api.htmlpouchdb.apache.org/guides/setup-pouchdb.html->/docs/9.0.0/guides/setup-pouchdb.mdpouchdb.apache.org/adapters.html->/docs/9.0.0/adapters.md
Existing URLs that are redirected from the old domain would just continue working. We’d also need a version switching widget in a corner somewhere.
This is all doable with stock eleventy, and I’ll give this a go since I have time and a fairly good idea of how to achieve this.
- Ngôn ngữ chính
- JavaScript
- Star
- 17.6k
- Fork
- 1.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/pouchdb
-
elemMatch throws TypeError: value is null if array has null elementCó thể đã có người làm @henyanagar đã nhận 144 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
unref event is not documentedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Validate database namesĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
Tất cả issue của apache/pouchdb
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
hugomrdias/playwright-test#753 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
KonstantinStarovoytov/kitden#21 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
guybedford/es-module-shims#556 ·
-
app ernst:4-klein
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NewspeedyNL/PidLane#683 ·
Maintainer thường phản hồi trong vòng 1 ngày