Some questions related to render templated in knowledge base concept

in knowledgebase I found these three lines . I have some question about these three lines.

Create a template html file in your app. e.g. address_list.html
Add it to build.json for your app (you can include it in frappe.min.js or your own javascript file).
To render it in your app, use frappe.render(frappe.templates.address_list, {[context]})

questions

  1. where i can create html file in my app? is it in templates, or public folder?

  2. I have my own javascript file test.js ? so i am added build.json file shown in bellow is it correct?
    {
    “js/test.js”: [
    “public/html/test.html”
    ]
    }

  3. where i can write render code show bellow?
    frappe.render(frappe.templates.address_list, {[context]})

finally I need test.html if i type url http://somelocalhost:8000/desk/test the test.html will be shown.

If you want to create pages withing desk, you have to create a Page doctype.

Then you will get a page at route /desk#[name]

Check this:

https://github.com/frappe/frappe/tree/develop/frappe/core/page/messages