diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index bf8553b5e4fc0a51619ba2f0ff52626bd977bd2f..0000000000000000000000000000000000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,40 +0,0 @@ - -version: 2 -jobs: - ios: - macos: - xcode: "10.2.1" - steps: - - checkout - - run: - name: Install Dependencies - command: scripts/install.ios.sh - - run: - name: npm install - command: npm install - - run: - name: iOS unit tests - command: 'npm run test-unit-ios' - - run: - name: Detox iOS e2e tests - command: 'npm run test-e2e-ios-release' - android: - macos: - xcode: "10.2.1" - steps: - - checkout - - run: - name: Install Android - command: scripts/install.android.sh - - run: - name: npm install - command: npm install - - run: - name: Android unit tests - command: 'npm run test-unit-android' -workflows: - version: 2 - test: - jobs: - - ios - - android \ No newline at end of file diff --git a/.npmignore b/.npmignore index 3edb07ad469ad593fa9753af29c805f1c7a43acb..fbef6383cc9296b153628a545650d979b2cf3fe7 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,9 @@ example/ test/ RNNotifications/DerivedData node_modules/ +website/ +docs/ +docs_old/ .eslintrc *.yml @@ -10,4 +13,5 @@ coverage/ android/.idea android/build/ .idea -.history/ \ No newline at end of file +.history/ +.github/ \ No newline at end of file diff --git a/docs/installation-ios.md b/docs/installation-ios.md index 388be1d9cb0e7d99e4d005e19987dc4660258c2e..0e43f5e677f703f98c574d7a98836a85eb79fa94 100755 --- a/docs/installation-ios.md +++ b/docs/installation-ios.md @@ -14,11 +14,11 @@ Start by running this: $ npm install react-native-notifications --save ``` -## iOS -First, [Manually link](https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking) the library to your Xcode project. +Then, [Manually link](https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking) the library to your Xcode project. -Then, to enable notifications support add the following line at the top of your `AppDelegate.m` + +To enable notifications support add the following line at the top of your `AppDelegate.m` ```objective-c #import "RNNotifications.h" diff --git a/website/i18n/en.json b/website/i18n/en.json index 88c699f87de73980cc7fb8ef22918c1ccdba81f2..5ff47e5833da55a65b659a392a206045cbb59f71 100644 --- a/website/i18n/en.json +++ b/website/i18n/en.json @@ -48,15 +48,10 @@ }, "links": { "Docs": "Docs", - "API": "API", - "Help": "Help", - "Blog": "Blog" + "API": "API" }, "categories": { "Installation": "Installation", - "Subscription": "Subscription", - "Notification Events": "Notification Events", - "Advanced API - iOS": "Advanced API - iOS", "Commands": "Commands", "Events": "Events" } diff --git a/website/pages/en/index.js b/website/pages/en/index_.js similarity index 96% rename from website/pages/en/index.js rename to website/pages/en/index_.js index 77d657aeea47efa19921ed8f73806091ec9f5fc8..566c44fd28f9eb951244d4e49c83d2c3c2b89d91 100755 --- a/website/pages/en/index.js +++ b/website/pages/en/index_.js @@ -197,12 +197,12 @@ class Index extends React.Component {
- - - - - - + {/* */} + {/* */} + {/* */} + {/* */} + {/* */} + {/* */}
); diff --git a/website/sidebars.json b/website/sidebars.json index 67e50c7f0c96a267d5c6cfb01ad22893a05352bf..a12d5d4737cf179b9219bac3cd3801dff8be1aa4 100755 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -1,9 +1,6 @@ { "docs": { - "Installation": ["installation-ios", "installation-android"], - "Subscription": ["doc2"], - "Notification Events": ["doc3"], - "Advanced API - iOS": ["doc3"] + "Installation": ["installation-ios", "installation-android"] }, "api": { "Commands": ["general-api", "ios-api", "android-api"], diff --git a/website/siteConfig.js b/website/siteConfig.js index dc7e98e383e535fe79fcfa0c06b763760534ce7c..9110543b6f8e72a71e7a88a2e552ff9497684920 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -10,20 +10,20 @@ // List of projects/orgs using your project for the users page. const users = [ - { - caption: 'User1', - // You will need to prepend the image path with your baseUrl - // if it is not '/', like: '/test-site/img/image.jpg'. - image: '/img/undraw_open_source.svg', - infoLink: 'https://www.facebook.com', - pinned: true, - }, + // { + // caption: 'User1', + // // You will need to prepend the image path with your baseUrl + // // if it is not '/', like: '/test-site/img/image.jpg'. + // image: '/img/undraw_open_source.svg', + // infoLink: 'https://www.facebook.com', + // pinned: true, + // }, ]; const siteConfig = { title: 'React native notifications', // Title for your website. tagline: 'Documentation', - url: 'https://wix.github.io.com', // Your website URL + url: 'https://wix.github.io', // Your website URL baseUrl: '/react-native-notifications/', // Base URL for your project */ // For github.io type URLs, you would set the url and baseUrl like: // url: 'https://facebook.github.io', @@ -31,7 +31,7 @@ const siteConfig = { // Used for publishing and more projectName: 'react-native-notifications', - organizationName: 'wix', + organizationName: 'Wix', // For top-level user or org sites, the organization is still the same. // e.g., for the https://JoelMarcey.github.io site, it would be set like... // organizationName: 'JoelMarcey' @@ -40,8 +40,8 @@ const siteConfig = { headerLinks: [ {doc: 'installation-ios', label: 'Docs'}, {doc: 'general-api', label: 'API'}, - {page: 'help', label: 'Help'}, - {blog: true, label: 'Blog'}, + // {page: 'help', label: 'Help'}, + // {blog: true, label: 'Blog'}, ], // If you have users set above, you add it here: @@ -104,7 +104,7 @@ const siteConfig = { // You may provide arbitrary config keys to be used as needed by your // template. For example, if you need your repo's URL... - // repoUrl: 'https://github.com/facebook/test-site', + repoUrl: 'https://github.com/wix/react-native-notifications', }; module.exports = siteConfig; diff --git a/website/static/index.html b/website/static/index.html new file mode 100644 index 0000000000000000000000000000000000000000..c1fa2a5a2360ee6101a4cf0255734c3587adb7ed --- /dev/null +++ b/website/static/index.html @@ -0,0 +1,14 @@ + + + + + + + Your Site Title Here + + + If you are not redirected automatically, follow this link. + + \ No newline at end of file