Skip to content

Commit aef1d5b

Browse files
authored
updating docs for release (#1511)
1 parent e694076 commit aef1d5b

File tree

5 files changed

+33
-25
lines changed

5 files changed

+33
-25
lines changed

docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Now is a great time to adopt it and provide feedback before the stable release.
99
* New standalone library! [Shark](shark.md) is the heap analyzer that powers LeakCanary 2, and it can run in any Java VM. It comes with a [CLI](shark.md#shark-cli): you can now run `shark-cli analyze-process com.example.myapp` from your computer.
1010
* New Heap Explorer directly on device! Open a Heap Analysis in LeakCanary, tap the options menu and select "Heap Explorer". This is still experimental and not very user friendly, contributions welcome!
1111
* **Large API rewrite** to improve usability. If you used the alpha with a customized configuration, there are breaking changes. Of note: LeakSentry became [AppWatcher](/api/leakcanary-object-watcher-android/leakcanary/-app-watcher/), RefWatcher became [ObjectWatcher](/api/leakcanary-object-watcher/leakcanary/-object-watcher/), AndroidExcludedRefs became [AndroidReferenceMatchers](/api/shark-android/shark/-android-reference-matchers/), AnalysisResultListener became [OnHeapAnalyzedListener](/api/leakcanary-android-core/leakcanary/-on-heap-analyzed-listener/), AndroidLeakTraceInspectors became [AndroidObjectInspectors](/api/shark-android/shark/-android-object-inspectors/).
12-
* The entire API surface is now documented and the documentation is available on this website: try the search bar at the top and **LeakCanary API** in the navigation menu.
12+
* The entire API surface is now documented and the documentation is available on this website: see the **LeakCanary API** tab at the top.
1313
* Removed the **dependency on Android X**. No more configuration issues! [#1462](https://github.com/square/leakcanary/issues/1462)
1414
* Added **Proguard rules** for LeakCanary and ObjectWatcher. [#1500](https://github.com/square/leakcanary/pull/1500)
1515
* Display LeakCanary version in the About screen. [#1448](https://github.com/square/leakcanary/issues/1448)

docs/contributing.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Contributing
22

3-
If you would like to contribute code to LeakCanary you can do so through GitHub by
4-
forking the repository and sending a pull request.
3+
You are most welcome to contribute code, answer [StackOverflow questions](http://stackoverflow.com/questions/tagged/leakcanary?sort=active), help manage GitHub issues and review pull requests.
54

6-
When submitting code, please make every effort to follow existing conventions
7-
and style in order to keep the code as readable as possible. Please also make
8-
sure your code compiles by running `./gradlew build`.
5+
If you would like to contribute code to LeakCanary you can do so through GitHub by
6+
forking the repository and sending a pull request. When submitting code, please make every effort to follow existing conventions
7+
and style in order to keep the code as readable as possible.

docs/support.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# LeakCanary Support
22

3-
If you're looking for support for LeakCanary:
3+
If you're looking for help with LeakCanary:
44

55
* Learn the [Fundamentals](fundamentals.md)
66
* Try the [code recipes](recipes.md)
77
* Read the [FAQ](https://square.github.io/leakcanary/faq/)
88
* Watch [recorded presentations](recorded-presentations.md)
99
* Read [blog articles](blog-articles.md)
10-
* Check out the StackOverflow [LeakCanary tag](http://stackoverflow.com/questions/tagged/leakcanary?sort=active) and ask a question
11-
12-
Feel free to edit this file to add links to online communities that can help developers investigate LeakCanary leaks.
10+
* Ask a question [on StackOverflow](http://stackoverflow.com/questions/tagged/leakcanary?sort=active)
1311

1412

docs/upgrading-to-leakcanary-2.0.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
LeakCanary 2 is a major rewrite. High level changes:
2+
3+
* New heap analyzer, reimplemented from scratch to use 10 times less memory ([see Shark](shark.md)).
4+
* APIs updated to simplify configuration and provide access to the new heap analyzer.
5+
* Internals rewritten to 100% Kotlin.
6+
* Multiple leaks detected in one analysis, grouped per leak type
7+
18
## Dependencies
29

310
### Before

mkdocs.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ theme:
1919
palette:
2020
primary: 'deep-orange'
2121
accent: 'deep-purple'
22+
feature:
23+
tabs: true
2224

2325
markdown_extensions:
2426
- smarty
@@ -45,27 +47,29 @@ nav:
4547
- 'Fundamentals': fundamentals.md
4648
- 'Code recipes': recipes.md
4749
- 'FAQ': faq.md
48-
- 'Shark': shark.md
49-
- 'Stack Overflow ⏏': https://stackoverflow.com/questions/tagged/leakcanary?sort=active
50+
- 'Change Log': changelog.md
51+
- 'Help & Community':
52+
- 'Support': support.md
53+
- 'Upgrading to LeakCanary 2': upgrading-to-leakcanary-2.0.md
54+
- 'Recorded Presentations': recorded-presentations.md
55+
- 'Blog Articles': blog-articles.md
56+
- 'Stack Overflow ⏏': https://stackoverflow.com/questions/tagged/leakcanary?sort=active
57+
- 'Contributing': contributing.md
58+
- 'Code of Conduct': code_of_conduct.md
59+
- 'Shark':
60+
- 'Overview': shark.md
61+
- 'Shark API':
62+
- 'Shark': api/shark/shark/index.md
63+
- 'Extension: Shark Android': api/shark-android/shark/index.md
64+
- 'Core: Graph': api/shark-graph/shark/index.md
65+
- 'Core: Hprof': api/shark-hprof/shark/index.md
66+
- 'Core: Logs': api/shark-log/shark/index.md
5067
- 'LeakCanary API':
5168
- 'LeakCanary': api/leakcanary-android-core/leakcanary/index.md
5269
- 'ObjectWatcher Android': api/leakcanary-object-watcher-android/leakcanary/index.md
5370
- 'Extension: Instrumentation tests': api/leakcanary-android-instrumentation/leakcanary/index.md
5471
- 'Extension: Separate process': api/leakcanary-android-process/leakcanary/index.md
5572
- 'Core: ObjectWatcher': api/leakcanary-object-watcher/leakcanary/index.md
56-
- 'Shark API':
57-
- 'Shark': api/shark/shark/index.md
58-
- 'Extension: Shark Android': api/shark-android/shark/index.md
59-
- 'Core: Graph': api/shark-graph/shark/index.md
60-
- 'Core: Hprof': api/shark-hprof/shark/index.md
61-
- 'Core: Logs': api/shark-log/shark/index.md
62-
- 'Change Log': changelog.md
63-
- 'Support': support.md
64-
- 'Upgrading to LeakCanary 2': upgrading-to-leakcanary-2.0.md
65-
- 'Blog Articles': blog-articles.md
66-
- 'Recorded Presentations': recorded-presentations.md
67-
- 'Contributing': contributing.md
68-
- 'Code of Conduct': code_of_conduct.md
6973

7074
# Google Analytics. Add export LEAKCANARY_GOOGLE_ANALYTICS_KEY="UA-XXXXXXXXX-X" to your ~/.bashrc
7175
google_analytics:

0 commit comments

Comments
 (0)