Open RemyLeBerre opened 2 months ago
@RemyLeBerre, here is a draft of how we envision the repo structure should look like and the processes around peer review & deployment.
Repos
polkadot-docs
polkadot-mkdocs
Peer review
polkadot-docs
repo, we will always assign reviewers from our side.Deployment process
I would suggest also to use github actions to detect from this (target) repo new releases of relevant source repos (e.g. Polkadot SDK , zombienet, subxt etc .. )
Here below the logic:
I am gathering my thoughts here after being OOO the past week.
As you might know, PaperMoon was given a DF future grant with different work verticals, two being related to Polkadot documentation:
I'll focus on point 2. Being a "heterogeneously sharded" ecosystem does not mean we need sharded documentation. Polkadot is a complex system with many moving parts, so we can't expect everything to live under a single documentation site. But developers building on Polkadot deserve to learn about all the different development paths and tooling the ecosystem offers.
There have been suggestions on how the developer documentation for Polkadot should be. One of the most recent discussions suggested that PaperMoon should contribute directly to GitHub Repos and their README instead of creating a page solely dedicated to that tool. Consequently, we can ensure that the documentation stays relevant and current.
We are against this idea and believe that to provide a good developer experience relevant to developer documentation, it should be provided on a separate page through an explicit framework about presenting documentation. This will generate coherent documentation for developers looking to build on Polkadot. Furthermore, it will help developers get used to the same content flow and cater to all sorts of developers: runtime builders, appchain developers from templates, infrastructure players, smart contract developers, and dApp developers.
A middle ground that was discussed was to ensure that GitHub Repositories have a baseline structure that can be automatically pulled into the documentation site and then work on expanding that. Consequently, you ensure that the tool's main steps are relevant, but you can add extra content on top of them.
We plan to keep the documentation relevant by using GitHub actions to notify the documentation repository of new releases of tools and SDKs. Then, teams owning that content should work on updating the documentation.
Another strategy is to ensure that this is treated as The Polkadot Documentation and that developers of such tools understand the need to go to the content repository and create a PR with the relevant changes. Moreso, if these were treasury-funded, the community could be required to consistently update the appropriate content.
When PaperMoon proposed W3F to lead the development of the Polkadot Developer Hub, we knew we had to work with many different entities and contributors because the project is quite complex. It is challenging for everyone to agree on the right way to move forward. The more people involved in the decision-making process, the harder it is to advance. Therefore, I think the following might work best (this is my opinion, so I am open to suggestions).
In terms of content-ownage:
PaperMoon will work in the Developer Hub documentation framework, informational architecture, and content coordination to be created by the different entities. In addition, PaperMoon will set standards to follow when contributing to the documentation site. To Alberto’s suggestion, we are also working on a simple tool/bot that can create GH Issues based on new releases of relevant repositories that we need to list as we work on documentation. We are also working on an AI Helper (like a RAG bot) that can help enforce standards across all contributors so that documentation seems coherent from a style/brand perspective.
Parity can work on everything that is core Polkadot-SDK that lives in and out of the Polkadot Developer Hub. In my opinion, what should be left in the Polkadot Developer Hub should be things to start guiding developers, but not everything related to the Polkadot-SDK by itself. Nevertheless, any other contributions to content from Parity are always welcomed.
W3F technical educators can help with Polkadot-SDK, ink!, ecosystem tooling, and “philosophical” content. They should help ensure they can provide bandwidth, as a lot of content will need to be created, updated, etc.
Summary This KR is to track the progress wrt to the new Polkadot Developer Hub. Any and all information surrounding this coordination between Papermoon <> Distractive <> Parity <> W3F should be posted here.