fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#mdbook

1 post1 participant0 posts today

#rust #mdBook
Does anyone know if there is a relatively simple way to make a renderer for mdBook that could access and modify the generated HTML output of the default HTML renderer before it is written to the HTML files? Or do I need to fork the existing HTML renderer? Because it does not exactly look like a simple task… 😕

Does anyone have a tool they prefer for #writing printable #books, committing it in #git, and rendering it as static html site (or maybe just good navigation in #codeberg itself), and also rendering a nice #pdf with table of contents, footers, indices, etc.? Something like #mdbook, #bookdown, #pandoc, or the like? I'm flexible with the exact syntax of the docs. I'm using mdbook with mdbook-pdf at the moment. I haven't tried mdbook-latex yet. (Using something like jinja would be nice.)

Finally had some time to play around with #mdbook. And I must say, I am impressed.

Very easy to use, very intuitive. And the documentation is really excellent (and written as a mdbook...).

github.com/rust-lang/mdBook
rust-lang.github.io/mdBook/ind

mdbook makes it really easy to put together some markdown files and create a good looking, browsable documentation.

GitHubGitHub - rust-lang/mdBook: Create book from markdown files. Like Gitbook but implemented in RustCreate book from markdown files. Like Gitbook but implemented in Rust - rust-lang/mdBook

After trying to use for in-project , I decided that I'm using it wrong.

I want the docs to be readable both from git browsers and generated HTML. mdbook does that by converting ".md" to ".html" in links.

But then, I have a couple of .md files that should be linked but don't need to be in the index, like "COPYING.md". I don't think mdbook can do that.

I have to modify selected links (to source documentation), and it's a miss here too.

mdbook is really for books.

I have gotten more translations from the wonderful #rust community! This time a #turkish translation of the first day of Rust Fundamentals. If you know someone who are interested in reviewing translations of Rust training material, please send them my way:

github.com/google/comprehensiv

GitHubtr: day-1-morning fully translated into Turkish by Enes1313 · Pull Request #1971 · google/comprehensive-rustBy Enes1313

Thanks to amazing work by Max Heller, you can now download all five #Rust courses in Comprehensive Rust as a 375-page PDF! They're generated using #pandoc from the #mdbook sources. You'll find them for every translation too:

- English: google.github.io/comprehensive
- Korean: google.github.io/comprehensive
- Spanish: google.github.io/comprehensive

etc. See github.com/google/comprehensiv for the tooling Max wrote.

Thanks to , I'm well on my way to finally completing my private / for all things : home network, desktop, mobile, code snippets and so on, guides I'm sure I'll be glad I can easily reference again someday.

I started my wiki some time ago, but only recently got the momentum back to make real progress with it. It's a good feeling. .
rust-lang.github.io/mdBook/

rust-lang.github.ioIntroduction - mdBook DocumentationCreate book from markdown files. Like Gitbook but implemented in Rust