Skip to content

Commit

Permalink
move to celeste for repo maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Nov 3, 2018
1 parent 7aa428d commit b3bd049
Show file tree
Hide file tree
Showing 13 changed files with 1,102 additions and 160 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: ruby
rvm:
- 2.2
script: bundle exec ruby dedup.rb && bundle exec ruby validate.rb
sudo: false
language: node_js
node_js:
- "10"
script:
- yarn ci:pr
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then yarn ci:weekly; fi


6 changes: 0 additions & 6 deletions Gemfile

This file was deleted.

21 changes: 0 additions & 21 deletions Gemfile.lock

This file was deleted.

8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ install:
@npm i -g gh-deploy
@gem install jill
@pip install -r requirements.txt
sort:
sorted-mkdn README.md > README_SORTED.md
mv README_SORTED README.md
yarn toc
docs:
@rm -rf docs
@mkdir docs
Expand All @@ -23,11 +19,7 @@ publish: docs
serve: docs
@mkdocs serve

check:
@bundle exec ruby dedup.rb && bundle exec ruby validate.rb

stars:
@sh starify.sh

.PHONY: docs publish serve check stars install

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ Content published on the Web.
* [How to Use the ListView Component](https://medium.com/@spencer_carli/react-native-basics-how-to-use-the-listview-component-a0ec44cf1fe8#.ur0hyi3h9)
* [How to upload photo/file in react-native](https://github.com/g6ling/React-Native-Tips/tree/master/How_to_upload_photo%2Cfile_in%20react-native)
* [Preview your Android & iOS React Native apps on your Github Pull Request](http://tech.m6web.fr/preview-android-ios-react-native-on-github-pull-request/)
* [Blueprint to becoming a React Native Developer](https://medium.com/@spencer_carli/blueprint-to-becoming-a-react-native-developer-6cad2b894887#.t3uw4j4u8)
* [Change splash screen in React Native Android app](https://android.jlelse.eu/change-splash-screen-in-react-native-android-app-d3f99ac1ebd1#.pgjimxpgg)
* [Remote Push Notifications with OneSignal](https://medium.com/differential/react-native-push-notifications-with-onesignal-9db6a7d75e1e#.d0zob0pdw)
* [Release React Native App to Android Play Store](https://shift.infinite.red/simple-react-native-android-releases-319dc5e29605)
Expand Down
7 changes: 7 additions & 0 deletions celeste-config-pr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
plugins: {
dedupLinks: true,
brokenLinks: true,
sortByStars: true,
}
}
9 changes: 9 additions & 0 deletions celeste-config-weekly.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
plugins: {
dedupLinks: true,
brokenLinks: true,
fetchStars: true,
sortByStars: true,
toc: true
}
}
35 changes: 0 additions & 35 deletions dedup.rb

This file was deleted.

15 changes: 4 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
{
"scripts": {
"toc": "doctoc README.md",
"ci:pr": "celeste -c celeste-config-pr.js -f README.md --out out.md",
"ci:weekly": "celeste -c celeste-config-weekly.js -f README.md --out out.md && mv out.md README.md",
"refresh-site": "make docs && make publish"
},
"dependencies": {
"doctoc": "^1.3.0",
"remark": "^9.0.0",
"remark-cli": "^5.0.0",
"remark-parse": "^5.0.0",
"remark-preset-lint-recommended": "^3.0.2",
"remark-stringify": "^5.0.0",
"remark-toc": "^5.0.0",
"unified": "^7.0.0",
"unified-stream": "^1.0.2"
"celeste": "^0.9.0"
}
}
}
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
mkdocs>=0.16
pymdown-extensions>=1.2
sorted-mkdn>=0.1.2
pymdown-extensions>=1.2
4 changes: 0 additions & 4 deletions starify.sh

This file was deleted.

53 changes: 0 additions & 53 deletions validate.rb

This file was deleted.

Loading

0 comments on commit b3bd049

Please sign in to comment.