Skip to content
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

Title does nothing at creation time #2491

Open
DuckDuckWhale opened this issue Nov 23, 2024 · 1 comment
Open

Title does nothing at creation time #2491

DuckDuckWhale opened this issue Nov 23, 2024 · 1 comment
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?

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

2 participants