From 4396d0e7c9eb4e05db9ce55b72c6a55cc68efbfe Mon Sep 17 00:00:00 2001 From: ktprograms <71804605+ktprograms@users.noreply.github.com> Date: Wed, 13 Apr 2022 04:36:24 +0800 Subject: [PATCH] Note where frontend files are located in docs (#19379) Co-authored-by: Lunny Xiao --- docs/content/doc/developers/guidelines-frontend.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/content/doc/developers/guidelines-frontend.md b/docs/content/doc/developers/guidelines-frontend.md index 9fec5bd17e..874896c5dc 100644 --- a/docs/content/doc/developers/guidelines-frontend.md +++ b/docs/content/doc/developers/guidelines-frontend.md @@ -23,7 +23,13 @@ menu: Gitea uses [Less CSS](https://lesscss.org), [Fomantic-UI](https://fomantic-ui.com/introduction/getting-started.html) (based on [jQuery](https://api.jquery.com)) and [Vue2](https://vuejs.org/v2/guide/) for its frontend. -The HTML pages are rendered by [Go HTML Template](https://pkg.go.dev/html/template) +The HTML pages are rendered by [Go HTML Template](https://pkg.go.dev/html/template). + +The source files can be found in the following directories: +* **Less styles:** `web_src/less/` +* **Javascript files:** `web_src/js/` +* **Vue layouts:** `web_src/js/components/` +* **HTML templates:** `templates/` ## General Guidelines