Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit 9466fda

Browse files
committed
chore(docs): add search
1 parent 725ff21 commit 9466fda

File tree

6 files changed

+21
-15
lines changed

6 files changed

+21
-15
lines changed

.vscode/settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"cSpell.words": [
3+
"docsearch",
34
"dstack",
45
"ipfs",
56
"libp2p"

docs/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@
1818
npm-debug.log*
1919
yarn-debug.log*
2020
yarn-error.log*
21+
22+
# Docsearch
23+
.env

docs/docsearch.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
},
3636
"sitemap_alternate_links": true,
3737
"sitemap_urls": [
38-
"https://dstack.netlify.app/sitemap.xml"
38+
"https://dstack.dev/sitemap.xml"
3939
],
4040
"start_urls": [
41-
"https://dstack.netlify.app/"
41+
"https://dstack.dev"
4242
],
4343
"stop_urls": [
44-
"https://dstack.netlify.app/blog"
44+
"https://dstack.dev/cdn-cgi"
4545
],
4646
"strip_chars": " .,;:#"
4747
}

docs/docusaurus.config.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ module.exports = {
5252
themeConfig:
5353
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5454
({
55-
// algolia: {
56-
// apiKey: '6407ba8e951f3066d9d6761b7959174e',
57-
// indexName: 'dstack',
58-
// appId: 'C0HURB3Q6E',
59-
// contextualSearch: true,
60-
// },
55+
algolia: {
56+
apiKey: 'eab344c5c227a12cbb6b6edaecff07db',
57+
indexName: 'dstack',
58+
appId: 'F0OSB2D3F0',
59+
contextualSearch: true,
60+
},
6161
gtag: {
6262
trackingID: '3222457047',
6363
anonymizeIP: true,

docs/example.env

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
APPLICATION_ID=YOUR_APP_ID
2+
API_KEY=YOUR_API_KEY

docs/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
"react-flow-renderer": "^9.7.3",
2727
"url-loader": "^4.1.1"
2828
},
29+
"devDependencies": {
30+
"docusaurus-plugin-typedoc": "^0.16.5",
31+
"typedoc": "^0.22.10",
32+
"typedoc-plugin-markdown": "^3.11.7"
33+
},
2934
"name": "docs",
3035
"private": true,
3136
"scripts": {
@@ -40,10 +45,5 @@
4045
"write-heading-ids": "docusaurus write-heading-ids",
4146
"write-translations": "docusaurus write-translations"
4247
},
43-
"version": "0.0.8",
44-
"devDependencies": {
45-
"docusaurus-plugin-typedoc": "^0.16.5",
46-
"typedoc": "^0.22.10",
47-
"typedoc-plugin-markdown": "^3.11.7"
48-
}
48+
"version": "0.0.8"
4949
}

0 commit comments

Comments
 (0)