Skip to content

Commit aa397d2

Browse files
authored
Merge pull request #640 from subquery/feat/docs
feat: docs
2 parents 5126e1c + 2f2b271 commit aa397d2

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

docs/.vuepress/config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
import { viteBundler } from "@vuepress/bundler-vite";
22
import { defineUserConfig } from "vuepress";
33
import { hopeTheme } from "vuepress-theme-hope";
4-
import { googleAnalyticsPlugin } from "@vuepress/plugin-google-analytics";
54
import { registerComponentsPlugin } from "@vuepress/plugin-register-components";
65
import { redirectPlugin } from "@vuepress/plugin-redirect";
7-
import { linksCheckPlugin } from "@vuepress/plugin-links-check";
8-
import { markdownTabPlugin } from "@vuepress/plugin-markdown-tab";
96
import { markdownStylizePlugin } from "@vuepress/plugin-markdown-stylize";
107
import { markdownIncludePlugin } from "@vuepress/plugin-markdown-include";
118
import { getSidebar } from "./sidebar";
129

1310
export default defineUserConfig({
11+
base: "/doc/",
1412
title: "SubQuery Documentation",
1513
description:
1614
"Learn how to build with SubQuery. SubQuery is a fast, flexible, and reliable open-source data indexer that provides you with custom APIs for your web3 project. Build your API anywhere across multiple chains in minutes with our open-source SDK.",
@@ -41,7 +39,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
4139
},
4240
},
4341
theme: hopeTheme({
44-
hostname: "https://academy.subquery.network",
42+
hostname: "https://subquery.network/doc/",
4543

4644
favicon: "/assets/favicons/favicon.ico",
4745
author: "SubQuery Team",

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ editLink: false
77
photoSwipe: false
88
---
99

10-
<link rel="stylesheet" href="/assets/style/homepage.css" as="style" />
10+
<link rel="stylesheet" href="/doc/assets/style/homepage.css" as="style" />
1111
<div class="welcomeContainer">
1212
<div class="banner">
1313
<div class="bannerImage">

docs/indexer/welcome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ editLink: false
66
photoSwipe: false
77
---
88

9-
<link rel="stylesheet" href="/assets/style/homepage.css" as="style" />
9+
<link rel="stylesheet" href="/doc/assets/style/homepage.css" as="style" />
1010
<div class="welcomeContainer">
1111
<div class="bannerRow">
1212
<div class="flexColCenter gp24" style="max-width: 614px; z-index: 1;">

docs/subquery_network/welcome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ editLink: false
66
photoSwipe: false
77
---
88

9-
<link rel="stylesheet" href="/assets/style/homepage.css" as="style" />
9+
<link rel="stylesheet" href="/doc/assets/style/homepage.css" as="style" />
1010
<div class="welcomeContainer">
1111
<div class="bannerRow">
1212
<div class="flexCol gp24" style="max-width: 614px;">

0 commit comments

Comments
 (0)