Skip to content
Myr

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

4 files+9 added−9 removed

modified:examples/composable-views/main.go+2 added-2 removed
16 unmodified lines
17haven't already read our tutorials on the basics of Bubble Tea and working with18commands, we recommend reading those first.1920Find them at:21https://github.com/charmbracelet/bubbletea/tree/master/tutorials/commands22https://github.com/charmbracelet/bubbletea/tree/master/tutorials/basics21https://github.com/charmbracelet/bubbletea/tree/main/tutorials/commands22https://github.com/charmbracelet/bubbletea/tree/main/tutorials/basics23*/2425// sessionState is used to track which model is focused26type sessionState uint
137 unmodified lines
modified:tutorials/basics/README.md+3 added-3 removed
8 unmodified lines
9By the way, the non-annotated source code for this program is available10[on GitHub][tut-source].1112[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/basics1415## Enough! Let’s get to it.1617For this tutorial, we’re making a shopping list.
197 unmodified lines
215216There are also several [Bubble Tea examples][examples] available and, of course,217there are [Go Docs][docs].218219[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=doc222223## Additional Resources224
18 unmodified lines
modified:tutorials/commands/README.md+2 added-2 removed
4 unmodified lines
5understanding of [the first tutorial][basics].67You can find the non-annotated version of this program [on GitHub][source].89[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.go1112## Let’s Go!13
207 unmodified lines
221And, of course, check out the [Go Docs][docs].222223[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/examples226227## Additional Resources228229- [Libraries we use with Bubble Tea](https://github.com/charmbracelet/bubbletea/#libraries-we-use-with-bubble-tea)
17 unmodified lines
modified:tea.go+2 added-2 removed
2 unmodified lines
3// 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/examples10package tea1112import (13 "bytes"
1426 unmodified lines