Selaa lähdekoodia

Fix documentation issues

- google_font() not google_fonts()
- make ranges code to avoide link
tags/v0.1.1
Garrick Aden-Buie 8 vuotta sitten
vanhempi
commit
9215427281
13 muutettua tiedostoa jossa 13 lisäystä ja 13 poistoa
  1. +1
    -1
      R/utils.R
  2. +1
    -1
      man-roxygen/extra_css.R
  3. +1
    -1
      man/apply_alpha.Rd
  4. +1
    -1
      man/duo.Rd
  5. +1
    -1
      man/duo_accent.Rd
  6. +1
    -1
      man/duo_accent_inverse.Rd
  7. +1
    -1
      man/mono_accent.Rd
  8. +1
    -1
      man/mono_accent_inverse.Rd
  9. +1
    -1
      man/mono_dark.Rd
  10. +1
    -1
      man/mono_light.Rd
  11. +1
    -1
      man/solarized_dark.Rd
  12. +1
    -1
      man/solarized_light.Rd
  13. +1
    -1
      man/write_xaringan_theme.Rd

+ 1
- 1
R/utils.R Näytä tiedosto

@@ -28,7 +28,7 @@ darken_color <- function(color_hex, strength = 0.8) {

#' @title Add alpha to hex color
#' @description Applies alpha (or opacity) to a color in hexadecimal form by
#' converting opacity in the [0, 1] range to hex in the [0, 255] range
#' converting opacity in the `[0, 1]` range to hex in the `[0, 255]` range
#' and appending to the hex color.
#' @inheritParams lighten_darken_color
#' @param opacity Desired opacity of the output color

+ 1
- 1
man-roxygen/extra_css.R Näytä tiedosto

@@ -3,4 +3,4 @@
#' \code{list(".class-id" = list("css-property" = "value"))}
#' @param extra_fonts A list of additional fonts to import, each list element
#' can be either a URL as a character string or a call to
#' \code{\link{google_fonts}()}
#' \code{\link{google_font}()}

+ 1
- 1
man/apply_alpha.Rd Näytä tiedosto

@@ -13,6 +13,6 @@ apply_alpha(color_hex, opacity = 0.5)
}
\description{
Applies alpha (or opacity) to a color in hexadecimal form by
converting opacity in the \link{0, 1} range to hex in the \link{0, 255} range
converting opacity in the \code{[0, 1]} range to hex in the \code{[0, 255]} range
and appending to the hex color.
}

+ 1
- 1
man/duo.Rd Näytä tiedosto

@@ -156,7 +156,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/duo_accent.Rd Näytä tiedosto

@@ -164,7 +164,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/duo_accent_inverse.Rd Näytä tiedosto

@@ -165,7 +165,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/mono_accent.Rd Näytä tiedosto

@@ -157,7 +157,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/mono_accent_inverse.Rd Näytä tiedosto

@@ -157,7 +157,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/mono_dark.Rd Näytä tiedosto

@@ -158,7 +158,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/mono_light.Rd Näytä tiedosto

@@ -158,7 +158,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/solarized_dark.Rd Näytä tiedosto

@@ -149,7 +149,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/solarized_light.Rd Näytä tiedosto

@@ -149,7 +149,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

+ 1
- 1
man/write_xaringan_theme.Rd Näytä tiedosto

@@ -147,7 +147,7 @@ of CSS property-value pairs, i.e.

\item{extra_fonts}{A list of additional fonts to import, each list element
can be either a URL as a character string or a call to
\code{\link{google_fonts}()}}
\code{\link{google_font}()}}

\item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
}

Loading…
Peruuta
Tallenna