Skip to content

feat: add documentation for plugins#422

Open
Nerixyz wants to merge 5 commits into
Chatterino:masterfrom
Nerixyz:feat/plugin-docs
Open

feat: add documentation for plugins#422
Nerixyz wants to merge 5 commits into
Chatterino:masterfrom
Nerixyz:feat/plugin-docs

Conversation

@Nerixyz

@Nerixyz Nerixyz commented Dec 4, 2024

Copy link
Copy Markdown
Contributor

This adds some basic documentation for plugins. It doesn't add a full reference for the API, as that's hard to keep synced (maybe we could do this automagically in the future?). It contains a larger example for a weather plugin that uses a free API. Initially, I thought about a translation plugin, but the decent translation APIs all require an API key.

The Lua syntax highlighting is a bit poor, because most things are just Name (instead of Name.Variable/.Function/.Property).

@netlify

netlify Bot commented Dec 4, 2024

Copy link
Copy Markdown

Deploy Preview for chatterino-wiki-dev ready!

Name Link
🔨 Latest commit 098da78
🔍 Latest deploy log https://app.netlify.com/sites/chatterino-wiki-dev/deploys/678fe6a2b285fa0008bfdb20
😎 Deploy Preview https://deploy-preview-422--chatterino-wiki-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Mm2PL Mm2PL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like a notice in the main plugin info page that APIs may still be subject to change or other reworks and thus plugins may stop working rather unexpectedly until APIs are finalized.

@@ -0,0 +1,388 @@
--

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we wouldn't need to redistribute a JSON library and would just have JSON support in the client.

@pajlada pajlada requested a review from Mm2PL January 21, 2025 11:18

@Mm2PL Mm2PL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only nitpicks

Comment thread docs/plugins/index.md Outdated
Comment thread docs/plugins/index.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants