Skip to content

Commit 28933c0

Browse files
tcbegleyglsdown
andauthored
Examples (#635)
* Restructure examples directory * Add Toast example * Add readme * Remove redundant R alert example * Added some julia examples * Added Project.toml * Added telephones example * Simple histogram example * Wordcloud example * Restructure examples folder * Update links * Restructure Julia examples Co-authored-by: glsdown <gemmalsdown@icloud.com>
1 parent ac5ec16 commit 28933c0

File tree

45 files changed

+1819
-845
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1819
-845
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ deps/
4040
src/*.jl
4141
src/jl
4242
Project.toml
43+
examples/**/Manifest.toml
44+
!examples/**/Project.toml

docs/components_page/components/navbar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ The `NavbarSimple` will collapse on smaller screens, and add a toggle for reveal
1515

1616
## Navbar
1717

18-
If you want to have more control over the layout of your navbar you can use the `Navbar` component. This gives you full control over the children, but you will have to write your own callbacks to achieve things like the toggle behaviour on small screens. We recommend using a `Nav` component to wrap the navigation items, check the [docs here](/l/components/nav).
18+
If you want to have more control over the layout of your navbar you can use the `Navbar` component. This gives you full control over the children, but you will have to write your own callbacks to achieve things like the toggle behaviour on small screens. We recommend using a `Nav` component to wrap the navigation items, check the [docs here](/docs/components/nav).
1919

20-
Here is an example of a custom navbar, see the `examples/` folder in the [GitHub repo](https://github.com/facultyai/dash-bootstrap-components/blob/main/examples/advanced-component-usage/Navbars.py) for more.
20+
Here is an example of a custom navbar, see the `examples/` folder in the [GitHub repo](https://github.com/facultyai/dash-bootstrap-components/blob/main/examples/python/advanced-component-usage/navbars.py) for more.
2121

2222
{{example:components/navbar/navbar.py:navbar}}
2323

examples/R-components/alert.R

Lines changed: 0 additions & 164 deletions
This file was deleted.

examples/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# dash-bootstrap-components examples
2+
3+
This directory contains Python, R, and Julia examples organised into `python/`,
4+
`r/`, and `julia/` respectively. In each sub-directory there are three further
5+
sub-directories: `advanced-component-usage/`, `gallery/`, and `templates/`.
6+
7+
- `advanced-component-usage/`: More detailed usage patterns of various
8+
components than there is space for in the documentation.
9+
- `gallery/`: A collection of example apps.
10+
- `templates/`: Templates with various different layouts and minimal content
11+
that can be used as a starting point for new apps.
12+
13+
If you think something is missing here or would like more examples of something
14+
then please
15+
[raise an issue](https://github.com/facultyai/dash-bootstrap-components/issues/new?template=feature.md).

examples/advanced-component-usage/README.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)