Merge pull request #1673

Add issue template for removing a merchant and update README
This commit is contained in:
luigi1111 2021-06-18 16:48:45 -04:00 committed by GitHub
commit e5bec2e394
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 7 deletions

View file

@ -0,0 +1,30 @@
---
name: Remove Merchant
about: Ask to remove a merchant from the 'Merchants' page
title: 'Remove <NAME_OF_THE_MERCHANT> from the list of merchants'
labels: "\U0001F3EA merchant: removal, \U0001F50D Needs investigation"
assignees: ''
---
#### What's the name of the merchant you are asking to remove?
<!-- Write here the name as it's listed on the Merchants page -->
#### What's the URL of their website?
<!-- Write here the URL listed on the Merchants page -->
#### Why do you think it should be removed?
- [ ] They don't accept Monero anymore
- [ ] They are likely scammers
- [ ] They closed / Their services are unavailable
#### Useful links
<!-- Write here links to discussions, blog posts, documents that prove the merchant should be removed -->
#### Additional comments
<!-- Write here any additional comment -->

View file

@ -338,25 +338,37 @@ If you need to add a month, add `<h3 id="months">{% t roadmap.MONTH %}</h3>` abo
The roadmap can be translated on Weblate [on Weblate](https://translate.getmonero.org/projects/getmonero/monero-site/). The roadmap can be translated on Weblate [on Weblate](https://translate.getmonero.org/projects/getmonero/monero-site/).
## How to add a new Merchant ## How to add or remove a merchant
### Add a merchant
If you want to add a merchant you should first open an issue using the ['New Merchant' template](https://github.com/monero-project/monero-site/issues/new?assignees=&labels=%F0%9F%8F%AA+merchant:+removal%2C+%F0%9F%94%8D+Needs+investigation&template=new-merchant.md&title=Remove+%3CNAME_OF_THE_MECHANT%3E+from+the+list+of+merchants). Fill upp all sections and wait for somebody to investigate it.
After the issue has been accepted, the merchant can be added to the page.
To add a merchant (after it has been approved) follow these steps:
### 1. Edit the .yml file
Navigate to the `/_data/` folder and open `merchants.yml`. You will notice a list separated by hyphenated `-category` tags. Navigate to the `/_data/` folder and open `merchants.yml`. You will notice a list separated by hyphenated `-category` tags.
Find the category that best describes your business/service and copy the code below, making sure you are keeping the alphabetic order consistent: Find the category that best describes your business/service and copy the code below, making sure you are keeping the alphabetic order consistent:
``` ```
- name: - name:
url: url:
``` ```
and paste it in the correct category under the `merchants:` section.
and paste it in the correct category under the `merchants:` section. Make sure to respect the alphabetical order of the entries.
Fill in the data as follows: Fill in the data as follows:
* `name:` The name of the business/service.
* `url:` The external url of the business/service. This link must have http:// (or https://) at the beginning if it is an external link.
**Make sure the indentation is EXACTLY the same as the other proposals in the area. If it's not the jekyll build WILL fail.** - `name:` The name of the business/service.
- `url:` The external url of the business/service. This link must have http:// (or https://) at the beginning if it is an external link.
Save the file. Make sure the indentation is EXACTLY the same as the other proposals in the area. If it's not the jekyll build WILL fail.
### Remove a merchant
Open an issue using the ['Remove Merchant' template](https://github.com/monero-project/monero-site/issues/new?assignees=&labels=%F0%9F%8F%AA+merchant%3A+removal%2C+%F0%9F%94%8D+Needs+investigation&template=remove-merchant.md&title=Remove+%3CNAME_OF_THE_MECHANT%3E+from+the+list+of+merchants) and fill up all sections.
## How to add a question to the FAQ ## How to add a question to the FAQ
The structure of the FAQ is a bit more complex than it used to be and contains anchors, variables and a TOC. A step by step guide would be too complex to follow. A basic knowledge of HTML is necessary to edit the page. If you wish to add a new FAQ please open an issue in the repository or/and contact the Website workgroup. The structure of the FAQ is a bit more complex than it used to be and contains anchors, variables and a TOC. A step by step guide would be too complex to follow. A basic knowledge of HTML is necessary to edit the page. If you wish to add a new FAQ please open an issue in the repository or/and contact the Website workgroup.