瀏覽代碼

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 7 年之前
父節點
當前提交
6033c13f6e
共有 7 個文件被更改,包括 2 次插入5 次删除
  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!")