Skip to content

Commit 5467363

Browse files
authored
Merge pull request #1225 from DannyS03/main
Basics of JS-IPFS
2 parents 07bcfcd + 3760590 commit 5467363

File tree

11 files changed

+622
-53
lines changed

11 files changed

+622
-53
lines changed

docs/.vuepress/config.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module.exports = {
2424
md.use(require('markdown-it-footnote'))
2525
md.use(require('markdown-it-task-lists'))
2626
md.use(require('markdown-it-deflist')),
27-
md.use(require('markdown-it-imsize')),
28-
md.use(require('markdown-it-image-lazy-loading'))
27+
md.use(require('markdown-it-imsize')),
28+
md.use(require('markdown-it-image-lazy-loading'))
2929
}
3030
},
3131
themeConfig: {
@@ -85,7 +85,8 @@ module.exports = {
8585
path: '/basics/',
8686
children: [
8787
'basics/desktop-app',
88-
'basics/command-line',
88+
'basics/go/command-line',
89+
'basics/js/js-ipfs',
8990
'basics/ipfs-implementations'
9091
]
9192
},
@@ -200,7 +201,7 @@ module.exports = {
200201
'/how-to/work-with-pinning-services',
201202
'/how-to/take-snapshot',
202203
'/how-to/store-play-videos',
203-
'/how-to/host-git-style-repo',
204+
'/how-to/host-git-repo',
204205
'/how-to/move-ipfs-installation/move-ipfs-installation'
205206
]
206207
},
@@ -433,7 +434,8 @@ module.exports = {
433434
}
434435
],
435436
'vuepress-plugin-chunkload-redirect',
436-
'vuepress-plugin-ipfs'
437+
'vuepress-plugin-ipfs',
438+
'tabs'
437439
],
438440
extraWatchFiles: ['.vuepress/nav/en.js']
439441
}

docs/.vuepress/theme/styles/index.styl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
@import 'video';
77
@import 'alert-panels';
88
@import 'ipfs';
9+
@require '~vuepress-plugin-tabs/dist/themes/default.styl'
910

1011
// apply scrolling by default excluding firefox due to trigger issues
1112
html.smooth-scroll {
@@ -75,3 +76,12 @@ code {
7576
--code-bg-color: $codeBgColor;
7677
--highlight-color: $highlightColor;
7778
}
79+
80+
section.tabs-component-panel::before {
81+
content: '';
82+
display: block;
83+
position: relative;
84+
width: 0;
85+
height: 10em;
86+
margin-top: -10em;
87+
}

docs/basics/command-line.md renamed to docs/basics/go/command-line.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: "Command-line"
2+
title: IPFS in Golang
33
description: "A simple walkthrough of how to perform basic IPFS operations using the Kubo command-line."
44
---
55

66
# Basic CLI Operations
77

8-
This short guide aims to walk you through the basics of using IPFS with the Kubo CLI. Kubo is [one of multiple IPFS implementations](ipfs-implementations.md). It is the oldest IPFS implementation and exposes a CLI (among other things).
8+
This short guide aims to walk you through the **basics of using IPFS with the Kubo CLI**. Kubo is [one of multiple IPFS implementations](../ipfs-implementations.md). It is the oldest IPFS implementation and exposes a CLI (among other things).
99

1010
You will learn how to add, retrieve, read, and remove files within the CLI. If you are unsure about the meaning of some terms, you can check out the [glossary](../concepts/glossary.md).
1111

0 commit comments

Comments
 (0)