feat: add docs to rate a hostea doctor
ci/woodpecker/pr/woodpecker Pipeline failed Details

pull/11/head
Aravinth Manivannan 2022-04-26 18:52:10 +05:30
parent 490a9b11d6
commit eb44c591e9
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# Add ratings to Hostea Doctor
1. To rate Doctor `batman` from
[./gitea-clinic-new-doctor.md](./gitea-clinic-new-doctor.md) guide,
add the following section to `batman` section:
```toml
[[ doctors.reviews ]]
name = "Joker Hahaha"
rating = 0
remarks = "Hahaha"
```
**Note: Only add reviews between doctor-specific section delimited by
comment format mentioned in style guide**
The end result must look like the following:
```toml
## ------------- batman ---------
[[ doctors ]]
nick = "batman"
name ="Bruce Wayne"
photo = "static/people/batman.jpg"
website = "https://bat.example.com"
[[ doctors.reviews ]]
name = "Joker Hahaha"
rating = 0
remarks = "Hahaha"
## ------------- start batman ---------
```