8000 Add documentation for plugins by reenberg · Pull Request #454 · hediet/vscode-drawio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add documentation for plugins #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 14, 2025
Merged

Conversation

reenberg
Copy link
Contributor
@reenberg reenberg commented Feb 14, 2025
  • Added a markdown file in the docs folder that tries to explain how the plugin settings work.

  • Added categories for the settings and ordered them such that related properties are listed close to each other.
    This orders the settings in the following way:

    $ jq -r '.contributes.configuration[] | {title: .title,  order: .order, properties: .properties 
      | keys_unsorted}' package.json                                  
    {
      "title": "General",
      "order": 10,
      "properties": [
        "hediet.vscode-drawio.offline",
        "hediet.vscode-drawio.online-url",
        "hediet.vscode-drawio.codeLinkActivated",
        "hediet.vscode-drawio.local-storage",
        "hediet.vscode-drawio.simpleLabels",
        "hediet.vscode-drawio.zoomFactor",
        "hediet.vscode-drawio.globalVars",
        "hediet.vscode-drawio.resizeImages"
      ]
    }
    {
      "title": "Plugins",
      "order": 20,
      "properties": [
        "hediet.vscode-drawio.plugins",
        "hediet.vscode-drawio.knownPlugins",
        "hediet.vscode-drawio.customLibraries"
      ]
    }
    {
      "title": "Theme and styles",
      "order": 30,
      "properties": [
        "hediet.vscode-drawio.styles",
        "hediet.vscode-drawio.defaultVertexStyle",
        "hediet.vscode-drawio.defaultEdgeStyle",
        "hediet.vscode-drawio.colorNames",
        "hediet.vscode-drawio.presetColors",
        "hediet.vscode-drawio.customColorSchemes",
        "hediet.vscode-drawio.customFonts",
       
    8000
     "hediet.vscode-drawio.theme"
      ]
    }

Closes: #326

Added a markdown file in the docs folder that describes the `plugins` and
`knownPlugins` configuration properties.
- Add categories and sort the settings properties such that they are
  grouped together in a more logical order.

- Add a bit more description to the plugins properties, including a link
  to the new plugin documentation page.
@hediet hediet merged commit fe819cc into hediet:main Feb 14, 2025
3 checks passed
@hediet
Copy link
Owner
hediet commented Feb 14, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update documentation regarding plugin configuration
2 participants
0