From 3382e7a8a68f86a4cc5635c4a31831cfb586e962 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 29 Sep 2015 12:33:13 +0200 Subject: [PATCH] repo-template --- .editorconfig | 16 +++++++++++ CONTRIBUTING.md | 39 +++++++++++++++++++++++++++ README.md | 14 ++++++++++ composer.json | 6 +++++ composer.lock | 65 --------------------------------------------- openshift.mk | 18 ------------- public/favicon.ico | Bin 0 -> 152126 bytes public/favicon.svg | 14 ++++++++++ views/layout.phtml | 3 ++- 9 files changed, 91 insertions(+), 84 deletions(-) create mode 100644 .editorconfig create mode 100644 CONTRIBUTING.md create mode 100644 README.md delete mode 100644 composer.lock delete mode 100644 openshift.mk create mode 100644 public/favicon.ico create mode 100644 public/favicon.svg diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..84c9933 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +; see http://editorconfig.org +root = true + +[*] +end_of_line = lf +insert_final_newline = true +indent_style = tab +charset = utf-8 +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.json] +indent_style = space +indent_size = 4 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..968bd44 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,39 @@ +# Contributor Code of Conduct + +As contributors and maintainers of this project, and in the interest of +fostering an open and welcoming community, we pledge to respect all people who +contribute through reporting issues, posting feature requests, updating +documentation, submitting pull requests or patches, and other activities. + +We are committed to making participation in this project a harassment-free +experience for everyone, regardless of level of experience, gender, gender +identity and expression, sexual orientation, disability, personal appearance, +body size, race, ethnicity, age, religion, or nationality. + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery +* Personal attacks +* Trolling or insulting/derogatory comments +* Public or private harassment +* Publishing other's private information, such as physical or electronic + addresses, without explicit permission +* Other unethical or unprofessional conduct. + +Project maintainers have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct. By adopting this Code of Conduct, project +maintainers commit themselves to fairly and consistently applying these +principles to every aspect of managing this project. Project maintainers who do +not follow or enforce the Code of Conduct may be permanently removed from the +project team. + +This code of conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by opening an issue or contacting one or more of the project maintainers. + +This Code of Conduct is adapted from the +[Contributor Covenant](http://contributor-covenant.org), version 1.2.0, +available at http://contributor-covenant.org/version/1/2/0/. diff --git a/README.md b/README.md new file mode 100644 index 0000000..61e37ae --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# mdref + +Naive Markdown Documentation browser. Live at https://mdref.m6w6.name/. + +## License + +mdref is licensed under the 2-Clause-BSD license, which can be found in +the accompanying [LICENSE](./LICENSE) file. + +## Contributing + +All forms of contribution are welcome! Please see the bundled +[CONTRIBUTING](./CONTRIBUTING.md) note for the general principles followed. + diff --git a/composer.json b/composer.json index 726f6d3..9ff5f9c 100644 --- a/composer.json +++ b/composer.json @@ -2,4 +2,10 @@ "name": "m6w6/mdref", "description": "Quick Markdown Reference Browser", "license": "BSD-2-Clause", + "authors": [ + { + "name": "Michael Wallner", + "email": "mike@php.net" + } + ] } diff --git a/composer.lock b/composer.lock deleted file mode 100644 index 9336059..0000000 --- a/composer.lock +++ /dev/null @@ -1,65 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" - ], - "hash": "6fce67cace9f9c420e3ef4784880df8a", - "packages": [ - { - "name": "m6w6/autocracy", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/m6w6/autocracy.git", - "reference": "ccf41b290a1ea26eae5e427c9636a2235d089bd0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/m6w6/autocracy/zipball/ccf41b290a1ea26eae5e427c9636a2235d089bd0", - "reference": "ccf41b290a1ea26eae5e427c9636a2235d089bd0", - "shasum": "" - }, - "type": "library", - "autoload": { - "psr-0": { - "http\\Controller": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Michael Wallner", - "email": "mike@php.net" - } - ], - "description": "http\\Controller preserves your autocracy", - "homepage": "http://github.com/m6w6/autocracy", - "keywords": [ - "controller", - "http", - "pecl", - "pecl_http" - ], - "time": "2013-12-18 14:21:23" - } - ], - "packages-dev": [ - - ], - "aliases": [ - - ], - "minimum-stability": "stable", - "stability-flags": { - "m6w6/autocracy": 20 - }, - "platform": [ - - ], - "platform-dev": [ - - ] -} diff --git a/openshift.mk b/openshift.mk deleted file mode 100644 index 0ecaa0f..0000000 --- a/openshift.mk +++ /dev/null @@ -1,18 +0,0 @@ -PHP = $(OPENSHIFT_DATA_DIR)/php/bin/php - -all: vendor - -.PHONY: all - -vendor: composer.lock - $(PHP) composer.phar install - mkdir vendor 2>/dev/null || touch vendor - -composer.lock: composer.json - $(PHP) composer.phar update - -composer.json: composer.phar - $(PHP) composer.phar validate - -composer.phar: - curl https://getcomposer.org/installer | $(PHP) diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d28351c08609685ca88a26c9ce1000b88921b7ec GIT binary patch literal 152126 zcmeI*d29_`AHeb3O6=7N9$Sk2-$QIWymparL^>J9EzG{LYz~Gv`Di zN!5RfiXzp2cZp<;OOE^%iA1uh*Xp+-|0Ml*zxtn%$e`p%*S{mq>iqoUFR6ZEB@Hlu z0SsUO0~o*n1~7mD3}65Q7{CAqFn|FJU;qOczyJm?fB_6(00S7n00uCC0SsUO0~o*n z1~7mD3}65Q7{CAqFn|FJU;qOczyJm?fB_6(00S7n00uCC0SsUO0~o*n1~7mD3}65Q z7{CAqFn|FJU;qOczyJm?fB_6(00S7n00uCC0SsUO0~o*n1~7mD3}65Q7{CAqFn|FJ zU;qOczyJm?fB_6(00S7n00uCC0SsUO0~o*n1~7mD3}65Q7{CAqFn|FJU;qOczyJm? z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wd`=FFL*_jyg0qeqWQlO|1S zj-NUp+;xDB{`Hv_y}xU+=r}-nT?zN$b|1}u8~u0b(nTITcwoX`-o1M#g9i`BKW!k# zfQ|ljoQNAYZW#I3ad4+jor-__htj_mngt6M;2;0i`qz2Dyv&2A{VbyGKVHLq9$;hp zCpR}&s;a7t+CRF{^5x6%PyDww{!f}TN%T2)(`C`3Mfk_RmHv~Hlbt@NruOx|!Sw0V z@sEEi{rBwIQ|@_~177EW(J@PD_lLXPAI*Q8+W*=QbnDiwrlH^2PWu4mELiG5&va-hkuB zkBg2~URqiz<>lqhTz6isamFezI!0V-YHH1~6aR_-Ui`;0=GXW1S^deACu5)3?=lb; z|Jv`L*iXFwxy}!R|H{fr88T#utK9#b4*VR>vJrIudXAExpYP1khw*S4|F?V(x_=$> zAuTP9*iXAZrhy>)KY8+`=(A$~R{r_FaMuYz^{>}D^}ZRt!|l7S{12Lc?cY{dSSX!3 zb;3Svo;nQ#$-mww&dbY_l$4Y@kGrn8!2gG%-Uxz!?GL?v{d(!qqX+JZ`M+d9{g;%K z`1Q7J%>B|a(e?RX?K`1kuV-gxbA1!{zvMnzzw3B{2M-=}`rGI@`F>a*KYlC~6&21H zCzmf@mg3@K(ecZ-Y}q0@SAh1p>(;FsfD|AFNC8rS6bNbx F{0EiQ;lTg^ literal 0 HcmV?d00001 diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..ae474e7 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/views/layout.phtml b/views/layout.phtml index f3bcbf7..54c0d56 100644 --- a/views/layout.phtml +++ b/views/layout.phtml @@ -15,8 +15,9 @@ - + + ">
-- 2.30.2