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 use this to sync to the theme creator website, not to the public Godot forum. See Usage for instructions on updating the live website.
Once the CLI is installed, follow these steps as a one time setup:
- Make sure you have an account on meta.discourse.org and are logged in
- Go to discourse.theme-creator.io/my/themes
- Select "Install" > "From a git repository" and enter
https://github.com/godotengine/discourse-theme
- Reload the website, select the "Godot Theme" again
- Scroll down, select "Advanced" and change the "Color Palette" to "Godot"
- Click "Edit Locally" and 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
y
to 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"