From eb44c591e95c56c81f9752a7b93879527b931769 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Tue, 26 Apr 2022 18:52:10 +0530 Subject: [PATCH] feat: add docs to rate a hostea doctor --- docs/gitea-clinic-rate-doctor.md | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/gitea-clinic-rate-doctor.md diff --git a/docs/gitea-clinic-rate-doctor.md b/docs/gitea-clinic-rate-doctor.md new file mode 100644 index 0000000..7f773c0 --- /dev/null +++ b/docs/gitea-clinic-rate-doctor.md @@ -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 --------- +```