baseURL: "https://dhammapatha.pages.dev/"
defaultContentLanguage: "en"
defaultContentLanguageInSubdir: true
enableInlineShortcodes: true

languages:
  en:
    languageCode: "en"
    contentDir: "content/english"
    weight: 1
    languageName: "English"
    title: "Dhammapatha"
  od:
    languageCode: "od"
    contentDir: "content/odia"
    weight: 2
    languageName: "ଓଡ଼ିଆ"
    title: "ଧମ୍ମପଥ"

params:
  showLangSwitch: true

markup:
  defaultMarkdownHandler: "goldmark"
  tableOfContents:
    endLevel: 3
    startLevel: 1
  goldmark:
    renderer:
      unsafe: true
    # parser:
    #   attribute:
    #     block: true
    #     title: true
  # highlight:
  #   codeFences: false

params:
  google_fonts:
    - ["Inter", "300, 400, 600, 700"]
    - ["Fira Code", "500, 700"]

  sans_serif_font: "Inter"
  secondary_font: "Inter"
  mono_font: "Fira Code"

  footer:
    copyright: "© :YEAR: [**Dhammapatha**](https://dhammapatha.pages.dev)"
    # version: true

  social:
    github: ""
    twitter: ""
    mastodon: ""
    medium: ""
    # rss: true

  docs:
    title: "Tripitaka"
    pathName: "tripitaka"
    themeColor: "blue"
    darkMode: true
    prism: true
    prismTheme: "solarized-light"
    repoBranch: "release"
    editPage: true
    lastMod: true
    lastModRelative: true
    sidebarIcons: true
    breadcrumbs: true
    backToTop: true
    toc: true
    tocMobile: true
    scrollSpy: true
    descriptions: true
    titleIcon: true
    navDesc: false
    navDescTrunc: 30
    listDescTrunc: 100
    intLinkTooltip: true
    # extLinkNewTab: false
    # logoLinkURL: ""
  posts:
    title: "posts"
    pathName: "posts"
    themeColor: "red"
    darkMode: true
    prism: true
    prismTheme: "solarized-light"
    repoBranch: "release"
    editPage: true
    lastMod: true
    lastModRelative: true
    sidebarIcons: true
    breadcrumbs: true
    backToTop: true
    toc: true
    tocMobile: true
    scrollSpy: true
    descriptions: true
    titleIcon: true
    navDesc: false
    navDescTrunc: 30
    listDescTrunc: 100
    intLinkTooltip: true
    # extLinkNewTab: false
    # logoLinkURL: ""

  flexsearch:
    enabled: true
    # tokenize: "full"
    # optimize: true
    # cache: 100
    # minQueryChar: 3
    # maxResult: 5
    # searchSectionsIndex: []

  docsearch:
    # appID: ""
    # apiKey: ""
    # indexName: ""

  analytics:
    # plausibleURL: "/docs/s"
    # plausibleAPI: "/docs/s"
    # plausibleDomain: ""

  # feedback:
  #   enabled: true
  #   emoticonTpl: true
  #   eventDest: ["plausible", "google"]
  #   emoticonEventName: "Feedback"
  #   positiveEventName: "Positive Feedback"
  #   negativeEventName: "Negative Feedback"
  #   positiveFormTitle: "What did you like?"
  #   negativeFormTitle: "What went wrong?"
  #   successMsg: "Thank you for helping to improve Lotus Docs' documentation!"
  #   errorMsg: "Sorry! There was an error while attempting to submit your feedback!"
  #   positiveForm:
  #     - ["Accurate", "Accurately describes the feature or option."]
  #     - ["Solved my problem", "Helped me resolve an issue."]
  #     - ["Easy to understand", "Easy to follow and comprehend."]
  #     - ["Something else"]
  #   negativeForm:
  #     - ["Inaccurate", "Doesn't accurately describe the feature or option."]
  #     - ["Couldn't find what I was looking for", "Missing important information."]
  #     - ["Hard to understand", "Too complicated or unclear."]
  #     - ["Code sample errors", "One or more code samples are incorrect."]
  #     - ["Something else"]

menu:
  primary:
    - name: "Tripitaka"
      url: "/tripitaka/"
      identifier: "docs"
      weight: 10
      
    - name: "Posts"
      url: "/posts/"
      identifier: "blog"
      weight: 20
      
    - name: "Showcase"
      url: "/showcase/"
      identifier: "showcase"
      weight: 30
    
    - name: "Community"
      url: "https://github.com/colinwilson/lotusdocs/discussions"
      identifier: "community"
      weight: 40