From: Michael Wallner Date: Tue, 29 Sep 2015 10:33:13 +0000 (+0200) Subject: repo-template X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3382e7a8a68f86a4cc5635c4a31831cfb586e962;p=mdref%2Fmdref repo-template --- 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 0000000..d28351c Binary files /dev/null and b/public/favicon.ico differ 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 @@ - + + ">