project:
  type: website
  output-dir: ../docs/

website:
  title: "$ALTDOC_PACKAGE_NAME"
  page-navigation: true
  image: "figures/tinyable_logo.png"
  favicon: "favicon.svg"
  navbar:
    logo: figures/tinytable_logo_notext.png
    search: true
    right:
      - text: Tutorial (HTML)
        menu:
          - vignettes/tinytable.qmd
          - vignettes/format.qmd
          - vignettes/style.qmd
          - vignettes/group.qmd
          - vignettes/plot.qmd
          - vignettes/theme.qmd
          - vignettes/custom.qmd
          - vignettes/options.qmd
          - vignettes/faq.qmd
      - text: Tutorial (PDF)
        file: vignettes/tinytable_tutorial.pdf
      - icon: github
        href: $ALTDOC_PACKAGE_URL_GITHUB
        aria-label: $ALTDOC_PACKAGE_NAME GitHub
      - icon: twitter
        href: https://twitter.com/vincentab
  sidebar:
    collapse-level: 1
    contents:
      - section: Tutorial
        contents:
        - text: Tiny tables
          file: vignettes/tinytable.qmd
        - text: Format
          file: vignettes/format.qmd
        - text: Style
          file: vignettes/style.qmd
        - text: Group labels
          file: vignettes/group.qmd
        - text: Plots and images
          file: vignettes/plot.qmd
        - text: Themes
          file: vignettes/theme.qmd
        - text: Customization
          file: vignettes/custom.qmd
        - text: FAQ
          file: vignettes/faq.qmd
        - text: Alternatives
          file: vignettes/alternatives.qmd
      - text: "Tutorial (PDF)"
        file: vignettes/tinytable_tutorial.pdf
      - section: Functions
        contents:
          - text: "`tt`"
            file: man/tt.qmd
          - text: "`format_tt`"
            file: man/format_tt.qmd
          - text: "`style_tt`"
            file: man/style_tt.qmd
          - text: "`theme_tt`"
            file: man/theme_tt.qmd
          - text: "`group_tt`"
            file: man/group_tt.qmd
          - text: "`plot_tt`"
            file: man/plot_tt.qmd
          - text: "`save_tt`"
            file: man/save_tt.qmd
          - text: "`print`"
            file: man/print.tinytable.qmd
          - text: "`rbind2`"
            file: man/rbind2-tinytable-tinytable-method.qmd
      - text: News
        file: $ALTDOC_NEWS
      - text: Changelog
        file: $ALTDOC_CHANGELOG
      - text: License
        file: $ALTDOC_LICENSE
      - text: Licence
        file: $ALTDOC_LICENCE
      - text: Code of conduct
        file: $ALTDOC_CODE_OF_CONDUCT
      - text: Citation
        file: $ALTDOC_CITATION

format:
  html:
    toc: true
    theme:
      - flatly
      - custom.scss
    highlight-style: atom-one
    code-copy: true
    code-overflow: scroll
