AI-native design editor. Open-source Figma alternative.
docs: link the Discord server and GitHub Discussions (#731)
Danila Poyarkov0092feff7dfa
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlindex fdb752083..8b9e2e920 100644--- a/.github/ISSUE_TEMPLATE/config.yml+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -1,5 +1,11 @@blank_issues_enabled: falsecontact_links:+ - name: Ask a question+ url: https://github.com/open-pencil/open-pencil/discussions/categories/q-a+ about: Usage and setup questions get answered in Discussions Q&A.+ - name: Chat on Discord+ url: https://discord.gg/4wXc9fuZfm+ about: Talk to maintainers and other users in the OpenPencil Community server.- name: Report a security vulnerabilityurl: https://github.com/open-pencil/open-pencil/security/advisories/newabout: Please report security vulnerabilities privately instead of opening a public issue.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex d70b4f6f3..54cbff1a7 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -1,5 +1,7 @@# Contributing+Questions and ideas go to [GitHub Discussions](https://github.com/open-pencil/open-pencil/discussions) or [Discord](https://discord.gg/4wXc9fuZfm); open an issue for a reproducible bug.+## Setup```bashdiff --git a/README.md b/README.mdindex d761223b7..2de909d38 100644--- a/README.md+++ b/README.md@@ -1,5 +1,10 @@# OpenPencil+[](LICENSE)+[](https://www.npmjs.com/package/@open-pencil/cli)+[](https://discord.gg/4wXc9fuZfm)+[](https://github.com/open-pencil/open-pencil/discussions)+Open-source design editor. Opens `.fig` and `.pen` design files, includes built-in AI, and ships as a programmable toolkit with a headless Vue SDK for building custom editors.> **Status:** Active development. Usable today, with some rough edges as features evolve.@@ -247,6 +252,12 @@ OpenPencil is the alternative: open source (MIT), reads .fig files natively, eveSee the [roadmap](https://openpencil.dev/development/roadmap) for product direction and current Figma compatibility gaps.+## Community++- **[Discord](https://discord.gg/4wXc9fuZfm)** — chat, quick questions, and showing a problem live+- **[GitHub Discussions](https://github.com/open-pencil/open-pencil/discussions)** — [Q&A](https://github.com/open-pencil/open-pencil/discussions/categories/q-a) for help, [Ideas](https://github.com/open-pencil/open-pencil/discussions/categories/ideas) for feature proposals, [Show and tell](https://github.com/open-pencil/open-pencil/discussions/categories/show-and-tell) for what you built; maintainers post [Announcements](https://github.com/open-pencil/open-pencil/discussions/categories/announcements) there+- **[Issues](https://github.com/open-pencil/open-pencil/issues)** — reproducible bugs; report security problems through a [private advisory](https://github.com/open-pencil/open-pencil/security/advisories/new)+## Contributing### Setupdiff --git a/packages/docs/.vitepress/root-theme.ts b/packages/docs/.vitepress/root-theme.tsindex 3306546a2..41a5fdcdb 100644--- a/packages/docs/.vitepress/root-theme.ts+++ b/packages/docs/.vitepress/root-theme.ts@@ -1,3 +1,5 @@+import type { DefaultTheme } from 'vitepress'+import { EN, EN_PROG } from './labels.ts'import { sdkSidebar } from './sdk-sidebar.ts'import {@@ -5,11 +7,9 @@ import {guideSidebar,programmableSidebar,referenceSidebar,- userGuideSidebar,+ userGuideSidebar} from './sidebars.ts'-import type { DefaultTheme } from 'vitepress'-export const rootThemeConfig = (): DefaultTheme.Config => ({logo: { light: '/brand/mark.svg', dark: '/brand/mark-dark.svg', alt: 'OpenPencil' },search: { provider: 'local' },@@ -21,7 +21,7 @@ export const rootThemeConfig = (): DefaultTheme.Config => ({{ text: 'SDK', link: '/programmable/sdk/' },{ text: 'Reference', link: '/reference/keyboard-shortcuts' },{ text: 'Development', link: '/development/contributing' },- { text: 'Open App', link: 'https://app.openpencil.dev' },+ { text: 'Open App', link: 'https://app.openpencil.dev' }],sidebar: {@@ -30,16 +30,27 @@ export const rootThemeConfig = (): DefaultTheme.Config => ({'/programmable/': programmableSidebar('', EN_PROG),'/reference/': referenceSidebar('', 'Reference', EN),'/development/': developmentSidebar('', 'Development', EN),- '/': guideSidebar('', EN),+ '/': guideSidebar('', EN)},- socialLinks: [{ icon: 'github', link: 'https://github.com/open-pencil/open-pencil' }],+ socialLinks: [+ { icon: 'github', link: 'https://github.com/open-pencil/open-pencil' },+ { icon: 'discord', link: 'https://discord.gg/4wXc9fuZfm', ariaLabel: 'Discord' },+ {+ // Octicon "comment-discussion": VitePress ships no icon for GitHub Discussions.+ icon: {+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" aria-hidden="true"><path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"/></svg>'+ },+ link: 'https://github.com/open-pencil/open-pencil/discussions',+ ariaLabel: 'GitHub Discussions'+ }+ ],editLink: {- pattern: 'https://github.com/open-pencil/open-pencil/edit/main/packages/docs/:path',+ pattern: 'https://github.com/open-pencil/open-pencil/edit/master/packages/docs/:path'},footer: {- message: 'Released under the MIT License.',- },+ message: 'Released under the MIT License.'+ }})