fix docs base directory (#2295)

This commit is contained in:
Peng Zhong 2018-09-01 02:09:43 +08:00 committed by Ethan Buchman
parent 7b2f7090fd
commit 5ecdfacb8e
1 changed files with 21 additions and 29 deletions

View File

@ -2,15 +2,13 @@ module.exports = {
title: "Tendermint Core",
description: "Documentation for Tendermint Core",
dest: "./dist/docs",
base: "/",
base: "/docs/",
markdown: {
lineNumbers: true
},
themeConfig: {
lastUpdated: 'Last Updated',
nav: [
{ text: 'Back to Tendermint', link: 'https://tendermint.com' },
],
lastUpdated: "Last Updated",
nav: [{ text: "Back to Tendermint", link: "https://tendermint.com" }],
sidebar: [
{
title: "Getting Started",
@ -18,7 +16,7 @@ module.exports = {
children: [
"/introduction/quick-start",
"/introduction/install",
"/introduction/introduction",
"/introduction/introduction"
]
},
{
@ -28,54 +26,48 @@ module.exports = {
"/tendermint-core/using-tendermint",
"/tendermint-core/configuration",
"/tendermint-core/rpc",
"/tendermint-core/running-in-production",
"/tendermint-core/how-to-read-logs",
"/tendermint-core/block-structure",
"/tendermint-core/light-client-protocol",
"/tendermint-core/metrics",
"/tendermint-core/secure-p2p",
"/tendermint-core/validators",
"/tendermint-core/running-in-production",
"/tendermint-core/how-to-read-logs",
"/tendermint-core/block-structure",
"/tendermint-core/light-client-protocol",
"/tendermint-core/metrics",
"/tendermint-core/secure-p2p",
"/tendermint-core/validators"
]
},
{
title: "Tendermint Tools",
collapsable: false,
children: [
"tools/benchmarking",
"tools/monitoring",
]
},
children: ["tools/benchmarking", "tools/monitoring"]
},
{
title: "Tendermint Networks",
collapsable: false,
children: [
"/networks/deploy-testnets",
"/networks/terraform-and-ansible",
"/networks/fast-sync",
"/networks/fast-sync"
]
},
{
title: "Application Development",
collapsable: false,
children: [
"/app-dev/getting-started",
"/app-dev/getting-started",
"/app-dev/abci-cli",
"/app-dev/app-architecture",
"/app-dev/app-development",
"/app-dev/subscribing-to-events-via-websocket",
"/app-dev/subscribing-to-events-via-websocket",
"/app-dev/indexing-transactions",
"/app-dev/abci-spec",
"/app-dev/ecosystem",
"/app-dev/abci-spec",
"/app-dev/ecosystem"
]
},
{
title: "Research",
collapsable: false,
children: [
"/research/determinism",
"/research/transactional-semantics",
]
},
children: ["/research/determinism", "/research/transactional-semantics"]
}
]
}
}
};