From f0868f383ba6ebf7ef1ebd5b444b4804b47df8f5 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Fri, 20 Dec 2019 14:40:16 +0530 Subject: [PATCH 1/7] :tada: API documentation page --- layouts/default.vue | 3 ++ pages/doc.vue | 106 ++++++++++++++++++++++++++++++++++++++++++++ pages/index.vue | 33 -------------- 3 files changed, 109 insertions(+), 33 deletions(-) create mode 100644 pages/doc.vue diff --git a/layouts/default.vue b/layouts/default.vue index add992d05..56c24d1b5 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -582,6 +582,9 @@ export default { } }); }); + + console.log("%cWe ❤︎ open source!", "background-color:white;padding:8px 16px;border-radius:8px;font-size:32px;color:red;") + console.log("%cContribute: https://github.com/liyasthomas/postwoman", "background-color:black;padding:4px 8px;border-radius:8px;font-size:16px;color:white;text-decoration:none;") }, watch: { diff --git a/pages/doc.vue b/pages/doc.vue new file mode 100644 index 000000000..a9fd0ab1e --- /dev/null +++ b/pages/doc.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/pages/index.vue b/pages/index.vue index 361623b24..44efd9307 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -227,7 +227,6 @@ - (event.target.selectionStart = event.target.selectionEnd = - oldSelectionStart + rightPadding.length + 1), - 1 - ); - } else if (event.which === 9) { - event.preventDefault(); - const oldSelectionStart = event.target.selectionStart; - event.target.value = textBeforeCursor + "\xa0\xa0" + textAfterCursor; - event.target.selectionStart = event.target.selectionEnd = - oldSelectionStart + 2; - return false; - } - }, copyRequest() { if (navigator.share) { let time = new Date().toLocaleTimeString(); From d4819bcd0a5cebb62b7d6104b9495cf97986d682 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Sat, 21 Dec 2019 08:44:10 +0530 Subject: [PATCH 2/7] :tada: Added navigation link to Documentation page in default layour --- .all-contributorsrc | 9 --------- README.md | 5 ++--- layouts/default.vue | 26 +++++++++++++++++++++++++- pages/doc.vue | 4 ++-- 4 files changed, 29 insertions(+), 15 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 6ecfa8b21..ca0269c27 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -52,15 +52,6 @@ "code" ] }, - { - "login": "terranblake", - "name": "Terran Blake", - "avatar_url": "https://avatars3.githubusercontent.com/u/8795767?v=4", - "profile": "https://www.lumahealth.io/", - "contributions": [ - "code" - ] - }, { "login": "AndrewBastin", "name": "Andrew Bastin", diff --git a/README.md b/README.md index 3cce2d1e4..44b70b869 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@

- [![Travis Build Status](https://img.shields.io/travis/com/liyasthomas/postwoman?logo=Travis)](https://travis-ci.com/liyasthomas/postwoman) [![GitHub release](https://img.shields.io/github/release/liyasthomas/postwoman/all?logo=GitHub)](https://github.com/liyasthomas/postwoman/releases/latest) [![Website](https://img.shields.io/website?url=https%3A%2F%2Fpostwoman.io&logo=Postwoman)](https://postwoman.io) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen?style=flat)](CONTRIBUTING.md) [![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors) [![Financial Contributors on Open Collective](https://img.shields.io/opencollective/all/postwoman?logo=Open-Collective&label=financial+contributors)](https://opencollective.com/postwoman) [![Donate on PayPal](https://img.shields.io/badge/support-PayPal-blue?logo=PayPal)](https://www.paypal.me/liyascthomas) [![Chat on Telegram](https://img.shields.io/badge/chat-Telegram-blueviolet?logo=Telegram)](https://t.me/postwoman_app) [![Chat on Discord](https://img.shields.io/badge/chat-Discord-violet?logo=discord)](https://discord.gg/GAMWxmR) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fpostwoman.io%2F)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fpostwoman.io&text=%F0%9F%91%BD%20Postwoman%20%E2%80%A2%20API%20request%20builder%20-%20Helps%20you%20create%20your%20requests%20faster%2C%20saving%20you%20precious%20time%20on%20your%20development&original_referer=https%3A%2F%2Ftwitter.com%2Fshare%3Ftext%3D%25F0%259F%2591%25BD%2520Postwoman%2520%25E2%2580%25A2%2520API%2520request%2520builder%2520-%2520Helps%2520you%2520create%2520your%2520requests%2520faster%2C%2520saving%2520you%2520precious%2520time%2520on%2520your%2520development%26url%3Dhttps%3A%2F%2Fpostwoman.io%26hashtags%3Dpostwoman%26via%3Dliyasthomas&via=liyasthomas&hashtags=postwoman) + [![Travis Build Status](https://img.shields.io/travis/com/liyasthomas/postwoman?logo=Travis)](https://travis-ci.com/liyasthomas/postwoman) [![GitHub release](https://img.shields.io/github/release/liyasthomas/postwoman/all?logo=GitHub)](https://github.com/liyasthomas/postwoman/releases/latest) [![Website](https://img.shields.io/website?url=https%3A%2F%2Fpostwoman.io&logo=Postwoman)](https://postwoman.io) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen)](CONTRIBUTING.md) [![Financial Contributors on Open Collective](https://img.shields.io/opencollective/all/postwoman?logo=Open-Collective&label=financial+contributors)](https://opencollective.com/postwoman) [![Donate on PayPal](https://img.shields.io/badge/support-PayPal-blue?logo=PayPal)](https://www.paypal.me/liyascthomas) [![Chat on Telegram](https://img.shields.io/badge/chat-Telegram-blueviolet?logo=Telegram)](https://t.me/postwoman_app) [![Chat on Discord](https://img.shields.io/badge/chat-Discord-violet?logo=discord)](https://discord.gg/GAMWxmR) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fpostwoman.io%2F)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fpostwoman.io&text=%F0%9F%91%BD%20Postwoman%20%E2%80%A2%20API%20request%20builder%20-%20Helps%20you%20create%20your%20requests%20faster%2C%20saving%20you%20precious%20time%20on%20your%20development&original_referer=https%3A%2F%2Ftwitter.com%2Fshare%3Ftext%3D%25F0%259F%2591%25BD%2520Postwoman%2520%25E2%2580%25A2%2520API%2520request%2520builder%2520-%2520Helps%2520you%2520create%2520your%2520requests%2520faster%2C%2520saving%2520you%2520precious%2520time%2520on%2520your%2520development%26url%3Dhttps%3A%2F%2Fpostwoman.io%26hashtags%3Dpostwoman%26via%3Dliyasthomas&via=liyasthomas&hashtags=postwoman)

@@ -315,11 +315,10 @@ See the [CHANGELOG](CHANGELOG.md) file for details. Nicholas La Roux
Nicholas La Roux

💻 Thomas Yuba
Thomas Yuba

💻 Nick Palenchar
Nick Palenchar

💻 - Terran Blake
Terran Blake

💻 Andrew Bastin
Andrew Bastin

💻 + Vladislav
Vladislav

💻 - Vladislav
Vladislav

💻 izerozlu
izerozlu

💻 Jacob Anavisca
Jacob Anavisca

💻 Nityananda Gohain
Nityananda Gohain

💻 diff --git a/layouts/default.vue b/layouts/default.vue index 56c24d1b5..62bee0068 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -138,6 +138,14 @@ + + books + +

+ +