Skip to content

Get projects plugin to pick up new projects #6399

@alexvoss

Description

@alexvoss

Context

When working with the projects plugin, a newly created project is not getting picked up. While it is relatively easy to trigger a re-build by touching the main mkdocs.yml, it would be nice if new projects were picked up automatically.

It is debatable whether this constitutes a bug or a change request. I went with the latter since this should not be blocker for anyone.

Description

I am proposing to add something to the configuration of the file system watcher that would identify a new subdirectory in the projects_dir. Looking at the documentation of the watchdog library used, it seems this should be possible.

Related links

Use Cases

This applies for any use of the projects plugin. It may be more important to some uses than others, since in some there will be plenty new subprojects being created all the time, while other users may have a limited and static set of subprojects.

Visuals

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions