Skip to content

The message "No changes required, already up to date" is issued, even when there are changes #109

@annekekleppe

Description

@annekekleppe

Thanks for creating this tool. We use it extensively in creating a documentation website (www.freon4dsl.dev).

Currently, we are working on the documentation for our version 2.0.0 and I need to change many embedded code examples. I have changed the files that need to be embedded, the 'source-root', but on every markdown file that includes a piece of code, embedme tells me "No changes required, already up to date". I know for certain there are changes, but they will not be embedded.

When I edit a markdown file and remove the line numbers in one of the code blocks, embedme works fine, even for the other code blocks in the same file. When I then insert the line numbers again, it still runs ok - including restricting the embedded lines. However, as I said, we have a large code base, so I would prefer not to do this by hand for every markdown file.

What I have checked is:

  • the style of the comments are in line with the tag after the backticks,
  • there are no spaces in the line numbers,
  • when I redirect the output to stdout, the same error occurs,
  • modification timestamps of both code examples and markdown have no effect.

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions