mirror of
https://github.com/godotengine/discourse-theme.git
synced 2025-12-31 17:48:45 +03:00
1.7 KiB
1.7 KiB
Discourse Theme
A Godot styled theme for discourse.
Development
You can use the discourse theme CLI to automatically push changes to a live website. Please follow the instructions in the official CLI documentation.
⚠️ Note: Please only sync to the theme creator website, not to the public Godot forum.
Once the CLI is installed, follow these steps as a one time setup:
- Go to discourse.theme-creator.io/my/themes
- Select "Install" > "From a git repository" and enter
https://github.com/godotengine/discourse-theme - Select "Advanced" and then "Edit Locally"
- Generate and copy an API key (store it somewhere!)
You can now see a live preview every time you want to work on the theme:
- On your local machine: open a terminal, navigate to the repository root directory and enter
discourse_theme watch .
- if asked, enter the root url:
https://discourse.theme-creator.io/ - if asked, enter the API key you retrieved in the one time setup
- you may answer
yto store these, so that you don't need to enter them again - select the theme "Godot" for synchronisation
- Go to discourse.theme-creator.io/my/themes and select the theme you are editing
- Click on the "Preview" button
Usage
Installation
- In discourse, go to Admin > Customize > Themes
- click the Install button and choose "From a git repository"
- Enter the URL of this repo:
https://github.com/godotengine/discourse-theme
Updates
- In discourse, go to Admin > Customize > Themes
- Select the "Godot Theme"
- Click "Check for Updates"