rust-lang / mdBook

Create book from markdown files. Like Gitbook but implemented in Rust
https://rust-lang.github.io/mdBook/
Mozilla Public License 2.0
18.42k stars 1.65k forks source link

Title does nothing at creation time #2491

Open DuckDuckWhale opened 3 days ago

DuckDuckWhale commented 3 days ago

Problem

mdbook v0.4.42, installed via cargo install --locked mdbook, asks about the title at mdbook init time, then proceeds to do nothing with it.

~/projects
❯ cd mdbook-test/

~/projects/mdbook-test
❯ mdbook init

Do you want a .gitignore to be created? (y/n)
y
What title would you like to give the book?
Hello world
2024-11-22 21:51:32 [INFO] (mdbook::book::init): Creating a new book with stub content

All done, no errors...

~/projects/mdbook-test took 7s
❯ rg Hello

~/projects/mdbook-test
❌ERROR ❯ rg world

~/projects/mdbook-test
❌ERROR ❯

Steps

No response

Possible Solution(s)

Configure the book title with the user provided title.

Notes

No response

Version

ehuss commented 3 days ago

Hi! We recently fixed a bug (in the next release, #2486) where the title isn't set if you do not have the author name configured in git. Is that maybe the issue you are running into?