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

update the mdBook Documentation for author to fix menu-title render #1118

Closed
ghost opened this issue Dec 18, 2019 · 7 comments
Closed

update the mdBook Documentation for author to fix menu-title render #1118

ghost opened this issue Dec 18, 2019 · 7 comments
Labels
A-Configuration Area: Configuration

Comments

@ghost
Copy link

ghost commented Dec 18, 2019

image

https://github.com/stardussttx/mao-sama-retry

@ehuss
Copy link
Contributor

ehuss commented Dec 22, 2019

Can you provide more information? I visited the site at the url given and I see:

image

@ghost
Copy link
Author

ghost commented Dec 26, 2019

I use Environment Variables in Travis CI let it output title, it doesn't work if you set book title in book.toml.

@ghost
Copy link
Author

ghost commented Dec 26, 2019

Screenshot_20191226-121525_Chrome

@ehuss
Copy link
Contributor

ehuss commented Dec 27, 2019

Ah, I see the problem. The authors field needs to be an array of strings.

It's a bug that mdBook is not displaying a warning or error message.

@ghost
Copy link
Author

ghost commented Dec 28, 2019

It works .


[book]
title = "魔王大人、RETRY!"
authors = ["神埼黑音"]


I think we need to update the mdBook Documentation ?


[book]
title = "Example book"
author = "John Doe"


@ghost ghost changed the title No menu-title from title set in book.toml update the mdBook Documentation for author's settings Dec 28, 2019
@ghost
Copy link
Author

ghost commented Dec 28, 2019

And close #596

@ghost ghost changed the title update the mdBook Documentation for author's settings update the mdBook Documentation for author's to fix menu-title render Dec 29, 2019
@ghost ghost changed the title update the mdBook Documentation for author's to fix menu-title render update the mdBook Documentation for author to fix menu-title render Dec 29, 2019
@ehuss ehuss added the A-Configuration Area: Configuration label Apr 21, 2020
@ehuss
Copy link
Contributor

ehuss commented May 24, 2021

mdbook will now generate an error when authors is a string via #1539.

@ehuss ehuss closed this as completed May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Configuration Area: Configuration
Projects
None yet
Development

No branches or pull requests

1 participant