site_name: Storyteller Web SDK
theme:
  name: material
  logo: img/storyteller-logo.svg
  favicon: img/favicon.ico
  features:
    # Scroll down the sidebar so the active section is always visible
    - toc.follow
    # Add prev/next links to the footer
    - navigation.footer
    # Add a copy button to code blocks
    - content.code.copy
    # Link all content tabs with the same label so switching one will switch all the others
    # (eg, if a user clicks on a TypeScript tab, all other TS tabs will be made current)
    - content.tabs.link
  palette:
    scheme: default
    # Nav bar colour
    primary: indigo
    # Link and interactive items colour
    accent: blue
extra_css:
  - stylesheets/extra.css
nav:
  - 'Getting Started': 'index.md'
  - 'Quickstart Guide': 'Quickstart.md'
  - 'Additional Methods': 'AdditionalMethods.md'
  - 'Working with Users': 'Users.md'
  - 'List Views':
      - 'Overview': 'StorytellerListView.md'
      - 'Rows': 'StorytellerRowView.md'
      - 'Grids': 'StorytellerGridView.md'
  - 'Custom Themes': 'Themes.md'
  - 'Implementing StorytellerDelegate Callbacks': 'StorytellerDelegate.md'
  - 'Implementing StorytellerListViewDelegate Callbacks': 'StorytellerListViewDelegate.md'
  - 'Analytics':
      - 'Overview': 'Analytics.md'
      - 'Story Analytics': 'analytics/StoryEvents.md'
      - 'Poll Analytics': 'analytics/PollEvents.md'
      - 'Quiz Analytics': 'analytics/QuizEvents.md'
      - 'Clip Analytics': 'analytics/ClipEvents.md'
      - 'Ad Analytics': 'analytics/AdEvents.md'
  - 'Ads': 'Ads.md'
  - 'Privacy and Tracking': 'PrivacyAndTracking.md'
  - 'Changelog': 'Changelog.md'
markdown_extensions:
  # Callouts (info, warning, etc)
  - admonition
  # Custom IDs for headers (used when a page has duplicate headers)
  - attr_list
  # Table of contents
  - toc:
      permalink: '#'
      toc_depth: '1-3'
      title: 'Table of Contents'
  # Code block highlighting
  - pymdownx.highlight:
      line_spans: __span
      pygments_lang_class: true
  # Inline code highlighting
  - pymdownx.inlinehilite
  # Allow code blocks to be nested in other items
  - pymdownx.superfences
  # Support tabbled code blocks
  - pymdownx.tabbed:
      alternate_style: true
      # Prettify the tab anchor links (eg #typescript, #javascript)
      slugify: !!python/object/apply:pymdownx.slugs.slugify
        kwds:
          case: lower
