Skip to content

Commit

Permalink
docs: Strip front matter
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Sep 29, 2024
1 parent e8f470a commit f9afc2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 2 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ output:
html_preview: false
---

<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- README.md and index.md are generated from README.Rmd. Please edit that file. -->

```{r, include = FALSE}
knitr::opts_chunk$set(
Expand All @@ -25,6 +25,7 @@ clean_output <- function(x, options) {
index <- x
index <- gsub("─", "-", index)
index <- strsplit(paste(index, collapse = "\n"), "\n---\n")[[1]][[2]]
writeLines(index, "index.md")
x <- fansi::strip_sgr(x)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- README.md and index.md are generated from README.Rmd. Please edit that file. -->

# duckplyr <a href="https://duckplyr.tidyverse.org"><img src="man/figures/logo.png" align="right" height="138" /></a>

Expand Down
7 changes: 1 addition & 6 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
output:
github_document:
html_preview: false
---

<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- README.md and index.md are generated from README.Rmd. Please edit that file. -->



Expand Down

0 comments on commit f9afc2d

Please sign in to comment.