From 6d048d909e34c83bc0e3a6617c8168a42e96adea Mon Sep 17 00:00:00 2001
From: feruzm <fmiboy@gmail.com>
Date: Thu, 16 May 2024 12:43:15 +0300
Subject: [PATCH] customs broadcast ops

---
 ...t-ops-communities.md => broadcast-ops-customs.md} | 12 ++++++------
 ...ops_communities.yml => broadcast_ops_customs.yml} |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename _apidefinitions/{broadcast-ops-communities.md => broadcast-ops-customs.md} (79%)
 rename _data/apidefinitions/{broadcast_ops_communities.yml => broadcast_ops_customs.yml} (99%)

diff --git a/_apidefinitions/broadcast-ops-communities.md b/_apidefinitions/broadcast-ops-customs.md
similarity index 79%
rename from _apidefinitions/broadcast-ops-communities.md
rename to _apidefinitions/broadcast-ops-customs.md
index 63615ccf..ad937d59 100644
--- a/_apidefinitions/broadcast-ops-communities.md
+++ b/_apidefinitions/broadcast-ops-customs.md
@@ -1,22 +1,22 @@
 ---
 position: 100
 exclude: true
-canonical_url: .#apidefinitions-broadcast-ops-communities
+canonical_url: .#apidefinitions-broadcast-ops-customs
 ---
 
 Ops:
 <ul>
-{% for sections in site.data.apidefinitions.broadcast_ops_communities %}
+{% for sections in site.data.apidefinitions.broadcast_ops_customs %}
 {% assign sorted_ops = sections.ops | sort: 'name' %}
 {% for op in sorted_ops %}
 {% unless op.virtual %}
-<li class="button"><a href="#broadcast_ops_communities_{{ op.name | slug}}">{{op.name | split: '.' | last}}</a></li> 
+<li class="button"><a href="#broadcast_ops_customs_{{ op.name | slug}}">{{op.name | split: '.' | last}}</a></li> 
 {% endunless %}
 {% endfor %}
 {% endfor %}
 </ul>
 
-{% for sections in site.data.apidefinitions.broadcast_ops_communities %}
+{% for sections in site.data.apidefinitions.broadcast_ops_customs %}
 {{ sections.description | liquify | markdownify }}
 {% for op in sections.ops %}
 <ul style="float: right; list-style: none;">
@@ -39,9 +39,9 @@ Ops:
 {% assign search_url = '/search/?q=' | append: keywords | split: '_' | join: ' ' %}
 <li class="info"><strong><small><a href="{{ search_url | relative_url }}">Related <i class="fas fa-search fa-xs"></i></a></small></strong></li>
 </ul>
-<h4 id="broadcast_ops_communities_{{ op.name | slug }}">
+<h4 id="broadcast_ops_customs_{{ op.name | slug }}">
 <code>{{op.name}}</code>
-<a href="#broadcast_ops_communities_{{ op.name | slug}}">
+<a href="#broadcast_ops_customs_{{ op.name | slug}}">
 <i class="fas fa-link fa-xs"></i></a>
 </h4>
 {{ op.purpose | liquify | markdownify }}
diff --git a/_data/apidefinitions/broadcast_ops_communities.yml b/_data/apidefinitions/broadcast_ops_customs.yml
similarity index 99%
rename from _data/apidefinitions/broadcast_ops_communities.yml
rename to _data/apidefinitions/broadcast_ops_customs.yml
index 843ada6f..af2f700d 100644
--- a/_data/apidefinitions/broadcast_ops_communities.yml
+++ b/_data/apidefinitions/broadcast_ops_customs.yml
@@ -1,4 +1,4 @@
-- name: broadcast_ops_communities
+- name: broadcast_ops_custom
   group: communities
   description: |
     To interact with the communities framework, use `custom_json` operations with the an `id` of `community`.  Communities also intepret other ids like `follow` and `reblog`.
-- 
GitLab