github.com/ipfans/trojan-go@v0.11.0/docs/config.toml (about)

     1  baseURL = "https://p4gefau1t.github.io/trojan-go"
     2  
     3  languageCode = "zh-CN"
     4  title = "Trojan-Go Docs"
     5  theme = "hugo-theme-techdoc"
     6  
     7  hasCJKLanguage = true
     8  metaDataFormat = "yaml"
     9  
    10  defaultContentLanguage = "zh"
    11  defaultContentLanguageInSubdir= true
    12  enableMissingTranslationPlaceholders = false
    13  
    14  [params]
    15  
    16      # Source Code repository section
    17      description = "An unidentifiable mechanism that helps you bypass GFW."
    18      github_repository = "https://github.com/ipfans/trojan-go"
    19  
    20      # Documentation repository section
    21      # documentation repository (set edit link to documentation repository)
    22      github_doc_repository = "https://github.com/ipfans/trojan-go/docs"
    23  
    24      # Analytic section
    25      google_analytics_id = "" # Your Google Analytics tracking id
    26      tag_manager_container_id = "" # Your Google Tag Manager container id
    27      google_site_verification = "" # Your Google Site Verification for Search Console
    28  
    29      # Open Graph and Twitter Cards settings section
    30      # Open Graph settings for each page are set on the front matter.
    31      # See https://gohugo.io/templates/internal/#open-graph
    32      # See https://gohugo.io/templates/internal/#twitter-cards
    33      title = "Trojan-Go Docs"
    34      images = ["images/og-image.png"] # Open graph images are placed in `static/images`
    35  
    36      # Theme settings section
    37      # Theme color
    38      # See color value reference https://developer.mozilla.org/en-US/docs/Web/CSS/color
    39      custom_font_color = ""
    40      custom_background_color = ""
    41  
    42      # Documentation Menu section
    43      # Menu style settings
    44      menu_style = "open-menu" # "open-menu" or "slide-menu"
    45  
    46      # Date format
    47      dateformat = "" # default "2 Jan 2006"
    48      # See the format reference https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
    49  
    50      # path name excluded from documentation menu
    51      menu_exclusion = [
    52          "archives",
    53          "archive",
    54          "blog",
    55          "entry",
    56          "post",
    57          "posts",
    58      ]
    59  
    60      # Algolia site search section
    61      # See https://www.algolia.com/doc/
    62      algolia_search_enable = true
    63      algolia_indexName = "hugo-demo-techdoc"
    64      algolia_appId = "7W4SAN4PLK"
    65      algolia_apiKey = "cbf12a63ff72d9c5dc0c10c195cf9128" # Search-Only API Key
    66  
    67  # Global menu section
    68  # See https://gohugo.io/content-management/menus/
    69  [menu]
    70      [[menu.main]]
    71          name = "Home"
    72          url = "/"
    73          weight = 1
    74  
    75      [[menu.main]]
    76          name = "GitHub"
    77          url = "https://github.com/p4gefau1t"
    78          weight = 2
    79  
    80  # Markup configure section
    81  # See https://gohugo.io/getting-started/configuration-markup/
    82  [markup]
    83      defaultMarkdownHandler = "goldmark"
    84      [markup.goldmark.renderer]
    85          unsafe= true
    86      [markup.tableOfContents]
    87          startLevel = 2
    88          endLevel = 4
    89          ordered = false
    90  
    91  # Algolia Search configure section
    92  [outputFormats.Algolia]
    93      baseName = "algolia"
    94      isPlainText = true
    95      mediaType = "application/json"
    96      notAlternative = true
    97  
    98  [params.algolia]
    99      vars = [
   100          "title",
   101          "summary",
   102          "content",
   103          "date",
   104          "publishdate",
   105          "description",
   106          "permalink",
   107          "keywords",
   108          "lastmod",
   109      ]
   110      params = [
   111          "tags",
   112          "categories",
   113      ]