Skip to content

Commit

Permalink
ci: redocument (#1160)
Browse files Browse the repository at this point in the history
* ci: redocument

* chore: Convince shinyappsio that we need {markdown}
  • Loading branch information
gadenbuie authored Jan 8, 2025
1 parent d5cf8ad commit d73457c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Config/Needs/deploy:
lattice,
leaflet,
lubridate,
markdown,
modelr,
plotly,
reactable,
Expand Down
4 changes: 3 additions & 1 deletion inst/examples-shiny/brand.yml/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ rlang::check_installed("shiny", version = "1.8.1")
rlang::check_installed("bslib", version = "0.8.0.9000")
rlang::check_installed("future")
rlang::check_installed("ggplot2")
rlang::check_installed("markdown")

library(shiny)
library(bslib)
Expand Down Expand Up @@ -257,7 +258,8 @@ initBrandEditor()'
"Documentation",
div(
class = "container-sm overflow-y-auto",
includeMarkdown("documentation.md") # Assuming you've saved the markdown in a file
if (FALSE) library(markdown), # for shinyapps.io
includeMarkdown("documentation.md")
)
),

Expand Down
2 changes: 2 additions & 0 deletions man/bslib-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d73457c

Please sign in to comment.