Refactor file and URL paths in docusaurus (#11080)

* Fix introduction link

* Restore staking guide pages

* Remove Edit this page link

* Fix broken wallet guide link

* Restore lost images

* Fixup URL paths to match gitbook style

* Refactor wallet guide READMEs and clean up URLs

* Remove lingering gitbook files

* Refactor all README files to keep consistent linking

* Updte homepage tile links

Co-authored-by: publish-docs.sh <maintainers@solana.com>
This commit is contained in:
Dan Albert
2020-07-15 14:11:51 -06:00
committed by GitHub
parent 7fe870ba48
commit 6342e3e215
50 changed files with 107 additions and 274 deletions

View File

@ -16,20 +16,17 @@ module.exports = {
},
links: [
{
to: "docs/",
activeBasePath: "docs",
to: "introduction",
label: "Docs",
position: "left",
},
{
to: "docs/apps/README",
activeBasePath: "docs2",
to: "apps/README",
label: "Developers",
position: "left",
},
{
to: "docs/running-validator/README",
activeBasePath: "docs2",
to: "running-validator/README",
label: "Validators",
position: "left",
},
@ -54,11 +51,11 @@ module.exports = {
items: [
{
label: "Introduction",
to: "docs/introduction",
to: "introduction",
},
{
label: "Tour de SOL",
to: "docs/tour-de-sol/README",
to: "tour-de-sol/README",
},
],
},
@ -98,11 +95,8 @@ module.exports = {
{
docs: {
path: "src",
// It is recommended to set document id as docs home page (`docs/` path).
homePageId: "introduction",
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl: "https://github.com/solana-labs/solana/edit/master/docs/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),