-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User feedback on documentation #458
Comments
One of the problems identified is that the description of what To keep it up-to-date with the truth, I'm looking into |
Also relevant https://github.com/yihui/printr/blob/master/R/help.R |
library("magrittr")
db <- tools::Rd_db("fledge")
Rd <- db$finalize_version.Rd
Rd[which(unlist(lapply(Rd, attr, 'Rd_tag')) != "\\description")] <- NULL
temp_file <- withr::local_tempfile()
description <- tools::Rd2txt(Rd, fragment = TRUE, out = temp_file) %>%
readLines()
description <- paste0(description[3:length(description)], collapse = "\n")
cat(description)
#> Calls the following functions:
#>
#> 1. 'commit_version()'
#>
#> 2. 'tag_version()', setting 'force = TRUE' if and only if
#> 'commit_version()' amended a commit.
#>
#> 3. Force-pushes the created tag to the '"origin"' remote, if
#> 'push = TRUE'.
db <- tools::Rd_db("fledge")
Rd <- db$bump_version.Rd
Rd[which(unlist(lapply(Rd, attr, 'Rd_tag')) != "\\description")] <- NULL
temp_file <- withr::local_tempfile()
description <- tools::Rd2txt(Rd, fragment = TRUE, out = temp_file) %>%
readLines()
description <- paste0(description[3:length(description)], collapse = "\n")
cat(description)
#> Calls the following functions:
#>
#> 1. Verify that the current branch is the main branch.
#>
#> 2. Check if there were changes since the last version.
#>
#> 3. 'update_news()'
#>
#> 4. 'update_version()', using the 'which' argument
#>
#> 5. Depending on the 'which' argument:
#>
#> • If '"dev"', 'finalize_version()' with 'push = FALSE'
#>
#> • Otherwise, 'commit_version()'. Created on 2022-08-25 by the reprex package (v2.0.1) |
Do we need to act here? |
I think that once we tackle other documentation labelled issues, we should re-read the feedback to ensure we've improved docs enough. |
I self-host Gitea and ran into two issues. First fledge is hardcoded to use For now I think this section critically needs an update to account for those:
|
@D3SL thanks for your feedback! Would you like to make a PR to the docs? |
Related: #112 |
@maelle would that be setup.rmd or readme.md? Also this may be something that should be fixed on Fledge's side, not sure if you want to change the documents then have to change them back again. |
r-lib/styler#981 (comment)
The text was updated successfully, but these errors were encountered: