跳转到主要内容

最近更新的页面

Adding metadata and screenshots to a Theme

Discourse 开发者文档 Developer Guides

You can add various pieces of metadata to a theme. Some are stored in the about.json file, and s...

由 壳壳虫 更新于 1 周前

Migrate Discourse theme settings

Discourse 开发者文档 Developer Guides

Introduction As of Discourse version 3.2.0.beta3, Discourse themes/components can leverage a migr...

由 壳壳虫 更新于 1 周前

Objects type for theme setting

Discourse 开发者文档 Developer Guides

We are introducing a new type: objects to the supported types for theme settings which can be us...

由 壳壳虫 更新于 1 周前

Split up theme SCSS into multiple files

Discourse 开发者文档 Developer Guides

Themes and theme components are becoming steadily more powerful, and developers are getting more ...

由 壳壳虫 更新于 1 周前

Split up theme Javascript into multiple files

Discourse 开发者文档 Developer Guides

Complex theme javascript can be split into multiple files, to keep things nicely organised. To us...

由 壳壳虫 更新于 1 周前

Theme Developer Quick Reference Guide

Discourse 开发者文档 Developer Guides

As themes grow more powerful, there's more to remember about how they work. We have loads of deta...

由 壳壳虫 更新于 1 周前

Developing Discourse Themes & Theme Components

Discourse 开发者文档 Developer Guides

Discourse Themes and Theme Components can be used to customize the look, feel and functionality o...

由 壳壳虫 更新于 1 周前

Structuring a plugin for Rails autoloading

Discourse 开发者文档 Developer Guides

Many plugins include lots of class definitions inside plugin.rb, or use require_relative to loa...

由 壳壳虫 更新于 1 周前

Repackaging a markdown-it extension as a Discourse plugin

Discourse 开发者文档 Developer Guides

markdown.it the CommonMark engine used by Discourse has a wide array of plugins Header anchors, d...

由 壳壳虫 更新于 1 周前

Add a new provider to discourse-chat-integration

Discourse 开发者文档 Developer Guides

discourse-chat-integration abstracts away the boilerplate for integrating Discourse with external...

由 壳壳虫 更新于 1 周前

Add a new locale from plugin

Discourse 开发者文档 Developer Guides

Usually the best way to add a new language to Discourse is by creating a pull request as describe...

由 壳壳虫 更新于 1 周前

Developing Discourse Plugins - Part 7 - Publish your plugin

Discourse 开发者文档 Developer Guides

Previous tutorial: https://meta.discourse.org/t/developing-discourse-plugins-part-6-add-acceptanc...

由 壳壳虫 更新于 1 周前

Developing Discourse Plugins - Part 3 - Add custom site settings

Discourse 开发者文档 Developer Guides

Previous tutorial: https://meta.discourse.org/t/developing-discourse-plugins-part-2-connect-to-a-...

由 壳壳虫 更新于 1 周前

Developing Discourse Plugins - Part 2 - Connect to a plugin outlet

Discourse 开发者文档 Developer Guides

Previous tutorial: https://meta.discourse.org/t/developing-discourse-plugins-part-1-create-a-basi...

由 壳壳虫 更新于 1 周前

Private modules and the `-internals` convention

Discourse 开发者文档 Developer Guides

What -internals means A folder named -internals holds code that is not public API. It may be re...

由 壳壳虫 更新于 1 周前

Bundle splitting for plugins

Discourse 开发者文档 Developer Guides

By default, every javascript module in a plugin is loaded when Discourse boots. This guide descri...

由 壳壳虫 更新于 1 周前

Drag, resize, and gesture primitives

Discourse 开发者文档 Developer Guides

ui-kit ships the input-driven gesture primitives: dragging a payload onto a target, resizing a re...

由 壳壳虫 更新于 1 周前

Designing for Responsive Widths (Breakpoints, Viewport & Containers)

Discourse 开发者文档 Developer Guides

This document outlines the APIs used to adapt Discourse's user interface to different widths — bo...

由 壳壳虫 更新于 1 周前

Designing for Different Devices (Touch & Hover)

Discourse 开发者文档 Developer Guides

This document outlines the APIs used to adapt Discourse's user interface for different devices. T...

由 壳壳虫 更新于 1 周前

JavaScript type hinting & validation (typescript)

Discourse 开发者文档 Developer Guides

Discourse ships type information for its JavaScript code. This can provide inline documentation, ...

由 壳壳虫 更新于 1 周前