mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 00:51:06 +00:00
PRDoc new schema (#1946)
## Overview This PR brings in the new version of prdoc v0.0.6 and allows: - local schema - local config - local template It also fixes the existing prdoc files to match the new schema. ## todo - [x] add a brief doc/tldr to help contributors get started - [x] test CI - [x] finalize schema - [x] publish the next `prdoc` cli version (v0.0.7 or above) --------- Co-authored-by: Egor_P <egor@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
+2
-12
@@ -93,22 +93,12 @@ The reviewers are also responsible to check:
|
||||
|
||||
All Pull Requests must contain proper title & description.
|
||||
|
||||
Some Pull Requests can be exempt of `prdoc` documentation, those
|
||||
must be labelled with
|
||||
Some Pull Requests can be exempt of `prdoc` documentation, those must be labelled with
|
||||
[`R0-silent`](https://github.com/paritytech/labels/blob/main/ruled_labels/specs_polkadot-sdk.yaml#L89-L91).
|
||||
|
||||
Non "silent" PRs must come with documentation in the form of a `.prdoc` file.
|
||||
A `.prdoc` documentation is made of a text file (YAML) named `/prdoc/pr_NNNN.prdoc` where `NNNN` is the PR number.
|
||||
For convenience, those file can also contain a short description/title: `/prdoc/pr_NNNN_pr-foobar.prdoc`.
|
||||
|
||||
The CI automation checks for the presence and validity of a `prdoc` in the `/prdoc` folder.
|
||||
Those files need to comply with a specific [schema](https://github.com/paritytech/prdoc/blob/master/schema_user.json). It
|
||||
is highly recommended to [make your editor aware](https://github.com/paritytech/prdoc#schemas) of the schema as it is
|
||||
self-described and will assist you in writing correct content.
|
||||
|
||||
This schema is also embedded in the
|
||||
[prdoc](https://github.com/paritytech/prdoc) utility that can also be used to generate and check the validity of a
|
||||
`prdoc` locally.
|
||||
See more about `prdoc` [here](./prdoc.md)
|
||||
|
||||
## Helping out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user