Skip to content

Commit 0f88658

Browse files
committed
readme
1 parent f254ee2 commit 0f88658

File tree

3 files changed

+47
-2
lines changed

3 files changed

+47
-2
lines changed

CONTRIBUTING.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Contributing to PDFTron - React and React Native sample
2+
3+
## Issues
4+
1. Check existing issues (open/closed) to avoid duplicates.
5+
2. Be clear about what the problem is.
6+
3. Make sure to paste error output or logs.
7+
4. Code snapshot or demos on online code editor will be very helpful.
8+
9+
## Pull requests
10+
1. Fork the repository.
11+
2. Create a branch from `master`.
12+
3. Update the source code using style guides described below.
13+
4. Lint your code with `npm run lint`.
14+
5. Commit and push the changes with descriptive messages.
15+
6. Create a pull request to `master`.
16+
17+
\* Please note that all pull requests should be tied to an issue, and all but the most trivial pull requests should be discussed before hand.
18+
19+
## Style guides
20+
- Tab indentation (size of 2 spaces).
21+
- `'` instead of `"`.
22+
- Curly braces for block statements.
23+
- 1TBS brace style.
24+
- Semicolon at the end of each statement.
25+
- Object shorthand for ES6.
26+
- Parenthesis around arrow function argument.
27+
- Minimum line breaks.
28+
- No `use strict`.

LICENSE

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Copyright 2020 PDFTron Systems Inc. All rights reserved.
2+
PDFTron React and React Native sample or any derived works is only permitted in solutions with an active commercial PDFTron SDK license. For exact licensing terms please refer to your commercial PDFTron license. For use in other scenario, please contact [email protected]

README.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ npm run web
1919

2020
### iOS
2121

22-
1. Install pop
22+
1. Install dependencies
2323

2424
```
2525
cd ios
@@ -46,4 +46,19 @@ sdk.dir=/Users/pdftron/Library/Android/sdk
4646

4747
```
4848
npm run android
49-
```
49+
```
50+
51+
## Guides
52+
53+
- https://www.pdftron.com/documentation/web
54+
- https://www.pdftron.com/documentation/ios
55+
- https://www.pdftron.com/documentation/android
56+
57+
## Contributing
58+
59+
See [contributing](./CONTRIBUTING.md).
60+
61+
## License
62+
63+
See [license](./LICENSE).
64+
![](https://onepixel.pdftron.com/pdftron-react-and-react-native-sample)

0 commit comments

Comments
 (0)