Evaluate alternative static site generators
Maintainer thường phản hồi trong vòng 4 ngày
@muuki88 đang làm issue này rồi.
Từ ngày 4/5/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
With the upcoming prebid 8 release we again have the question on how to handle this in the documentation.
We have a prebid releases page in the references section, which gives a nice overview, but the documentation is lacking some info
- is this module/feature/config only supported in my prebid version as well?
- where can I find the specific documentation for my version
Currently, we solve this by adding meta data to bidders or specific configs/modules if there's a restriction on a prebid version.
🎯 Goals
There are a few goals we would like to achieve
- Allow a versioned documentation to time travel to the correct version
- Get rid of annotations in the documentation when to use what
- Always up-to-date download page
- separate versions for the different prebid projects along with a documented and implemented release process
- prebid.js
- prebid server (go & java)
- prebid mobile
- Reduce friction between code and documentation
- no documentation PRs required for prebid.js changes
- generated API documentation, reducing the chance of out-dated-api docs. Might be possible thanks to https://github.com/prebid/Prebid.js/pull/12879 in the future
- Reduce code review remarks by
- required types for certain layouts
- enum / string literal union types for allowed values
- Replace tables where possible with a more responsive / mobile friendly layout
✅ Requirements
- Easy to contribute like now - open a PR and change a markdown file
- Migration with as a little as possible directory structure changes. See #5630 for a list of important pages
/download.html
/dev-docs/bidders.html
/dev-docs/publisher-api-reference/setConfig.html
/
/prebid/prebidjs.html
/dev-docs/getting-started.html
/dev-docs/pbs-bidders.html
/dev-docs/modules/userId.html
/dev-docs/examples/basic-example.html
/prebid-server/overview/prebid-server-overview.html
/dev-docs/bidder-adaptor.html
/adops/step-by-step.html
/dev-docs/publisher-api-reference.html
/troubleshooting/troubleshooting-guide.html
/dev-docs/adunit-reference.html
/overview/intro.html
- Algolia support for site search
- SEO support
- bidder.csv data
- Migrate all existing customizations
- Google Analytics page view tracking
🔧 Customizations
There are a couple of customizations and extensions in the code base.
Generating tables and list from front matter meta data
We use jekyll meta data to generate listings of things.
Using the layout meta data to provide a list of certain module types, e.g. layout: bidder or layout: userid
https://github.com/prebid/prebid.github.io/blob/5d9377d92983ca176795f705847e7b5a67f9c4fc/dev-docs/bidders.md?plain=1#L23
Search Input Fields
Download Page
This page enables users to download a prebid.js distribution with the selected modules
https://github.com/prebid/prebid.github.io/blob/master/assets/js/download.js
🦖 Docusaurus
Docusaurus overs most of the needed features. However the devil is in the detail.
A super rough prototype can be found here: https://github.com/prebid/prebid.github.io/tree/docusaurus
Multiple versioned folders
Versioning is possible: https://docusaurus.io/docs/versioning
Also with multiple content roots: https://docusaurus.io/docs/docs-multi-instance
However displaying those different versions is not natively supported yet:
https://github.com/facebook/docusaurus/issues/5415
Build dynamic page content
Docusaurus currently has no way to build dynamic page content based on all existing pages. See the full discussion here, which contains some options on how to solve this (for us at least)
https://github.com/facebook/docusaurus/discussions/4045#discussioncomment-11059746
❓ Questions
How to communicate bidder changes in a subversion?
If there's a none breaking change in a bidder, e.g. adding TCF support, how do we communicate this change?
Status quo: we don't. The latest documentation reflects the latest state of prebid
This the behaviour we could keep. When you refer to a major version, e.g. pbjs 8 , this will always mean "the latest version of prebid.js 8 available right now".
- Ngôn ngữ chính
- HTML
- Star
- 85
- Fork
- 1.4k
- Merge trung bình
- 6 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 95
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 prebid/prebid.github.io
-
Expand out event definitions with object and typesCó thể đã có người làm @patmmccann đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
prebid/prebid.github.io#6968 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
prebid/prebid.github.io#6967 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Instream video example: JW Player library URL returns 403Có thể đã có người làm @patmmccann đã nhận 3 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
prebid/prebid.github.io#6904 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Download page monitoringCó thể đã có người làm @patmmccann đã nhận 23 ngày trước. Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 22/100
prebid/prebid.github.io#6165 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Document Analytics Events for various Prebid Server eventsCó thể đã có người làm @muuki88 đã nhận 1036 ngày trước. Đang mở
prebid/prebid.github.io#5073 · 4 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 4 ngày