onflow / cadence

Cadence, the resource-oriented smart contract programming language 🏃‍♂️
https://developers.flow.com/cadence
Apache License 2.0
530 stars 139 forks source link

Cadence Documentation by Versions #1500

Open pgebheim opened 2 years ago

pgebheim commented 2 years ago

Issue To Be Solved

Currently the Cadence documentation does not match versions of Cadence. This is particularly problematic because new features which are added / documented are pushed to the documentation site before the feature is live.

Solution

Create cadence documentation by release versions

btspoony commented 2 years ago

Currently, the Cadence documentation is pointed to the master branch.
It has brought confusion to developers because there are some unreleased features in the documentation.

For example: Values And Types is https://github.com/onflow/cadence/blob/master/docs/language/values-and-types.mdx and the last commit is https://github.com/onflow/cadence/commit/7a379bbc5ffb44643ad1b4f3c4eab12ac3441135.

But the latest release version, for now, is 0.23.2. Page 'Values and Types' should be https://github.com/onflow/cadence/blob/v0.23.2/docs/language/values-and-types.mdx and the last commit is https://github.com/onflow/cadence/commit/9c79cb01fa47f5fc56aa9909e02c78341139d792 on 15 Oct 2021.

j1010001 commented 1 year ago

In progress by DevEx team