config.toml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. baseURL = "https://mudler.github.io/edgevpn/docs/"
  2. title = "EdgeVPN"
  3. enableRobotsTXT = true
  4. # Hugo allows theme composition (and inheritance). The precedence is from left to right.
  5. theme = ["docsy"]
  6. # Will give values to .Lastmod etc.
  7. enableGitInfo = true
  8. # Language settings
  9. contentDir = "content/en"
  10. defaultContentLanguage = "en"
  11. defaultContentLanguageInSubdir = false
  12. # Useful when translating.
  13. enableMissingTranslationPlaceholders = true
  14. disableKinds = ["taxonomy", "taxonomyTerm"]
  15. # Highlighting config
  16. pygmentsCodeFences = true
  17. pygmentsUseClasses = false
  18. # Use the new Chroma Go highlighter in Hugo.
  19. pygmentsUseClassic = false
  20. #pygmentsOptions = "linenos=table"
  21. # See https://help.farbox.com/pygments.html
  22. pygmentsStyle = "tango"
  23. # Configure how URLs look like per section.
  24. [permalinks]
  25. blog = "/:section/:year/:month/:day/:slug/"
  26. ## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
  27. [blackfriday]
  28. plainIDAnchors = true
  29. hrefTargetBlank = true
  30. angledQuotes = false
  31. latexDashes = true
  32. # Image processing configuration.
  33. [imaging]
  34. resampleFilter = "CatmullRom"
  35. quality = 75
  36. anchor = "smart"
  37. [services]
  38. [services.googleAnalytics]
  39. # Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
  40. id = "UA-00000000-0"
  41. # Language configuration
  42. [languages]
  43. [languages.en]
  44. title = "EdgeVPN"
  45. description = "Package manager built from containers"
  46. languageName ="English"
  47. # Weight used for sorting.
  48. weight = 1
  49. #[languages.it]
  50. #title = "EdgeVPN"
  51. #description = "Gestore di pacchetti basato su containers"
  52. #languageName ="Italian"
  53. #contentDir = "content/it"
  54. #time_format_default = "02.01.2006"
  55. #time_format_blog = "02.01.2006"
  56. [[menu.main]]
  57. name = "Contribution guidelines"
  58. weight = 50
  59. url = "https://github.com/mudler/edgevpn/contribute"
  60. pre = "<i class='fab fa-github'></i>"
  61. post = ""
  62. [markup]
  63. [markup.goldmark]
  64. [markup.goldmark.renderer]
  65. unsafe = true
  66. # Everything below this are Site Params
  67. [params]
  68. copyright = "Ettore Di Giacinto"
  69. privacy_policy = "https://policies.google.com/privacy"
  70. # First one is picked as the Twitter card image if not set on page.
  71. # images = ["images/project-illustration.png"]
  72. # Menu title if your navbar has a versions selector to access old versions of your site.
  73. # This menu appears only if you have at least one [params.versions] set.
  74. version_menu = "Releases"
  75. # Repository configuration (URLs for in-page links to opening issues and suggesting changes)
  76. github_repo = "https://github.com/mudler/edgevpn"
  77. # An optional link to a related project repo. For example, the sibling repository where your product code lives.
  78. github_project_repo = "https://github.com/mudler/edgevpn"
  79. # Specify a value here if your content directory is not in your repo's root directory
  80. github_subdir = "docs"
  81. # Google Custom Search Engine ID. Remove or comment out to disable search.
  82. #gcs_engine_id = "011737558837375720776:fsdu1nryfng"
  83. # Enable Algolia DocSearch
  84. algolia_docsearch = false
  85. # Enable Lunr.js offline search
  86. offlineSearch = true
  87. # User interface configuration
  88. [params.ui]
  89. # Enable to show the side bar menu in its compact state.
  90. sidebar_menu_compact = false
  91. # Set to true to disable breadcrumb navigation.
  92. breadcrumb_disable = true
  93. # Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
  94. sidebar_search_disable = false
  95. # Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
  96. navbar_logo = true
  97. # Set to true to disable the About link in the site footer
  98. footer_about_disable = false
  99. # Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
  100. # This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
  101. # If you want this feature, but occasionally need to remove the "Feedback" section from a single page,
  102. # add "hide_feedback: true" to the page's front matter.
  103. [params.ui.feedback]
  104. enable = true
  105. # The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
  106. yes = 'Glad to hear it! Please <a href="https://github.com/EdgeVPN-lab/docs/issues/new">tell us how we can improve</a>.'
  107. no = 'Sorry to hear that. Please <a href="https://github.com/EdgeVPN-lab/docs/issues/new">tell us how we can improve</a>.'
  108. [params.links]
  109. # End user relevant links. These will show up on left side of footer and in the community page if you have one.
  110. # [[params.links.user]]
  111. # name = "User mailing list"
  112. # url = "https://example.org/mail"
  113. # icon = "fa fa-envelope"
  114. # desc = "Discussion and help from your fellow users"
  115. # [[params.links.user]]
  116. # name ="Twitter"
  117. # url = "https://example.org/twitter"
  118. # icon = "fab fa-twitter"
  119. # desc = "Follow us on Twitter to get the latest news!"
  120. # [[params.links.user]]
  121. # name = "Stack Overflow"
  122. # url = "https://example.org/stack"
  123. # icon = "fab fa-stack-overflow"
  124. # desc = "Practical questions and curated answers"
  125. # Developer relevant links. These will show up on right side of footer and in the community page if you have one.
  126. [[params.links.developer]]
  127. name = "GitHub"
  128. url = "https://github.com/mudler/edgevpn"
  129. icon = "fab fa-github"
  130. desc = "Development takes place here!"
  131. [[params.links.user]]
  132. name = "GitHub Discussions"
  133. url = "https://github.com/mudler/edgevpn/discussions"
  134. icon = "fab fa-github"
  135. desc = "Discussion and help from your fellow users"
  136. [[params.links.user]]
  137. name = "Matrix chat"
  138. url = "https://matrix.to/#/#edgevpn:matrix.org"
  139. icon = "fas fa-comments"
  140. desc = "Join us on Matrix!"
  141. # [[params.links.developer]]
  142. # name = "Developer mailing list"
  143. # url = "https://example.org/mail"
  144. # icon = "fa fa-envelope"
  145. # desc = "Discuss development issues around the project"