Skip to content

Commit

Permalink
RDAPI-16737: reinstate content lang folder and update config.toml wit…
Browse files Browse the repository at this point in the history
…h latest docsy params
  • Loading branch information
Alex Earnshaw committed Jul 10, 2019
1 parent 582bee3 commit 92e63bd
Show file tree
Hide file tree
Showing 45 changed files with 50 additions and 11 deletions.
61 changes: 50 additions & 11 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,33 @@
baseURL = "https://improve-axway-docs.netlify.com/"
languageCode = "en-us"
title = "Improve Axway documentation"
pygmentsCodefences = true
pygmentsStyle = "tango"
pygmentsUseClasses = false
baseURL = "https://improve-apim-docs.netlify.com/"
title = "Improve API Management documentation"

# if removed the site will not build!
disableKinds = ["taxonomy", "taxonomyTerm"]
enableRobotsTXT = true

# Hugo allows theme composition (and inheritance). The precedence is from left to right.
theme = ["docsy"]

# Will give values to .Lastmod etc.
enableGitInfo = true

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

# if removed the site will not build!
disableKinds = ["taxonomy", "taxonomyTerm"]

# Highlighting config
pygmentsCodeFences = true
pygmentsUseClasses = false
# Use the new Chroma Go highlighter in Hugo.
pygmentsUseClassic = false
# pygmentsOptions = "linenos=table"
# See https://help.farbox.com/pygments.html
pygmentsStyle = "tango"

# Configure how URLs look like per section.
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"
Expand All @@ -36,12 +50,34 @@ anchor = "smart"
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
# id = "UA-00000000-0"

# Language configuration

[languages]
[languages.en]
title = "Improve API Management documentation"
description = "Improve API Management documentation"
languageName ="English"
# Weight used for sorting.
weight = 1


# Everything below this are Site Params

[params]
copyright = "Axway"
privacy_policy = "https://www.axway.com/en/privacy-statement"

# Menu title if your navbar has a versions selector to access old versions of your site.
# This menu appears only if you have at least one [params.versions] set.
version_menu = "Releases"

# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
github_repo = "https://github.com/alexearnshaw/improve-the-docs"
# An optional link to a related project repo. For example, the sibling repository where your product code lives.
# github_project_repo = "https://github.com/google/docsy"

# Specify a value here if your content directory is not in your repo's root directory
# github_subdir = ""

# Google Custom Search Engine ID. Remove or comment out to disable search.
# gcs_engine_id = "011737558837375720776:fsdu1nryfng"
Expand All @@ -52,6 +88,10 @@ github_repo = "https://github.com/alexearnshaw/improve-the-docs"
sidebar_menu_compact = false
# 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 = false
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
navbar_logo = 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 @@ -60,8 +100,8 @@ breadcrumb_disable = false
[params.ui.feedback]
enable = true
# 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/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'
no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'
yes = 'Glad to hear it! Please <a href="https://github.com/alexearnshaw/improve-the-docs/issues/new">tell us how we can improve</a>.'
no = 'Sorry to hear that. Please <a href="https://github.com/alexearnshaw/improve-the-docs/issues/new">tell us how we can improve</a>.'

[params.links]
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
Expand Down Expand Up @@ -96,4 +136,3 @@ no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY
url = "https://example.org/mail"
icon = "fa fa-envelope"
desc = "Discuss development issues around the project"

File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.

0 comments on commit 92e63bd

Please sign in to comment.