Skip to content

Implement upgrade suggestions for old MarkBind projects #581

Description

@jamos-tay

This is regarding Markbind projects that are missing features because they were created before they were added.

Some features such as layouts add files to the _markbind or assets folder that only get created on markbind init. However, this can cause problems when run with a newer version of markbind with markbind serve.

A few suggestions:

  • Automatically upgrade the project: This is the most convenient but may cause the site to display differently unexpectedly
  • Detect if the project is outdated, show a warning and request the user run an init command
  • Don't upgrade: Disable features that aren't present, which is the current behavior. Requires some maintenance on our side but makes it easier to maintain legacy projects

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions