-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
I tried this command:
cargo doc
I then pressed ctrl-c to stop it. I then re-ran it.
I expected to see this happen: It builds the documentation
Instead, this happened:
error: couldn't generate documentation: invalid template: invalid format: should have a newline on the last line
|
= note: failed to create or modify "/home/neikos/projects/software-suite/target/doc/search-index.js"
error: could not document `unicode-ident`
warning: build failed, waiting for other jobs to finish...
error: could not document `smallvec`
error: could not document `thiserror`
Meta
✦ ❯ rustdoc --version --verbose
rustdoc 1.85.0 (4d91de4e4 2025-02-17)
binary: rustdoc
commit-hash: 4d91de4e48198da2e33413efdcd9cd2cc0c46688
commit-date: 2025-02-17
host: x86_64-unknown-linux-gnu
release: 1.85.0
LLVM version: 19.1.7
simonwuelker and ijackson
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.