shuding/nextra

Timestamping fails for files in a git submodule

Offen

#4.781 geöffnet am 03.09.2025

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (1.413 Forks)user submission
bughelp wanted

Repository-Metriken

Stars
 (13.807 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 16h) (3 gemergte PRs in 30 T)

Beschreibung

I am trying to use Nextra for a project where the content (.md files) lives inside a git submodule. When I build I get a lot (~1.5k) of the following warning.

warn [nextra] Failed to get the last modified timestamp from Git for the file [...]

I would be fine just disabling timestamps in my project (for the time being) but I can't work out how to do that either.

To Reproduce Try building https://github.com/jajaperson/next-notes/tree/a5f5970a60959919b65539e42ebcfecbeb9153a9

Contributor Guide