-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Give the Unstable Book a title #59554
Comments
I created a PR for this issue. The title I added is "The Rust Unstable Book". Or should it just be "The Unstable Book"? |
What you have looks great, thanks! |
…, r=frewsxcv Add book.toml with title to unstable-book doc Adding a title to the unstable book based on rust-lang#59554
…, r=frewsxcv Add book.toml with title to unstable-book doc Adding a title to the unstable book based on rust-lang#59554
Looks like there's still no title set after #59569 🤔 |
Hmm... I'll check later when I am |
@frewsxcv I double checked and it seems it's not being able to compile since there is no So I'll add a |
It's been a while since I looked at this code, so not entirely sure how it all works, but I think the summary.md file is generated here: https://github.com/rust-lang/rust/tree/master/src/tools/unstable-book-gen/src |
I see. I took inspiration from the other books (like embedded). When I reproduce it for the unstable book, I get the title and everything. So maybe I just have to add the |
@gruberb The unstable book is generated by a tool ( I would probably edit |
…k, r=ehuss Copy book.toml unstable book generator Solves rust-lang#59554 and adds a book title to the unstable book. I assume that [copy_recursive](https://github.com/rust-lang/rust/blob/acd8dd6a50d505057a7d7ad8d0d7a4c2bd274200/src/tools/unstable-book-gen/src/main.rs#L105) will take files regardless of their type (`.md` or `.toml`). Although I had a hard time time testing it. A second pair of eyes is definitely needed.
…k, r=ehuss Copy book.toml unstable book generator Solves rust-lang#59554 and adds a book title to the unstable book. I assume that [copy_recursive](https://github.com/rust-lang/rust/blob/acd8dd6a50d505057a7d7ad8d0d7a4c2bd274200/src/tools/unstable-book-gen/src/main.rs#L105) will take files regardless of their type (`.md` or `.toml`). Although I had a hard time time testing it. A second pair of eyes is definitely needed.
…k, r=ehuss Copy book.toml unstable book generator Solves rust-lang#59554 and adds a book title to the unstable book. I assume that [copy_recursive](https://github.com/rust-lang/rust/blob/acd8dd6a50d505057a7d7ad8d0d7a4c2bd274200/src/tools/unstable-book-gen/src/main.rs#L105) will take files regardless of their type (`.md` or `.toml`). Although I had a hard time time testing it. A second pair of eyes is definitely needed.
…k, r=ehuss Copy book.toml unstable book generator Solves rust-lang#59554 and adds a book title to the unstable book. I assume that [copy_recursive](https://github.com/rust-lang/rust/blob/acd8dd6a50d505057a7d7ad8d0d7a4c2bd274200/src/tools/unstable-book-gen/src/main.rs#L105) will take files regardless of their type (`.md` or `.toml`). Although I had a hard time time testing it. A second pair of eyes is definitely needed.
seems to be working now, thanks @gruberb! |
Similar to rust-lang/rfcs#2669, but for the Unstable Book
Right now, titles look like:
<title>emit_stack_sizes - </title>
To do this, we might just need to add a
book.toml
file in this directoryThe text was updated successfully, but these errors were encountered: