Skip to content

Commit

Permalink
RDAPI-29447 fix code block issues and align config.toml with template (
Browse files Browse the repository at this point in the history
  • Loading branch information
wlai-axway authored Mar 15, 2023
1 parent 8ddd05f commit dc3bb27
Showing 1 changed file with 75 additions and 70 deletions.
145 changes: 75 additions & 70 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,15 @@
baseURL = "/"
title = "Platform-Management"

enableRobotsTXT = true

# Language settings
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true

# Declaration of docsy them as hugo module
[module]
proxy = "direct"
# uncomment line below for temporary local development of module
# replacements = "github.com/google/docsy -> ../../docsy"
[module.hugoVersion]
extended = true
min = "0.73.0"
[[module.imports]]
path = "github.com/google/docsy"
disable = false
[[module.imports]]
path = "github.com/google/docsy/dependencies"
disable = false
enableRobotsTXT = true


# Will give values to .Lastmod etc.
enableGitInfo = true
Expand All @@ -44,27 +30,6 @@ pygmentsStyle = "tango"
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"

# the json output is used by doc search
[outputs]
home = ["HTML", "RSS", "JSON"]

## Markup config
[markup]
#defaultMarkdownHandler = "blackFriday" # goldmark is the default

[markup.blackFriday]
plainIDAnchors = true
hrefTargetBlank = true #this overrides the default setting of false
angledQuotes = false
latexDashes = true
nofollowLinks = true #this overrides the default setting of false
noreferrerLinks = true #this overrides the default setting of false
noopenerLinks = true #this overrides the default setting of false

[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true #this overrides the default setting of false and allows goldmark to render HTML as well as Markdown

# Image processing configuration.
[imaging]
resampleFilter = "CatmullRom"
Expand All @@ -74,7 +39,7 @@ anchor = "smart"
[services]
[services.googleAnalytics]
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
id = "UA-56643615-3"
#id = "UA-56643615-3"

# Language configuration

Expand All @@ -86,8 +51,24 @@ languageName ="English"
# Weight used for sorting.
weight = 1



[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
style = "tango"
# Uncomment if you want your chosen highlight style used for code blocks without a specified language
# guessSyntax = "true"

# Everything below this are Site Params

# Comment out if you don't want the "print entire section" link enabled.
[outputs]
home = ["HTML", "JSON", "RSS"]

[params]
copyright = "Axway"
privacy_policy = "https://www.axway.com/en/privacy-statement"
Expand All @@ -110,21 +91,30 @@ github_branch = ""
# Google Custom Search Engine ID. Remove or comment out to disable search.
# gcs_engine_id = "011737558837375720776:fsdu1nryfng"

# Enable Algolia DocSearch
algolia_docsearch = false

# Enable Lunr.js offline search
offlineSearch = false

# Enable syntax highlighting and copy buttons on code blocks with Prism
prism_syntax_highlighting = true

# User interface configuration
[params.ui]
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = true

# Set to true to disable breadcrumb navigation.
breadcrumb_disable = false
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = true
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
navbar_logo = true
# Set to true to disable the About link in footer
footer_about_disable = true
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
navbar_logo = true
# Set to true if you don't want the top navbar to be translucent when over a `block/cover`, like on the homepage.
navbar_translucent_over_cover_disable = true
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = true
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = true

# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
Expand All @@ -133,8 +123,8 @@ footer_about_disable = true
[params.ui.feedback]
enable = false
# The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
yes = 'Glad to hear it! Please <a href="https://github.com/Axway/axway-open-docs/issues/new">tell us how we can improve</a>.'
no = 'Sorry to hear that. Please <a href="https://github.com/Axway/axway-open-docs/issues/new">tell us how we can improve</a>.'
yes = 'Glad to hear it! Please <a href="https://github.com/Axway/platform-management-docs/issues/new">tell us how we can improve</a>.'
no = 'Sorry to hear that. Please <a href="https://github.com/Axway/platform-management-docs/issues/new">tell us how we can improve</a>.'

# Adds a reading time to the top of each doc.
# If you want this feature, but occasionally need to remove the Reading time from a single page,
Expand All @@ -145,33 +135,48 @@ enable = true
[params.links]
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
[[params.links.user]]
name = "Axway Community"
url = "https://community.axway.com/"
icon = "fas fa-comments"
desc = "Discussion and help on Axway products from your fellow users"
name = "Axway Community"
url = "https://community.axway.com/"
icon = "fas fa-comments"
desc = "Discussion and help on Axway products from your fellow users"
[[params.links.user]]
name ="Twitter"
url = "https://twitter.com/axway"
icon = "fab fa-twitter"
desc = "Follow Axway on Twitter to get the latest news"
name ="Twitter"
url = "https://twitter.com/axway"
icon = "fab fa-twitter"
desc = "Follow Axway on Twitter to get the latest news"
[[params.links.user]]
name = "Axway Support"
url = "https://support.axway.com/"
icon = "fas fa-question"
desc = "Get answers to your product queries from Axway Support"
name = "Axway Support"
url = "https://support.axway.com/"
icon = "fas fa-question"
desc = "Get answers to your product queries from Axway Support"
# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
[[params.links.developer]]
name = "GitHub"
url = "https://github.com/Axway/axway-open-docs"
icon = "fab fa-github"
desc = "Axway-Open-Docs project on GitHub"
name = "GitHub"
url = "https://github.com/Axway/platform-management-docs"
icon = "fab fa-github"
desc = "Axway-Open-Docs project on GitHub"
[[params.links.developer]]
name = "Axway Developer Portal"
url = "https://developer.axway.com/"
icon = "fas fa-code"
desc = "Developer resources and tutorials"
name = "Axway Developer Portal"
url = "https://developer.axway.com/"
icon = "fas fa-code"
desc = "Developer resources and tutorials"
[[params.links.developer]]
name = "Axway Marketplace"
url = "https://marketplace.axway.com/"
icon = "fas fa-cart-arrow-down"
desc = "Download assets from Axway Marketplace"
name = "Axway Marketplace"
url = "https://marketplace.axway.com/"
icon = "fas fa-cart-arrow-down"
desc = "Download assets from Axway Marketplace"

# Declaration of docsy them as hugo module
[module]
proxy = "direct"
# uncomment line below for temporary local development of module
# replacements = "github.com/google/docsy -> ../../docsy"
[module.hugoVersion]
extended = true
min = "0.75.0"
[[module.imports]]
path = "github.com/google/docsy"
disable = false
[[module.imports]]
path = "github.com/google/docsy/dependencies"
disable = false

0 comments on commit dc3bb27

Please sign in to comment.