You're probably looking for gobyexample.jcbhmr.com
๐ฐ gobyexample.jcbhmr.com website
๐ Forked from mmcgrana/gobyexample
๐ Translations all in one place
๐ Uses mdBook
๐ Searchable
๐ฑ Mobile-friendly
๐ Side panel for quick navigation
๐ป Code examples run in the browser!
You'll need:
Each language is its own mdBook project. You can start the development server with mdbook serve <dir> where <dir> is the language directory.
mdbook serve # English
mdbook serve ./fr/ # FrenchEvery so often remember to run mdbook test but for go code blocks:
./scripts/mdbook-test-go.go # English
./scripts/mdbook-test-go.go ./fr/ # FrenchYou can preview the full multilingual site by first building each language (mdbook build <dir>) and then serving the book/ directory with your favorite static file server.
mdbook build # English
mdbook build ./fr/ # French
# ...
python -m http.server -d ./book/- The original is not mobile-friendly. This is my #1 gripe. This website is mobile friendly. Thanks mdBook!
- The original doesn't let you run code examples like Rust by Example. That's a feature that I want. This website has it.
- The original doesn't have a side panel to quickly jump between pages; you have to go back to the index page. This website has that. There's also
<and>buttons. - The original doesn't have centralized community translations. This website houses all translations in one place.
- The original's build setup is custom & complicated. This website uses mdBook, mdbook-i18n-helpers, and GitHub Pages.
Copyright (c) 2012 Mark McGranaghan
Copyright (c) 2025 Jacob Hummer
Creative Commons Attribution 3.0 Unported License