You can customize the details output:
R Version
Manipulating the title style
R Version
Open by default
R.version.string %>%
details::details(
summary = 'Use the current date as the tooltip',
tooltip = Sys.Date()
)
Use the current date as the tooltip
readLines(
'https://raw.githubusercontent.com/metrumresearchgroup/covrpage/master/_pkgdown.yml'
)%>%
details::details(
summary = 'yaml example',
lang = 'yml'
)
yaml example
title: covrpage
development:
mode: auto
navbar:
structure:
left: [home, reference, articleindex, news]
right: [github, twitter]
components:
articles: ~
articleindex:
text: Articles
href: articles/index.html
twitter:
icon: fa-lg fa-twitter
href: http://twitter.com/MetrumRG
hexURL:
https://github.com/metrumresearchgroup/covrpage/blob/master/inst/logo/covrpageLogoSCREEN.png?raw=true
reference:
- title: "Setup"
contents:
- has_concept("setup")
- title: "Invoking"
contents:
- has_concept("invoke")
- title: "Covrpage Trends"
contents:
- has_concept("log")
- title: "Covrpage Utilities"
contents:
- has_concept("utility")
articles:
- title: "Basics"
contents:
- get-started
- how-to-read-covrpage-report
- title: "Advanced"
contents:
- Continuous_Integration
- Test_Results
- snapshots
- title: "The Output"
contents:
- tests_and_coverage