0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2024-12-22 15:23:32 -05:00
Custom styling and templates for the Gitea install in projects.blender.org
Find a file
Márton Lente 844367b17f Fix: Replace nav-global nav btn chevron for small screens
Replace nav-global nav button's chevron icon from fontutti reference to inline
SVG, as fontutti is not present in the project.
Part of #9
2024-12-02 10:26:03 +01:00
public/assets Theme: Style alert blocks in bthree-dark theme 2024-07-22 12:43:11 +02:00
sphinx Fix some unecessary Sphinx warnings in RST preview 2023-05-25 19:08:16 +02:00
templates Fix: Replace nav-global nav btn chevron for small screens 2024-12-02 10:26:03 +01:00
.gitignore Initial commit 2023-01-20 12:23:48 +01:00
README.md Docs: Update README with alternative setup with Docker 2024-04-25 16:24:05 +02:00

Gitea Customization for Blender Developer Portal

Setup

  • Clone this repo in a custom folder at the root of your gitea install.
  • Edit app.ini to set the following in the [ui] section:
    • DEFAULT_THEME = bthree-dark
    • THEMES = bthree-dark
  • Run the gitea binary with the following arguments (or do the clone into Gitea's own custom directory, merging with your conf dir).
    • --custom-path pointing to the repo directory
    • --config pointing to the custom app.ini
  • Update your user preferences to set the new theme, or it will keep showing the old one.

Alternative setup with Docker

[ui]
DEFAULT_THEME = bthree-dark
THEMES = bthree-dark

(Docker Gitea's root directory defaults to /gitea/gitea/ from installation root.)

  • Clone this repository to Gitea's root directory, so that its contents are merged. (Gitea's custom directory defaults to Gitea's root.)

Gitea's root flat directory tree should look similar to the following, if done correctly:

.
├── actions_artifacts
├── actions_log
├── attachments
├── avatars
├── conf
├── gitea.db
├── home
├── indexers
├── jwt
├── log
├── packages
├── public
├── queues
├── README.md
├── repo-archive
├── repo-avatars
├── sessions
├── sphinx
├── templates
└── tmp