Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(faq): drop the Discord invite the project does not run

Yudhi Armyndharis34d554586bd0
diff --git a/docs/12-troubleshooting-faq.md b/docs/12-troubleshooting-faq.md
index 6511e9b8f..e981e4a5e 100644
--- a/docs/12-troubleshooting-faq.md
+++ b/docs/12-troubleshooting-faq.md
@@ -1541,7 +1541,6 @@ When creating GitHub issue, include:
- **GitHub Issues**: [github.com/rmyndharis/OpenWA/issues](https://github.com/rmyndharis/OpenWA/issues)
- **Discussions**: [github.com/rmyndharis/OpenWA/discussions](https://github.com/rmyndharis/OpenWA/discussions)
-- **Discord**: [discord.gg/openwa](https://discord.gg/openwa) (if available)
- **Stack Overflow**: Tag with `openwa`
---
diff --git a/src/common/docs-governance.spec.ts b/src/common/docs-governance.spec.ts
index 4664a386a..990ad257c 100644
--- a/src/common/docs-governance.spec.ts
+++ b/src/common/docs-governance.spec.ts
@@ -145,6 +145,15 @@ describe('governance docs match the repository', () => {
expect(note).toContain('`docker compose up -d --no-build`');
});
+ // docs/20 section 20.4: the project runs no real-time chat server, and the `openwa` name is shared.
+ it('links no chat server the project does not run', () => {
+ const docs = readdirSync(join(root, 'docs'))
+ .filter(name => name.endsWith('.md'))
+ .map(name => `docs/${name}`);
+ expect(docs.length).toBeGreaterThanOrEqual(20);
+ expect(['README.md', ...docs].filter(file => /discord\.(gg|com\/invite)/i.test(read(file)))).toEqual([]);
+ });
+
// Most values in the Standard profile are the defaults; only some groups differ.
it('does not call every commented Standard profile value a non-default', () => {
const header = between(read('docs/08-development-guidelines.md'), '#### Standard Profile', '# Application');