Enveloppe / obsidian-enveloppe

Enveloppe helps you to publish your notes on a GitHub repository from your Obsidian Vault, for free!
https://enveloppe.github.io/
Apache License 2.0
653 stars 39 forks source link

[Bug]: Unable to tick "Auto Cleanup" #249

Closed piotrnajda3000 closed 11 months ago

piotrnajda3000 commented 11 months ago

Issue validation

Command used

No response

Plugin version

6.11.3

Describe the bug

When trying to tick "Auto Cleanup", nothing happens.

How to reproduce ?

No response

Minimal Reproducible Example

There's no example as it's part of the settings.

Configuration

{
  "github": {
    "branch": "main",
    "automaticallyMergePR": true,
    "tokenPath": ".obsidian/plugins/obsidian-mkdocs-publisher/env",
    "api": {
      "tiersForApi": "Github Free/Pro/Team (default)",
      "hostname": ""
    },
    "workflow": {
      "commitMessage": "[PUBLISHER] Merge",
      "name": ""
    },
    "verifiedRepo": true
  },
  "upload": {
    "behavior": "yaml",
    "defaultName": "",
    "rootFolder": "",
    "yamlFolderKey": "",
    "frontmatterTitle": {
      "enable": false,
      "key": "title"
    },
    "replaceTitle": [],
    "replacePath": [],
    "autoclean": {
      "enable": false,
      "excluded": []
    },
    "folderNote": {
      "enable": false,
      "rename": "index.md",
      "addTitle": {
        "enable": false,
        "key": "title"
      }
    },
    "metadataExtractorPath": ""
  },
  "conversion": {
    "hardbreak": false,
    "dataview": true,
    "censorText": [],
    "tags": {
      "inline": false,
      "exclude": [],
      "fields": []
    },
    "links": {
      "internal": true,
      "unshared": false,
      "wiki": true,
      "slugify": true
    }
  },
  "embed": {
    "attachments": true,
    "forcePushAttachments": [],
    "keySendFile": [],
    "notes": true,
    "folder": "Attachments",
    "convertEmbedToLinks": "bake",
    "charConvert": "->",
    "bake": {
      "textBefore": "",
      "textAfter": ""
    },
    "useObsidianFolder": true
  }
}

### Relevant log output

```bash session
Nothing happens in console when I try to do that.

OS

No response

Anything else?

No response

Obsidian information

SYSTEM INFO:
    Obsidian version: v1.4.16
    Installer version: v1.4.16
    Operating system: #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov  2 18:01:13 UTC 2 6.2.0-37-generic
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: Minimal v7.3.5
    Snippets enabled: 1
    Restricted mode: off
    Plugins installed: 41
    Plugins enabled: 39
        1: Advanced Slides v1.20.0
        2: Advanced Tables v0.19.1
        3: Better Command Palette v0.17.1
        4: Better Export PDF v1.0.5
        5: Calendar v1.5.10
        6: Callout Manager v1.0.1
        7: Clear Unused Images v1.1.0
        8: Copy Image and URL context menu v1.5.1
        9: Creases v0.7.0
        10: Dataview v0.5.64
        11: DB Folder v3.5.0
        12: Footnote Shortcut v0.1.3
        13: Filename Heading Sync v1.9.0
        14: Github Publisher v6.11.3
        15: Heading Shifter v1.5.1
        16: Hide Sidebars on Window Resize v1.1.0
        17: Hot Reload v0.1.8
        18: Icon Shortcodes v0.9.7
        19: Iconize v2.8.0
        20: Icons v0.3.0
        21: Jump to link v0.4.4
        22: Linter v1.20.1
        23: Minimal Theme Settings v7.3.1
        24: Mousewheel Image zoom v1.0.19
        25: Number Headings v1.16.0
        26: Omnisearch v1.19.0
        27: Open vault in VSCode v1.2.1
        28: Outliner v4.8.0
        29: Paste URL into selection v1.7.0
        30: Periodic Notes v0.0.17
        31: Remember File State v1.1.1
        32: Smart Typography v1.0.18
        33: Style Settings v1.0.7
        34: Tab Switcher v1.4.0
        35: Workspaces Plus v0.3.3
        36: Zoom v1.1.2
        37: Obsidian Git v2.22.0
        38: Vertical Tabs View v2.4.5
        39: Imgur Plugin v2.4.0

RECOMMENDATIONS:
    Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
    Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
piotrnajda3000 commented 11 months ago

Also thank you! This is an amazing plugin.

Mara-Li commented 11 months ago

Please, read the docs before posting. You need to set a root folder to enable this.