Skip to content

Title does nothing at creation time #2491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DuckDuckWhale opened this issue Nov 23, 2024 · 3 comments
Closed

Title does nothing at creation time #2491

DuckDuckWhale opened this issue Nov 23, 2024 · 3 comments
Labels
C-bug Category: A bug, incorrect or unintended behavior

Comments

@DuckDuckWhale
Copy link
Contributor

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


@DuckDuckWhale DuckDuckWhale added the C-bug Category: A bug, incorrect or unintended behavior label Nov 23, 2024
@ehuss
Copy link
Contributor

ehuss commented Nov 23, 2024

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?

@szabgab
Copy link
Contributor

szabgab commented Mar 22, 2025

I tried to replicate this using mdbook v0.4.47 both when the author name was and wasn't configured in git. In both cases the title was set properly.

@szabgab
Copy link
Contributor

szabgab commented Apr 4, 2025

I think this issue can be closed.

@ehuss ehuss closed this as completed Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: A bug, incorrect or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants