Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update launchpad docs to build without failing #7412

Merged
merged 2 commits into from
Sep 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 63 additions & 57 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,13 @@
module.exports = {
theme: "cosmos",
title: "Cosmos SDK",
markdown: {
anchor: {
permalinkSymbol: ""
}
},
head: [
[
"link",
{
rel: "stylesheet",
type: "text/css",
href: "https://cloud.typography.com/6138116/7255612/css/fonts.css"
}
],
],
locales: {
"/": {
lang: "en-US"
},
kr: {
lang: "kr"
},
kr: {
lang: "kr"
},
cn: {
lang: "cn"
},
Expand All @@ -34,48 +16,69 @@ module.exports = {
}
},
base: process.env.VUEPRESS_BASE || "/",
head: [
['link', { rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" }],
['link', { rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32x32.png" }],
['link', { rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon-16x16.png" }],
['link', { rel: "manifest", href: "/site.webmanifest" }],
['meta', { name: "msapplication-TileColor", content: "#2e3148" }],
['meta', { name: "theme-color", content: "#ffffff" }],
['link', { rel: "icon", type: "image/svg+xml", href: "/favicon-svg.svg" }],
['link', { rel: "apple-touch-icon-precomposed", href: "/apple-touch-icon-precomposed.png" }],
],
themeConfig: {
repo: "cosmos/cosmos-sdk",
docsRepo: "cosmos/cosmos-sdk",
docsDir: "docs",
editLinks: true,
label: "sdk",
sidebar: [
{
title: "Using the SDK",
children: [
{
title: "Modules",
directory: true,
path: "/modules"
}
]
},
{
title: "Resources",
children: [
{
title: "Tutorials",
path: "https://tutorials.cosmos.network"
},
{
title: "SDK API Reference",
path: "https://godoc.org/github.com/cosmos/cosmos-sdk"
},
{
title: "REST API Spec",
path: "https://cosmos.network/rpc/"
}
]
}
],
algolia: {
id: "BH4D9OD16A",
key: "ac317234e6a42074175369b2f42e9754",
index: "cosmos-sdk"
},
topbar: {
banner: true
},
sidebar: {
auto: true,
nav: [
{
title: "Using the SDK",
children: [
{
title: "Modules",
directory: true,
path: "/modules"
}
]
},
{
title: "Resources",
children: [
{
title: "Tutorials",
path: "https://tutorials.cosmos.network"
},
{
title: "SDK API Reference",
path: "https://godoc.org/github.com/cosmos/cosmos-sdk"
},
{
title: "REST API Spec",
path: "https://cosmos.network/rpc/"
}
]
}
]
},
gutter: {
title: "Help & Support",
editLink: true,
chat: {
title: "Riot Chat",
text: "Chat with Cosmos developers on Riot Chat.",
url: "https://riot.im/app/#/room/#cosmos-sdk:matrix.org",
title: "Discord",
text: "Chat with Cosmos developers on Discord.",
url: "https://discordapp.com/channels/669268347736686612",
bg: "linear-gradient(225.11deg, #2E3148 0%, #161931 95.68%)"
},
forum: {
Expand All @@ -91,10 +94,13 @@ module.exports = {
}
},
footer: {
question: {
text: "Chat with Cosmos developers in <a href='https://discord.gg/W8trcGV' target='_blank'>Discord</a> or reach out on the <a href='https://forum.cosmos.network/c/tendermint' target='_blank'>SDK Developer Forum</a> to learn more."
},
logo: "/logo-bw.svg",
textLink: {
text: "cosmos.network",
url: "/"
url: "https://cosmos.network"
},
services: [
{
Expand Down Expand Up @@ -130,15 +136,15 @@ module.exports = {
children: [
{
title: "Cosmos SDK",
url: "https://cosmos.network/docs"
url: "https://docs.cosmos.network"
},
{
title: "Cosmos Hub",
url: "https://hub.cosmos.network/"
url: "https://hub.cosmos.network"
},
{
title: "Tendermint Core",
url: "https://docs.tendermint.com/"
url: "https://docs.tendermint.com"
}
]
},
Expand All @@ -147,15 +153,15 @@ module.exports = {
children: [
{
title: "Cosmos blog",
url: "https://blog.cosmos.network/"
url: "https://blog.cosmos.network"
},
{
title: "Forum",
url: "https://forum.cosmos.network/"
url: "https://forum.cosmos.network"
},
{
title: "Chat",
url: "https://riot.im/app/#/room/#cosmos-sdk:matrix.org"
url: "https://discord.gg/W8trcGV"
}
]
},
Expand Down
Loading