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