blob: 1132c3eca46d403ca51acf9f6ce7fc48eb3734e0 [file] [log] [blame]
Joe Gregorio02f72022021-03-27 10:12:45 -04001baseURL = "/"
2title = "Skia"
3
4enableRobotsTXT = false
5
6# Hugo allows theme composition (and inheritance). The precedence is from left to right.
7theme = ["docsy"]
8
9# Will give values to .Lastmod etc.
10enableGitInfo = false
11
12disableKinds = ["taxonomy", "taxonomyTerm"]
13
14# Highlighting config
15pygmentsCodeFences = true
16pygmentsUseClasses = false
17# Use the new Chroma Go highlighter in Hugo.
18pygmentsUseClassic = false
19#pygmentsOptions = "linenos=table"
20# See https://help.farbox.com/pygments.html
21pygmentsStyle = "tango"
22
23# Configure how URLs look like per section.
24[permalinks]
25blog = "/:section/:year/:month/:day/:slug/"
26
27## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
28[blackfriday]
29plainIDAnchors = true
30hrefTargetBlank = true
31angledQuotes = false
32latexDashes = true
33
34# Image processing configuration.
35[imaging]
36resampleFilter = "CatmullRom"
37quality = 75
38anchor = "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].
43id = "UA-18058-16"
44
45# Language configuration
46
47[languages]
48[languages.en]
49title = "Skia"
50description = "2D Graphics Library"
51languageName ="English"
52# Weight used for sorting.
53weight = 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]
68copyright = "Google"
69privacy_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.
76version_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.
81archived_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.
86version = "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.
90url_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.
105gcs_engine_id = "009791159600898516779:8-nlv0iznho"
106
107# Enable Algolia DocSearch
108algolia_docsearch = false
109
110# Enable Lunr.js offline search
111offlineSearch = false
112
113# Enable syntax highlighting and copy buttons on code blocks with Prism
114prism_syntax_highlighting = false
115
116# User interface configuration
117[params.ui]
118# Enable to show the side bar menu in its compact state.
119sidebar_menu_compact = false
120# Set to true to disable breadcrumb navigation.
121breadcrumb_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)
123sidebar_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
125navbar_logo = false
126# Set to true to disable the About link in the site footer
127footer_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]
134enable = false
135# The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
136yes = 'Glad to hear it! Please <a href="https://bugs.chromium.org/p/skia/issues/entry">tell us how we can improve</a>.'
137no = '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]
143enable = 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 Gregorio786379f2021-04-01 13:35:24 -0400179[params.mermaid]
180enable = true