Joe Gregorio | 02f7202 | 2021-03-27 10:12:45 -0400 | [diff] [blame] | 1 | baseURL = "/" |
| 2 | title = "Skia" |
| 3 | |
| 4 | enableRobotsTXT = false |
| 5 | |
| 6 | # Hugo allows theme composition (and inheritance). The precedence is from left to right. |
| 7 | theme = ["docsy"] |
| 8 | |
| 9 | # Will give values to .Lastmod etc. |
| 10 | enableGitInfo = false |
| 11 | |
| 12 | disableKinds = ["taxonomy", "taxonomyTerm"] |
| 13 | |
| 14 | # Highlighting config |
| 15 | pygmentsCodeFences = true |
| 16 | pygmentsUseClasses = false |
| 17 | # Use the new Chroma Go highlighter in Hugo. |
| 18 | pygmentsUseClassic = false |
| 19 | #pygmentsOptions = "linenos=table" |
| 20 | # See https://help.farbox.com/pygments.html |
| 21 | pygmentsStyle = "tango" |
| 22 | |
| 23 | # Configure how URLs look like per section. |
| 24 | [permalinks] |
| 25 | blog = "/:section/:year/:month/:day/:slug/" |
| 26 | |
| 27 | ## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday |
| 28 | [blackfriday] |
| 29 | plainIDAnchors = true |
| 30 | hrefTargetBlank = true |
| 31 | angledQuotes = false |
| 32 | latexDashes = true |
| 33 | |
| 34 | # Image processing configuration. |
| 35 | [imaging] |
| 36 | resampleFilter = "CatmullRom" |
| 37 | quality = 75 |
| 38 | anchor = "smart" |
| 39 | |
| 40 | [services] |
| 41 | [services.googleAnalytics] |
| 42 | # Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback]. |
| 43 | id = "UA-18058-16" |
| 44 | |
| 45 | # Language configuration |
| 46 | |
| 47 | [languages] |
| 48 | [languages.en] |
| 49 | title = "Skia" |
| 50 | description = "2D Graphics Library" |
| 51 | languageName ="English" |
| 52 | # Weight used for sorting. |
| 53 | weight = 1 |
| 54 | |
| 55 | [markup] |
| 56 | [markup.goldmark] |
| 57 | [markup.goldmark.renderer] |
| 58 | unsafe = true |
| 59 | [markup.highlight] |
| 60 | # See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html |
| 61 | style = "tango" |
| 62 | # Uncomment if you want your chosen highlight style used for code blocks without a specified language |
| 63 | # guessSyntax = "true" |
| 64 | |
| 65 | # Everything below this are Site Params |
| 66 | |
| 67 | [params] |
| 68 | copyright = "Google" |
| 69 | privacy_policy = "https://policies.google.com/privacy" |
| 70 | |
| 71 | # First one is picked as the Twitter card image if not set on page. |
| 72 | # images = ["images/project-illustration.png"] |
| 73 | |
| 74 | # Menu title if your navbar has a versions selector to access old versions of your site. |
| 75 | # This menu appears only if you have at least one [params.versions] set. |
| 76 | version_menu = "Releases" |
| 77 | |
| 78 | # Flag used in the "version-banner" partial to decide whether to display a |
| 79 | # banner on every page indicating that this is an archived version of the docs. |
| 80 | # Set this flag to "true" if you want to display the banner. |
| 81 | archived_version = false |
| 82 | |
| 83 | # The version number for the version of the docs represented in this doc set. |
| 84 | # Used in the "version-banner" partial to display a version number for the |
| 85 | # current doc set. |
| 86 | version = "0.0" |
| 87 | |
| 88 | # A link to latest version of the docs. Used in the "version-banner" partial to |
| 89 | # point people to the main doc site. |
| 90 | url_latest_version = "https://skia.org" |
| 91 | |
| 92 | # Repository configuration (URLs for in-page links to opening issues and suggesting changes) |
| 93 | # github_repo = "https://github.com/google/skia" |
| 94 | # An optional link to a related project repo. For example, the sibling repository where your product code lives. |
| 95 | #github_project_repo = "https://github.com/google/docsy" |
| 96 | |
| 97 | # Specify a value here if your content directory is not in your repo's root directory |
| 98 | #github_subdir = "site2" |
| 99 | |
| 100 | # Uncomment this if you have a newer GitHub repo with "main" as the default branch, |
| 101 | # or specify a new value if you want to reference another branch in your GitHub links |
| 102 | # github_branch= "main" |
| 103 | |
| 104 | # Google Custom Search Engine ID. Remove or comment out to disable search. |
| 105 | gcs_engine_id = "009791159600898516779:8-nlv0iznho" |
| 106 | |
| 107 | # Enable Algolia DocSearch |
| 108 | algolia_docsearch = false |
| 109 | |
| 110 | # Enable Lunr.js offline search |
| 111 | offlineSearch = false |
| 112 | |
| 113 | # Enable syntax highlighting and copy buttons on code blocks with Prism |
| 114 | prism_syntax_highlighting = false |
| 115 | |
| 116 | # User interface configuration |
| 117 | [params.ui] |
| 118 | # Enable to show the side bar menu in its compact state. |
| 119 | sidebar_menu_compact = false |
| 120 | # Set to true to disable breadcrumb navigation. |
| 121 | breadcrumb_disable = false |
| 122 | # Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled) |
| 123 | sidebar_search_disable = false |
| 124 | # Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar |
| 125 | navbar_logo = false |
| 126 | # Set to true to disable the About link in the site footer |
| 127 | footer_about_disable = false |
| 128 | |
| 129 | # Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events. |
| 130 | # This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set. |
| 131 | # If you want this feature, but occasionally need to remove the "Feedback" section from a single page, |
| 132 | # add "hide_feedback: true" to the page's front matter. |
| 133 | [params.ui.feedback] |
| 134 | enable = false |
| 135 | # The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful). |
| 136 | yes = 'Glad to hear it! Please <a href="https://bugs.chromium.org/p/skia/issues/entry">tell us how we can improve</a>.' |
| 137 | no = 'Sorry to hear that. Please <a href="https://bugs.chromium.org/p/skia/issues/entry">tell us how we can improve</a>.' |
| 138 | |
| 139 | # Adds a reading time to the top of each doc. |
| 140 | # If you want this feature, but occasionally need to remove the Reading time from a single page, |
| 141 | # add "hide_readingtime: true" to the page's front matter |
| 142 | [params.ui.readingtime] |
| 143 | enable = false |
| 144 | |
| 145 | [params.links] |
| 146 | # End user relevant links. These will show up on left side of footer and in the community page if you have one. |
| 147 | [[params.links.user]] |
| 148 | name = "User mailing list" |
| 149 | url = "https://groups.google.com/g/skia-discuss" |
| 150 | icon = "fa fa-envelope" |
| 151 | desc = "Discussion and help" |
| 152 | #[[params.links.user]] |
| 153 | # name ="Twitter" |
| 154 | # url = "https://example.org/twitter" |
| 155 | # icon = "fab fa-twitter" |
| 156 | # desc = "Follow us on Twitter to get the latest news!" |
| 157 | #[[params.links.user]] |
| 158 | # name = "Stack Overflow" |
| 159 | # url = "https://example.org/stack" |
| 160 | # icon = "fab fa-stack-overflow" |
| 161 | # desc = "Practical questions and curated answers" |
| 162 | # Developer relevant links. These will show up on right side of footer and in the community page if you have one. |
| 163 | [[params.links.developer]] |
| 164 | name = "GitHub" |
| 165 | url = "https://github.com/google/skia" |
| 166 | icon = "fab fa-github" |
| 167 | desc = "Development takes place here!" |
| 168 | #[[params.links.developer]] |
| 169 | # name = "Slack" |
| 170 | # url = "https://example.org/slack" |
| 171 | # icon = "fab fa-slack" |
| 172 | # desc = "Chat with other project developers" |
| 173 | #[[params.links.developer]] |
| 174 | # name = "Developer mailing list" |
| 175 | # url = "https://example.org/mail" |
| 176 | # icon = "fa fa-envelope" |
| 177 | # desc = "Discuss development issues around the project" |
| 178 | |
Joe Gregorio | 786379f | 2021-04-01 13:35:24 -0400 | [diff] [blame] | 179 | [params.mermaid] |
| 180 | enable = true |