docs(v2): more examples on lifecycle apis, cleanup (#2051)

* docs(v2): more examples on lifecycle apis, cleanup

* typo
This commit is contained in:
Endi 2019-11-26 01:31:57 +07:00 committed by Yangshun Tay
parent 085f522817
commit 91b261af7a
10 changed files with 465 additions and 436 deletions

View file

@ -143,7 +143,7 @@ Should you cut a new documentation version 1.0.1? **You probably shouldn't**. 1.
### Keep the number of versions small
As a good rule of thumb, try to keep the number of your versions below 10. **It is very likely** that you will have a lot of obsolete versioned documentation that nobody even reads anymore. For example, [Jest](https://jestjs.io/versions) for example is currently in version `24.9`, and only maintains several latest documentation version with the lowest being `22.X`. Keep it small 😊
As a good rule of thumb, try to keep the number of your versions below 10. **It is very likely** that you will have a lot of obsolete versioned documentation that nobody even reads anymore. For example, [Jest](https://jestjs.io/versions) is currently in version `24.9`, and only maintains several latest documentation version with the lowest being `22.X`. Keep it small 😊
### Use absolute import within the docs