docs: fix links to tutorials & examples (#1645)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by mhdna · committed by GitHub · parent 6fb1f47 · Browse files · 4 files·+9 added−9 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+9 added−9 removed
- other:+9 added−9 removed
Provenance
- Commit
882727b- Tree
804d6a0- Author
mhdna <mhdna@outlook.com>- Committer
GitHub <noreply@github.com>- Parent
6fb1f47
4 files changed+9 added−9 removed
modified:examples/composable-views/main.go+2 added-2 removed
16 unmodified lines17 haven't already read our tutorials on the basics of Bubble Tea and working with18 commands, we recommend reading those first.19 20 Find them at:21-https://github.com/charmbracelet/bubbletea/tree/master/tutorials/commands22-https://github.com/charmbracelet/bubbletea/tree/master/tutorials/basics21+https://github.com/charmbracelet/bubbletea/tree/main/tutorials/commands22+https://github.com/charmbracelet/bubbletea/tree/main/tutorials/basics23 */24 25 // sessionState is used to track which model is focused26 type sessionState uint137 unmodified linesmodified:tutorials/basics/README.md+3 added-3 removed
8 unmodified lines9 By the way, the non-annotated source code for this program is available10 [on GitHub][tut-source].11 12 [elm]: https://guide.elm-lang.org/architecture/13-[tut-source]: https://github.com/charmbracelet/bubbletea/tree/master/tutorials/basics13+[tut-source]: https://github.com/charmbracelet/bubbletea/tree/main/tutorials/basics14 15 ## Enough! Let’s get to it.16 17 For this tutorial, we’re making a shopping list.197 unmodified lines215 216 There are also several [Bubble Tea examples][examples] available and, of course,217 there are [Go Docs][docs].218 219-[cmd]: http://github.com/charmbracelet/bubbletea/tree/master/tutorials/commands/220-[examples]: http://github.com/charmbracelet/bubbletea/tree/master/examples219+[cmd]: https://github.com/charmbracelet/bubbletea/tree/main/tutorials/commands/220+[examples]: https://github.com/charmbracelet/bubbletea/tree/main/examples221 [docs]: https://pkg.go.dev/charm.land/bubbletea/v2?tab=doc222 223 ## Additional Resources224 18 unmodified linesmodified:tutorials/commands/README.md+2 added-2 removed
4 unmodified lines5 understanding of [the first tutorial][basics].6 7 You can find the non-annotated version of this program [on GitHub][source].8 9-[basics]: https://github.com/charmbracelet/bubbletea/tree/master/tutorials/basics9+[basics]: https://github.com/charmbracelet/bubbletea/tree/main/tutorials/basics10 [source]: https://github.com/charmbracelet/bubbletea/blob/master/tutorials/commands/main.go11 12 ## Let’s Go!13 207 unmodified lines221 And, of course, check out the [Go Docs][docs].222 223 [bubbles]: https://github.com/charmbracelet/bubbles224 [docs]: https://pkg.go.dev/charm.land/bubbletea/v2?tab=doc225-[examples]: https://github.com/charmbracelet/bubbletea/tree/master/examples225+[examples]: https://github.com/charmbracelet/bubbletea/tree/main/examples226 227 ## Additional Resources228 229 - [Libraries we use with Bubble Tea](https://github.com/charmbracelet/bubbletea/#libraries-we-use-with-bubble-tea)17 unmodified linesmodified:tea.go+2 added-2 removed
2 unmodified lines3 // and complex terminal applications, either inline, full-window, or a mix of4 // both. It's been battle-tested in several large projects and is5 // production-ready.6 //7-// A tutorial is available at https://github.com/charmbracelet/bubbletea/tree/master/tutorials7+// A tutorial is available at https://github.com/charmbracelet/bubbletea/tree/main/tutorials8 //9-// Example programs can be found at https://github.com/charmbracelet/bubbletea/tree/master/examples9+// Example programs can be found at https://github.com/charmbracelet/bubbletea/tree/main/examples10 package tea11 12 import (13 "bytes"1426 unmodified lines