From 92e63bde55d9cd54918f9c36255b34688a022e32 Mon Sep 17 00:00:00 2001 From: Alex Earnshaw Date: Wed, 10 Jul 2019 16:01:35 +0100 Subject: [PATCH] RDAPI-16737: reinstate content lang folder and update config.toml with latest docsy params --- config.toml | 61 ++++++++++++++---- content/{ => en}/_index.html | 0 content/{ => en}/about/_index.html | 0 .../{ => en}/about/featured-background.jpg | Bin content/{ => en}/blog/_index.md | 0 content/{ => en}/blog/news/_index.md | 0 .../news/first-post/featured-sunset-get.png | Bin .../{ => en}/blog/news/first-post/index.md | 0 content/{ => en}/blog/news/second-post.md | 0 content/{ => en}/blog/releases/_index.md | 0 .../in-depth-monoliths-detailed-spec.md | 0 content/{ => en}/community/_index.md | 0 .../docs/Contribution guidelines/_index.md | 0 .../setup_work_locally.md | 0 .../{ => en}/docs/Getting started/_index.md | 0 .../docs/Getting started/example-page.md | 0 .../{ => en}/docs/Getting started/spruce.jpg | Bin content/{ => en}/docs/_index.md | 0 .../{ => en}/docs/api_management/_index.md | 0 .../API_Portal_additional_features.md | 0 .../APIcatalog_API_details.md | 0 .../APIcatalog_download_API.md | 0 .../APIcatalog_overview.md | 0 .../api-portal-documentation/_index.md | 0 .../docs/api_management/cass_admin/_index.md | 0 .../cass_admin/cassandra_about_preface.md | 0 .../cass_admin/cassandra_architecture.md | 0 .../cass_admin/cassandra_bestpractices.md | 0 .../cass_admin/cassandra_bur.md | 0 .../cass_admin/cassandra_config.md | 0 .../cass_admin/cassandra_manage.md | 0 .../cass_admin/cassandra_ops.md | 0 .../cass_admin/cassandra_setup_script.md | 0 .../docs/api_management/flaredocs/_index.md | 0 .../flaredocs/analytics_config.md | 0 .../flaredocs/analytics_intro.md | 0 .../flaredocs/analytics_scheduled_reports.md | 0 .../flaredocs/analytics_start.md | 0 .../docs/api_management/userdocs/_index.md | 0 .../api_management/userdocs/cli_proxy_flow.md | 0 .../api_management/userdocs/devops_home.md | 0 .../userdocs/devops_overview.md | 0 .../api_management/userdocs/hybrid_home.md | 0 content/{ => en}/featured-background.jpg | Bin content/{ => en}/search.md | 0 45 files changed, 50 insertions(+), 11 deletions(-) rename content/{ => en}/_index.html (100%) rename content/{ => en}/about/_index.html (100%) rename content/{ => en}/about/featured-background.jpg (100%) rename content/{ => en}/blog/_index.md (100%) rename content/{ => en}/blog/news/_index.md (100%) rename content/{ => en}/blog/news/first-post/featured-sunset-get.png (100%) rename content/{ => en}/blog/news/first-post/index.md (100%) rename content/{ => en}/blog/news/second-post.md (100%) rename content/{ => en}/blog/releases/_index.md (100%) rename content/{ => en}/blog/releases/in-depth-monoliths-detailed-spec.md (100%) rename content/{ => en}/community/_index.md (100%) rename content/{ => en}/docs/Contribution guidelines/_index.md (100%) rename content/{ => en}/docs/Contribution guidelines/setup_work_locally.md (100%) rename content/{ => en}/docs/Getting started/_index.md (100%) rename content/{ => en}/docs/Getting started/example-page.md (100%) rename content/{ => en}/docs/Getting started/spruce.jpg (100%) rename content/{ => en}/docs/_index.md (100%) rename content/{ => en}/docs/api_management/_index.md (100%) rename content/{ => en}/docs/api_management/api-portal-documentation/API_Portal_additional_features.md (100%) rename content/{ => en}/docs/api_management/api-portal-documentation/APIcatalog_API_details.md (100%) rename content/{ => en}/docs/api_management/api-portal-documentation/APIcatalog_download_API.md (100%) rename content/{ => en}/docs/api_management/api-portal-documentation/APIcatalog_overview.md (100%) rename content/{ => en}/docs/api_management/api-portal-documentation/_index.md (100%) rename content/{ => en}/docs/api_management/cass_admin/_index.md (100%) rename content/{ => en}/docs/api_management/cass_admin/cassandra_about_preface.md (100%) rename content/{ => en}/docs/api_management/cass_admin/cassandra_architecture.md (100%) rename content/{ => en}/docs/api_management/cass_admin/cassandra_bestpractices.md (100%) rename content/{ => en}/docs/api_management/cass_admin/cassandra_bur.md (100%) rename content/{ => en}/docs/api_management/cass_admin/cassandra_config.md (100%) rename content/{ => en}/docs/api_management/cass_admin/cassandra_manage.md (100%) rename content/{ => en}/docs/api_management/cass_admin/cassandra_ops.md (100%) rename content/{ => en}/docs/api_management/cass_admin/cassandra_setup_script.md (100%) rename content/{ => en}/docs/api_management/flaredocs/_index.md (100%) rename content/{ => en}/docs/api_management/flaredocs/analytics_config.md (100%) rename content/{ => en}/docs/api_management/flaredocs/analytics_intro.md (100%) rename content/{ => en}/docs/api_management/flaredocs/analytics_scheduled_reports.md (100%) rename content/{ => en}/docs/api_management/flaredocs/analytics_start.md (100%) rename content/{ => en}/docs/api_management/userdocs/_index.md (100%) rename content/{ => en}/docs/api_management/userdocs/cli_proxy_flow.md (100%) rename content/{ => en}/docs/api_management/userdocs/devops_home.md (100%) rename content/{ => en}/docs/api_management/userdocs/devops_overview.md (100%) rename content/{ => en}/docs/api_management/userdocs/hybrid_home.md (100%) rename content/{ => en}/featured-background.jpg (100%) rename content/{ => en}/search.md (100%) diff --git a/config.toml b/config.toml index 74ce4498ca..28eff482da 100644 --- a/config.toml +++ b/config.toml @@ -1,12 +1,7 @@ -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"] @@ -14,6 +9,25 @@ 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/" @@ -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" @@ -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. @@ -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 tell us how we can improve.' -no = 'Sorry to hear that. Please tell us how we can improve.' +yes = 'Glad to hear it! Please tell us how we can improve.' +no = 'Sorry to hear that. Please tell us how we can improve.' [params.links] # End user relevant links. These will show up on left side of footer and in the community page if you have one. @@ -96,4 +136,3 @@ no = 'Sorry to hear that. Please