blamouche_obsidian-any-ai-code/LICENSE
blamouche 8100cecd42 Align plugin with Obsidian community submission guidelines
Audit-driven fixes for community-store submission:
- Add a top-level MIT LICENSE so the license is discoverable next to
  the manifest and README.
- Remove leaf.detach() from onunload — the plugin guidelines
  explicitly require not detaching custom-view leaves on unload so
  Obsidian preserves leaf placement across reloads.
- Settings tab UI text guidelines:
  - Drop the top-level plugin-name <h2> heading.
  - Drop the redundant heading on the first general section
    (general settings now sit at the top with no heading, per the
    "Only use headings under settings if you have more than one
    section" rule).
  - Replace remaining <h3> elements with
    new Setting(containerEl).setName(...).setHeading() so headings
    inherit Obsidian's setting-heading styling.
- Release workflow now creates drafts (draft: true), matching the
  official "Release your plugin with GitHub Actions" guide so the
  author reviews release notes before publishing.
- Tighten manifest description to a clearer action statement that
  avoids the "OpenAI" parsing ambiguity.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 08:24:41 +02:00

21 lines
1 KiB
Text

MIT License
Copyright (c) 2026 Benoit Lamouche
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.