Giter Site home page Giter Site logo

Comments (3)

claremacrae avatar claremacrae commented on June 7, 2024

With this patch, I was able to see which files were treated as found in a category file, and there not considered as candidates for the Uncategorized Plugins file:

Index: .github/scripts/update-releases.py
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/.github/scripts/update-releases.py b/.github/scripts/update-releases.py
--- a/.github/scripts/update-releases.py	(revision 19bddd322ab272110b09554fced433e953e0812e)
+++ b/.github/scripts/update-releases.py	(date 1640642095089)
@@ -97,6 +97,9 @@
             contents = category_file.read()
             for plugin in plugin_list:
                 if plugin in contents:
+                    link = f'[{plugin}|'
+                    if not link in contents:
+                        print(f'Found {plugin} treated as found in {file} - but {link} not found')
                     categorized.add(plugin)
 
     uncategorized = list()

from obsidian-hub.

claremacrae avatar claremacrae commented on June 7, 2024

The output was:

Found snippets treated as found in .../02 - Community Expansions/02.01 Plugins by Category/Style and Appearance Plugins.md - but [snippets| not found
Found calendar treated as found in .../02 - Community Expansions/02.01 Plugins by Category/🗂️ 02.01 Plugins by Category.md - but [calendar| not found
Found dataview treated as found in .../02 - Community Expansions/02.01 Plugins by Category/🗂️ 02.01 Plugins by Category.md - but [dataview| not found
Found calendar treated as found in .../02 - Community Expansions/02.01 Plugins by Category/Plugins for TTRPG.md - but [calendar| not found
Found matter treated as found in .../02 - Community Expansions/02.01 Plugins by Category/Plugins with custom views.md - but [matter| not found
Found obsidian-chess treated as found in .../02 - Community Expansions/02.01 Plugins by Category/Plugins for Chess.md - but [obsidian-chess| not found

from obsidian-hub.

claremacrae avatar claremacrae commented on June 7, 2024

With this change:

Index: .github/scripts/update-releases.py
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/.github/scripts/update-releases.py b/.github/scripts/update-releases.py
--- a/.github/scripts/update-releases.py	(revision 19bddd322ab272110b09554fced433e953e0812e)
+++ b/.github/scripts/update-releases.py	(date 1640643169820)
@@ -96,7 +96,8 @@
         with open(file) as category_file:
             contents = category_file.read()
             for plugin in plugin_list:
-                if plugin in contents:
+                link = f'[{plugin}|'
+                if link in contents:
                     categorized.add(plugin)
 
     uncategorized = list()

The following two extra lines are added to Uncategorized plugins.md

Index: 02 - Community Expansions/02.01 Plugins by Category/Uncategorized plugins.md
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/02 - Community Expansions/02.01 Plugins by Category/Uncategorized plugins.md b/02 - Community Expansions/02.01 Plugins by Category/Uncategorized plugins.md
--- a/02 - Community Expansions/02.01 Plugins by Category/Uncategorized plugins.md	(revision 19bddd322ab272110b09554fced433e953e0812e)
+++ b/02 - Community Expansions/02.01 Plugins by Category/Uncategorized plugins.md	(date 1640643260094)
@@ -40,6 +40,7 @@
 - [[obsidian-audio-speed-plugin|Audio Speed Plugin]]
 - [[obsidian-limelight|Limelight]]
 - [[prompt|Prompt]]
+- [[obsidian-chess|Obsidian Chess]]
 - [[stenography-obsidian|Stenography]]
 - [[obsidian-oura-plugin|Oura Plugin for Obsidian]]
 - [[obsidian-metacopy|Metacopy]]
@@ -73,6 +74,7 @@
 - [[obsidian-tts|Text to Speech]]
 - [[link-favicon|Link Favicons]]
 - [[get-info-plugin|Get Info]]
+- [[matter|Matter]]
 - [[linked-data-helper|Linked Data Helper]]
 - [[linked-data-vocabularies|Linked Data Vocabularies]]
 - [[obsidian-regex-replace|Regex Find and Replace]]

from obsidian-hub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.