Skip to content

Commit

Permalink
try version_menu
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenlj committed Jul 25, 2021
1 parent 60d9fe3 commit fb843a1
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,12 @@ guessSyntax = "true"

[params]
copyright = "The Apache Software Foundation. Apache and the Apache feather logo are trademarks of The Apache Software Foundation."
#privacy_policy = "https://policies.google.com/privacy"

# Google Custom Search Engine ID. Remove or comment out to disable search.
#gcs_engine_id = "011737558837375720776:fsdu1nryfng"

# Enable Algolia DocSearch
algolia_docsearch = true
# Enable Lunr.js offline search
offlineSearch = false

# First one is picked as the Twitter card image if not set on page.
# images = ["images/project-illustration.png"]

version = "v3.0"

# Add your release versions here
[[params.versions]]
version = "v3.0 (latest)"
Expand All @@ -108,17 +99,8 @@ version = "v3.0"
version = "v2.x"
url = "https://dubbo.apache.org/zh/docsv2.7/"

# 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 = "v3.0 (latest)"

# Flag used in the "version-banner" partial to decide whether to display a
# banner on every page indicating that this is an archived version of the docs.
# Set this flag to "true" if you want to display the banner.
version = "v3.0"
archived_version = false

# A link to latest version of the docs. Used in the "version-banner" partial to
# point people to the main doc site.
url_latest_version = "https://dubbo.apache.org/zh/docs/"

# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
Expand Down

0 comments on commit fb843a1

Please sign in to comment.