summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2018-03-30 05:13:33 -0700
committerMinh Nguyễn <mxn@1ec5.org>2018-03-30 05:13:33 -0700
commit0c66226ac3ba8e1e816fe3211eec45703d5cafd3 (patch)
tree64fc52e55aa4593c3850c37caa5a12c6dfcf0c76
parent3464bfca915d9f1985b93c69cff8597dcf6c005f (diff)
downloadqtlocation-mapboxgl-0c66226ac3ba8e1e816fe3211eec45703d5cafd3.tar.gz
[ios, macos] Mention update-examples in contributing guide
-rw-r--r--platform/ios/DEVELOPING.md2
-rw-r--r--platform/macos/DEVELOPING.md2
2 files changed, 4 insertions, 0 deletions
diff --git a/platform/ios/DEVELOPING.md b/platform/ios/DEVELOPING.md
index 10a94c73f3..b45e5a0e2f 100644
--- a/platform/ios/DEVELOPING.md
+++ b/platform/ios/DEVELOPING.md
@@ -139,6 +139,8 @@ To add an example code listing to the documentation for a class or class member:
to [MGLDocumentationExampleTests](test/MGLDocumentationExampleTests.swift).
Wrap the code you’d like to appear in the documentation within
`//#-example-code` and `//#-end-example-code` comments.
+1. If the header doesn’t already have an example code listing, add the path to
+ the header to platform/darwin/scripts/update-examples.list.
1. Insert the code listings into the headers:
```bash
diff --git a/platform/macos/DEVELOPING.md b/platform/macos/DEVELOPING.md
index 562f1291c2..bac5683266 100644
--- a/platform/macos/DEVELOPING.md
+++ b/platform/macos/DEVELOPING.md
@@ -117,6 +117,8 @@ To add an example code listing to the documentation for a class or class member:
to [MGLDocumentationExampleTests](test/MGLDocumentationExampleTests.swift).
Wrap the code you’d like to appear in the documentation within
`//#-example-code` and `//#-end-example-code` comments.
+1. If the header doesn’t already have an example code listing, add the path to
+ the header to platform/darwin/scripts/update-examples.list.
1. Insert the code listings into the headers:
```bash