跳转到主要内容

最近更新的页面

index

Discourse 开发者文档 Developer Guides

Documentation about extending Discourse with plugins, themes, and theme components, working with ...

由 壳壳虫 更新于 1 周前

Theme Developer Tutorial: 7. Wrapping up

Discourse 开发者文档 Developer Guides

This tutorial has been a whistle-stop tour through the process of creating a Discourse theme and ...

由 壳壳虫 更新于 1 周前

Theme Developer Tutorial: 6. Using the JS API

Discourse 开发者文档 Developer Guides

In the last couple of chapters, we've explored how to use the JavaScript API to render content in...

由 壳壳虫 更新于 1 周前

Theme Developer Tutorial: 5. Building and using components

Discourse 开发者文档 Developer Guides

In the last chapter, we explored how you can render Glimmer Components into plugin outlets, and m...

由 壳壳虫 更新于 1 周前

Theme Developer Tutorial: 4. Using Outlets to insert and replace content

Discourse 开发者文档 Developer Guides

Discourse uses the Ember JS Framework for its user interface. On top of Ember, Discourse provides...

由 壳壳虫 更新于 1 周前

Theme Developer Tutorial: 3. CSS in Themes

Discourse 开发者文档 Developer Guides

Technically, Discourse uses SCSS to author its stylesheets. However, we're increasingly moving to...

由 壳壳虫 更新于 1 周前

Theme Developer Tutorial: 2. Creating a remote theme

Discourse 开发者文档 Developer Guides

In the last chapter, we created a basic theme via the Discourse admin interface. This works well ...

由 壳壳虫 更新于 1 周前

Using the AI bot via the Discourse API

Discourse 开发者文档 Developer Guides

Overview Discourse AI exposes an admin/API endpoint for streaming an AI Agent reply over a raw ch...

由 壳壳虫 更新于 1 周前

Overview

Discourse 开发者文档 Developer Guides

The Discourse AI plugin ships a Ruby CLI under plugins/discourse-ai/evals that exercises AI feat...

由 壳壳虫 更新于 1 周前

Discourse Public Data Dump

Discourse 开发者文档 Developer Guides

Given the advent of AI and the need for large datasets on local development machines, we have pul...

由 壳壳虫 更新于 1 周前

Create custom Automations

Discourse 开发者文档 Developer Guides

:information_source: This is a draft, and may need some extra work. Vocabulary trigger: represent...

由 壳壳虫 更新于 1 周前

Things to consider before deciding to white-label the Discourse Mobile apps

Discourse 开发者文档 Developer Guides

Since we released the iOS and Android apps a number of people have asked expressed interest in wh...

由 壳壳虫 更新于 1 周前

Controlling site settings with themes

Discourse 开发者文档 Developer Guides

Themeable site settings allow a theme (not components) to override a small subset of core site se...

由 壳壳虫 更新于 1 周前

Adding preview screenshots to Discourse themes

Discourse 开发者文档 Developer Guides

:bookmark: This guide explains how to add preview screenshots to your Discourse theme to showcase...

由 壳壳虫 更新于 1 周前

Use the `navigation_menu` query parameter to preview the sidebar or other options

Discourse 开发者文档 Developer Guides

If you are working on a theme for an existing site and want to preview how it will look with the ...

由 壳壳虫 更新于 1 周前

Install a new language for Highlight.JS via a theme component

Discourse 开发者文档 Developer Guides

I've just added a hook to our HighlightJS code so now you can use the plugin API to add a custom ...

由 壳壳虫 更新于 1 周前

Theme modifiers: A brief introduction

Discourse 开发者文档 Developer Guides

As themes become more ambitious, we've been looking for ways to allow them to manipulate core ser...

由 壳壳虫 更新于 1 周前

Change font sizes in your themes

Discourse 开发者文档 Developer Guides

The simplest way to change the font size of your entire community would be to override the defaul...

由 壳壳虫 更新于 1 周前

Minimizing Maintenance on Theme Customizations

Discourse 开发者文档 Developer Guides

Discourse is highly customizable, enabling you to modify almost any aspect of its appearance thro...

由 壳壳虫 更新于 1 周前

End-to-end system testing for themes and theme components

Discourse 开发者文档 Developer Guides

Writing automated tests for themes is an important part of the theme development process which ca...

由 壳壳虫 更新于 1 周前