Parcourir la source

Move files to .github subfolder to reduce repository clutter on GitHub (#59)

* Move files to .github subfolder to reduce repository clutter on GitHub
* Remove hello.py
* Move API generation code to .github subfolder
Thibaud Colas il y a 7 ans
Parent
commit
6033c13f6e
7 fichiers modifiés avec 2 ajouts et 5 suppressions
  1. 0 0
      .github/CODE_OF_CONDUCT.md
  2. 0 0
      .github/CONTRIBUTING.md
  3. 0 0
      .github/api.py
  4. 0 0
      .github/logo.svg
  5. 1 1
      .travis.yml
  6. 1 1
      README.md
  7. 0 3
      hello.py

CODE_OF_CONDUCT.md → .github/CODE_OF_CONDUCT.md


CONTRIBUTING.md → .github/CONTRIBUTING.md


api.py → .github/api.py


logo.svg → .github/logo.svg


+ 1 - 1
.travis.yml

@@ -5,7 +5,7 @@ before_script:
 - gem install awesome_bot
 script:
 - awesome_bot README.md --allow-redirect --allow-dupe --allow-ssl
-- mkdir -p dist/api/v1/ && python api.py
+- mkdir -p dist/api/v1/ && python .github/api.py
 branches:
   except:
   - gh-pages

+ 1 - 1
README.md

@@ -237,7 +237,7 @@ Awesome Wagtail [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38
 ## Contribute
 
 Contributions are always welcome!
-Please read the [contribution guidelines](CONTRIBUTING.md) first.
+Please read the [contribution guidelines](.github/CONTRIBUTING.md) first.
 
 ## License
 

+ 0 - 3
hello.py

@@ -1,3 +0,0 @@
-# Gives the GitHub repo a Python flavour
-def hello():
-    print("Hello world!")