You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/customizing-gitea.en-us.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -354,7 +354,7 @@ To make a custom theme available to all users:
354
354
355
355
Community themes are listed in [gitea/awesome-gitea#themes](https://gitea.com/gitea/awesome-gitea#themes).
356
356
357
-
The `arc-green` theme source can be found [here](https://github.com/go-gitea/gitea/blob/main/web_src/less/themes/theme-arc-green.less).
357
+
The `arc-green` theme source can be found [here](https://github.com/go-gitea/gitea/blob/main/web_src/css/themes/theme-arc-green.css).
358
358
359
359
If your custom theme is considered a dark theme, set the global css variable `--is-dark-theme` to `true`.
360
360
This allows Gitea to adjust the Monaco code editor's theme accordingly.
Copy file name to clipboardExpand all lines: docs/content/doc/developers/guidelines-frontend.en-us.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ menu:
21
21
22
22
## Background
23
23
24
-
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 [Vue3](https://vuejs.org/) for its frontend.
24
+
Gitea uses [Fomantic-UI](https://fomantic-ui.com/introduction/getting-started.html) (based on [jQuery](https://api.jquery.com)) and [Vue3](https://vuejs.org/) for its frontend.
25
25
26
26
The HTML pages are rendered by [Go HTML Template](https://pkg.go.dev/html/template).
27
27
28
28
The source files can be found in the following directories:
Push to create is a feature that allows you to push to a repository that does not exist yet in Gitea. This is useful for automation and for allowing users to create repositories without having to go through the web interface. This feature is disabled by default.
19
+
20
+
## Enabling Push To Create
21
+
22
+
In the `app.ini` file, set `ENABLE_PUSH_CREATE_USER` to `true` and `ENABLE_PUSH_CREATE_ORG` to `true` if you want to allow users to create repositories in their own user account and in organizations they are a member of respectively. Restart Gitea for the changes to take effect. You can read more about these two options in the [Configuration Cheat Sheet]({{< relref "doc/advanced/config-cheat-sheet.en-us.md#repository-repository" >}}).
23
+
24
+
## Using Push To Create
25
+
26
+
Assuming you have a git repository in the current directory, you can push to a repository that does not exist yet in Gitea by running the following command:
27
+
28
+
```shell
29
+
# Add the remote you want to push to
30
+
git remote add origin git@{domain}:{username}/{repo name that does not exist yet}.git
31
+
32
+
# push to the remote
33
+
git push -u origin main
34
+
```
35
+
36
+
This assumes you are using an SSH remote, but you can also use HTTPS remotes as well.
37
+
38
+
## Push options (bonus)
39
+
40
+
Push-to-create will default to the visibility defined by `DEFAULT_PUSH_CREATE_PRIVATE` in `app.ini`. To explicitly set the visibility, you can use a [push option]({{< relref "doc/usage/push-options.en-us.md" >}}).
0 commit comments