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