File: _pkgdown.yml

package info (click to toggle)
r-cran-bookdown 0.42%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,752 kB
  • sloc: javascript: 11,343; makefile: 21; sh: 20
file content (104 lines) | stat: -rw-r--r-- 2,529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
destination: reference

# website will be referenced on https://pkgs.rstudio.com/
# Open a PR in https://github.com/rstudio/pkgs.rstudio.com
url: https://pkgs.rstudio.com/bookdown/

template:
  package: tidytemplate
  bootstrap: 5
  bslib:
    primary: "#096B72"
    navbar-background: "#e6f3fc"
  trailing_slash_redirect: true
  opengraph:
    image:
      src: man/figures/logo.png
      alt: "bookdown package"
    twitter:
      creator: "@rstudio"
      card: summary

home:
  links:
  - text: Learn more about R Markdown
    href: "https://rmarkdown.rstudio.com"

# custom footer for rmarkdown ecosystem
footer:
  structure:
    left: [rmd]
    right: [developed_by, p, built_with]
  components:
      p: "\n\n"
      rmd: |
        **bookdown** is a part of the **R Markdown** ecosystem of packages for creating
        computational documents in R.<br>Learn more at
        [rmarkdown.rstudio.com](https://rmarkdown.rstudio.com/).

# structure of website themed for R Markdown ecosystem
navbar:
  structure:
    left:  [intro, examples, articles, reference, news]
  components:
    examples:
      text: Examples
      href: articles/examples.html

# Add articles menu using
# https://pkgdown.r-lib.org/dev/reference/build_articles.html#index-and-navbar
# articles:

news:
  releases:
  - text: "Version 0.23"
    href: https://posit.co/blog/bookdown-release/
  - text: "Version 0.21"
    href: https://posit.co/blog/rmd-news/
  - text: "Version 0.3"
    href: https://posit.co/blog/announcing-bookdown/

reference:
- title: Book output formats
  desc: >
    These output formats are for building books from single or
    multiple `.Rmd` documents. They are built with `render_book()`.
  contents:
  - gitbook
  - pdf_book
  - epub_book
  - bs4_book
  - tufte_html_book
  - html_book

- title: Single document output formats
  desc: >
    These output formats enable **bookdown's** special
    features like cross references in single `.Rmd` documents
    instead of books. There are built with `rmarkdown::render()`.
  contents:
  - ends_with("2")

- title: Create a book
  contents:
  - starts_with("create_")

- title: Previewing and rendering books
  contents:
  - render_book
  - serve_book
  - preview_chapter

- title: Publishing books
  desc: >
    Publish books on <https://bookdown.org> or elsewhere.
  contents:
  - publish_book

- title: Helper functions
  desc: These functions are utility functions when working with **bookdown**.
  contents:
  - clean_book
  - bookdown_site
  - fence_theorems
  - calibre