Markdown linter (#1309)

* Add markdown linting

- add linter default rules
- adapt rules to current code
- fix the code for linting to pass
- add CI check

fix #1243

* Fix markdown for Substrate
* Fix tooling install
* Fix workflow
* Add documentation
* Remove trailing spaces
* Update .github/.markdownlint.yaml

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Fix mangled markdown/lists
* Fix captalization issues on known words
This commit is contained in:
Chevdor
2023-09-04 11:02:32 +02:00
committed by GitHub
parent 830fde2a60
commit a30092ab42
271 changed files with 6289 additions and 4450 deletions
+4 -4
View File
@@ -22,16 +22,16 @@ because of cumulative calculation errors and hence should be avoided.
### Dispatchable Functions
* `set` - Sets the current time.
- `set` - Sets the current time.
### Public functions
* `get` - Gets the current time for the current block. If this function is called prior to
- `get` - Gets the current time for the current block. If this function is called prior to
setting the timestamp, it will return the timestamp of the previous block.
### Config Getters
* `MinimumPeriod` - Gets the minimum (and advised) period between blocks for the chain.
- `MinimumPeriod` - Gets the minimum (and advised) period between blocks for the chain.
## Usage
@@ -78,6 +78,6 @@ the Timestamp module for session management.
## Related Modules
* [Session](https://docs.rs/pallet-session/latest/pallet_session/)
- [Session](https://docs.rs/pallet-session/latest/pallet_session/)
License: Apache-2.0