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

Main #38

Open
wants to merge 81 commits into
base: fatman13-doc
Choose a base branch
from
Open

Main #38

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
5caf2c4
Merge pull request #1 from ipfs-force-community/fatman13-doc
Fatman13 Jan 4, 2023
1ac0ae4
feat: lock node's version
LinZexiao Feb 22, 2023
dff05f2
Merge pull request #2 from ipfs-force-community/feat/tanlang/lock-nod…
LinZexiao Feb 22, 2023
435f5d4
fix: ref for chain-co
LinZexiao Mar 6, 2023
c3db48c
Merge pull request #3 from ipfs-force-community/feat/fix-ref-for-chai…
Fatman13 Mar 6, 2023
94ffa5a
docs: add flag auth-token
simlecode Apr 24, 2023
0b89180
docs: update mainnet snapshot link
simlecode Apr 24, 2023
11ac4ed
docs: fix typ
simlecode Apr 24, 2023
634f4d6
docs: use SHARED_ADMIN_AUTH_TOKEN instead of venus-auth token
simlecode Apr 24, 2023
efcbcf7
Merge pull request #4 from ipfs-force-community/docs/auth-token
Fatman13 Apr 24, 2023
9c7331b
update sophon-docs layout
Fatman13 Jun 7, 2023
a630f42
Merge pull request #5 from ipfs-force-community/fatman13-d1
Fatman13 Jun 7, 2023
58a7a38
fix deploy prep doc layout
Fatman13 Jun 7, 2023
4d72a26
Merge pull request #6 from ipfs-force-community/fatman13-d1
Fatman13 Jun 7, 2023
4ec3f85
fix wallet link
Fatman13 Jun 7, 2023
d98665e
Merge pull request #7 from ipfs-force-community/fatman13-d1
Fatman13 Jun 7, 2023
9a2f9f7
add design docs link
Fatman13 Jun 7, 2023
fcdd5e8
Merge pull request #8 from ipfs-force-community/fatman13-d1
Fatman13 Jun 7, 2023
5a78a82
feat: update docker usage
LinZexiao Jun 8, 2023
4cd88bc
Update docs/zh/operation/venus-run-in-docker.md
LinZexiao Jun 9, 2023
54f85e6
Merge pull request #9 from ipfs-force-community/feat/tanlang/update-f…
Fatman13 Jun 9, 2023
c71ef5c
remove .DS_Store
0x5459 Jun 14, 2023
1ed77a5
chore(*): formatting docs with `autocorrect`
0x5459 Jun 14, 2023
5cb28e6
Merge pull request #11 from ipfs-force-community/chore/0x5459/format-…
0x5459 Jun 14, 2023
deb02b5
add github link
0x5459 Jun 14, 2023
dc009fa
Merge pull request #12 from ipfs-force-community/add-github-link
0x5459 Jun 14, 2023
f610922
fix wording per new rebranding
Fatman13 Jun 16, 2023
9e175fa
Merge pull request #13 from ipfs-force-community/fatman13-p13
Fatman13 Jun 19, 2023
c0dfcbb
update en sophon layout
Fatman13 Jun 21, 2023
9d4f376
update sophon layout p2
Fatman13 Jun 21, 2023
faea308
Merge pull request #14 from ipfs-force-community/fatman13-p15
Fatman13 Jun 21, 2023
2d489df
add dev tab
Fatman13 Jun 21, 2023
af81918
Merge pull request #15 from ipfs-force-community/fatman13-p15
Fatman13 Jun 21, 2023
a24a880
update before deployment doc
Fatman13 Jun 26, 2023
1f4c9bd
Merge pull request #16 from ipfs-force-community/fatman13-p15
Fatman13 Jun 26, 2023
75e1590
fix wording
Fatman13 Jun 26, 2023
86ff23c
Merge pull request #17 from ipfs-force-community/fatman13-p15
Fatman13 Jun 26, 2023
e922c72
fix sophon-docs wording
Fatman13 Jun 26, 2023
6c5283d
Merge pull request #18 from ipfs-force-community/fatman13-p15
Fatman13 Jun 26, 2023
7eb43c9
fix en docs wording
Fatman13 Jun 26, 2023
13d7fbb
Merge pull request #19 from ipfs-force-community/fatman13-p15
Fatman13 Jun 26, 2023
c6491b0
add config description /添加配置文件描述
elvin-du Jul 7, 2023
013017d
remove old cmd
elvin-du Jul 7, 2023
9a3d2cd
Update venus-daemon.md / 构建命令和测试命令已经失效
elvin-du Jul 12, 2023
e280f55
Merge pull request #21 from ipfs-force-community/docs/elvin/remove-ol…
Fatman13 Jul 12, 2023
383a1ca
Merge pull request #22 from ipfs-force-community/docs/elvindu/udpate-…
Fatman13 Jul 12, 2023
6ac1e99
Remove venus sealer related information
cloudxin Jul 13, 2023
9583f8d
Merge pull request #23 from cloudxin/Remove_venus_sealer_related_info…
Fatman13 Jul 14, 2023
fe3736d
Update docs/.vuepress/config.js
elvin-du Jul 17, 2023
90e5770
rename venus -> sohpon
elvin-du Jul 17, 2023
81136a3
Merge pull request #20 from ipfs-force-community/elvin-du-patch-1
Fatman13 Jul 17, 2023
3ef5782
update github url
elvin-du Jul 17, 2023
cba2edf
Merge pull request #24 from ipfs-force-community/elvin-du-patch-2
elvin-du Jul 17, 2023
23db121
Update join-a-cs.md
cloudxin Jul 18, 2023
aef6d04
update arch illustration
Fatman13 Jul 31, 2023
d2e6f11
Merge pull request #26 from ipfs-force-community/fatman13-p15
Fatman13 Jul 31, 2023
e04ac80
Update deploy-a-cs.md
elvin-du Aug 1, 2023
cfd9191
Update config.js
elvin-du Aug 2, 2023
c9272f9
Merge pull request #28 from ipfs-force-community/elvin-du-patch-3
elvin-du Aug 2, 2023
68ab4a9
Merge pull request #27 from ipfs-force-community/elvin-du-patch-2
elvin-du Aug 2, 2023
eee4234
fix broken link
Fatman13 Aug 16, 2023
2458186
Merge pull request #29 from ipfs-force-community/fatman13-patch13
Fatman13 Aug 16, 2023
50c6311
Update docs/zh/operation/join-a-cs.md
Fatman13 Sep 6, 2023
c5df673
Update docs/zh/operation/join-a-cs.md
Fatman13 Sep 6, 2023
51d6b0e
Update docs/zh/operation/join-a-cs.md
Fatman13 Sep 6, 2023
08a7c8d
Update docs/zh/operation/join-a-cs.md
Fatman13 Sep 6, 2023
cbd7435
Update docs/zh/operation/join-a-cs.md
Fatman13 Sep 6, 2023
e6af332
Merge pull request #25 from cloudxin/patch-1
Fatman13 Sep 6, 2023
fb3b551
Update join-a-cs.md
elvin-du Sep 12, 2023
3bb687a
Merge pull request #30 from ipfs-force-community/elvin-du-patch-2
elvin-du Sep 12, 2023
5ddb501
Update deploy-a-cs.md
cloudxin Oct 20, 2023
9d94bd5
Merge pull request #31 from cloudxin/patch-2
simlecode Oct 20, 2023
0f1ed25
feat: update config for damocles manager
LinZexiao Oct 25, 2023
6b22db8
Apply suggestions from code review
LinZexiao Oct 25, 2023
c1ccc5c
add full text search
Fatman13 Oct 25, 2023
7d10171
Merge pull request #32 from ipfs-force-community/feat/update
Fatman13 Oct 25, 2023
06807fc
Merge pull request #33 from ipfs-force-community/fatman13-patch13
LinZexiao Nov 6, 2023
176eb87
update snapshot link & error db config
Jan 17, 2024
51b0622
Merge pull request #35 from ipfs-force-community/docs/vladmair/udpate…
Fatman13 Jan 17, 2024
168b9ce
fix: Update ha.md
tediou5 Mar 20, 2024
394570b
Merge pull request #36 from tediou5/patch-1
0x5459 Mar 20, 2024
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
Binary file removed .DS_Store
Binary file not shown.
13 changes: 9 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,26 @@ on:

jobs:
build-and-deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install and Build
run: |
npm install
npm run predownload
npm run docs:build
make build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/.vuepress/dist
FOLDER: docs/.vuepress/dist
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
build:
npm run predownload
npm run docs:build

dev:
npm run predownload
npm run docs:dev

docker-buildenv:
docker build --build-arg https_proxy=$(BUILD_DOCKER_PROXY) -t filvenus/venus-buildenv -f script/docker/venus-buildenv.dockerfile .

docker-runtime:
docker build --build-arg https_proxy=$(BUILD_DOCKER_PROXY) -t filvenus/venus-runtime -f script/docker/venus-runtime.dockerfile .
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,3 @@ The Filecoin Project's software code is dual-licensed under Apache 2.0 and MIT t
Documentation and other written content is copyright (c) Protocol Labs under the [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license.

See the [LICENSE.md](LICENSE.md) file for details.


132 changes: 88 additions & 44 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
'@vuepress/nprogress',
'@vuepress/medium-zoom',
'@vuepress-plugin-zooming',
'fulltext-search',
['vuepress-plugin-code-copy', true]
],
head: [
Expand Down Expand Up @@ -81,8 +82,12 @@ module.exports = {
link: '/intro/'
},
{
text: 'Reference',
link: '/ref/'
text: 'Deployment & Operation',
link: '/operation/'
},
{
text: 'Developer',
link: '/developer/'
},
{
text: 'About',
Expand All @@ -97,14 +102,36 @@ module.exports = {
['', 'Overview'],
]
},
],
'/operation/': [
{
title: 'Deployment',
collapsable: false,
children: [
['', 'Before deployment'],
['deploy-a-cs.md', 'Deploy a Sophon service'],
['join-a-cs.md', 'Use a Sophon service'],
]
},
{
title: 'Sophon Components',
collapsable: false,
children: [
['venus-daemon.md', 'venus daemon'],
['venus-auth.md', 'venus-auth', "https://github.com/ipfs-force-community/sophon-auth/blob/master/docs/en/getting-started.md"],
['venus-miner.md', 'venus-miner', "https://github.com/ipfs-force-community/sophon-miner/blob/master/docs/en/config-desc.md"],
['venus-messager.md', 'venus-messager', "https://github.com/ipfs-force-community/sophon-messager/blob/master/docs/en/getting-started.md"],
['venus-gateway.md', 'venus-gateway', "https://github.com/ipfs-force-community/sophon-gateway/blob/master/docs/en/getting-started.md"],
]
},
{
title: 'Optional Components',
collapsable: false,
children: [
['venus-wallet-builtin.md', 'venus-wallet (builtin)', "https://github.com/filecoin-project/venus-wallet/blob/master/docs/en/getting-started-local.md"],
['venus-wallet.md', 'venus-wallet (remote)', "https://github.com/filecoin-project/venus-wallet/blob/master/docs/en/getting-started-remote.md"],
]
},
{
title: 'Operations',
collapsable: false,
Expand All @@ -115,46 +142,36 @@ module.exports = {
]
},
],
'/ref/': [{
title: 'Sophon Components',
'/developer/': [{
title: 'Development',
collapsable: false,
children: [
['', 'venus daemon'],
['venus-auth.md', 'venus-auth'],
['venus-miner.md', 'venus-miner'],
['venus-messager.md', 'venus-messager'],
['venus-gateway.md', 'venus-gateway'],
['', 'Setup local 2k Env'],
]
},
{
title: 'Optional Components',
title: 'RPC reference',
collapsable: false,
children: [
['venus-wallet-builtin.md', 'venus-wallet (builtin)'],
['venus-wallet.md', 'venus-wallet (remote)'],
['', 'Setup local 2k Env'],
]
},
{
title: 'RPC API Reference',
],
'/about/': [{
title: '',
collapsable: false,
children: [
['chain-api-v0.md', 'Chain api v0', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/chain/v0/method.md"],
['chain-api-v1.md', 'Chain api v1', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/chain/v1/method.md"],
['messager-api.md', 'Messager api', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/messager/method.md"],
['gateway-api-v0.md', 'Gateway api v0', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/gateway/v0/method.md"],
['gateway-api-v1.md', 'Gateway api v1', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/gateway/v1/method.md"],
['messager-api.md', 'Messager api', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/messager/method.md"],
['market-api-v0.md', 'Market api v0', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/market/v0/method.md"],
['market-api-v1.md', 'Market api v1', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/market/v1/method.md"],
['wallet-api.md', 'Wallet api', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/wallet/method.md"]
]
},
],
'/about/': [{
title: '',
collapsable: false,
children: [
['', 'About Us'],
]
},
],
}
},
'/zh/': {
Expand All @@ -164,12 +181,16 @@ module.exports = {
description: '智子(原Venus链服务)是一个Filecoin超级节点解决方案',
nav: [
{
text: '介绍',
text: '功能介绍',
link: '/zh/intro/'
},
{
text: '参考',
link: '/zh/ref/'
text: '部署/运维',
link: '/zh/operation/'
},
{
text: '研发/设计',
link: '/zh/developer/'
},
{
text: '关于',
Expand All @@ -178,25 +199,52 @@ module.exports = {
],
sidebar: {
'/zh/intro/': [{
title: '简述',
title: '功能特性',
collapsable: false,
children: [
['', '概要'],
]
},
],
'/zh/operation/': [
{
title: '部署',
collapsable: false,
children: [
['', '部署前准备'],
['deploy-a-cs.md', '部署智子服务'],
['venus-run-in-docker.md', '使用 Docker 部署智子服务'],
['join-a-cs.md', '使用智子服务'],
]
},
{
title: '简易部署',
title: '智子服务组件',
collapsable: false,
children: [
['venus-daemon.md', 'venus daemon'],
['sophon-auth.md', 'sophon-auth', "https://github.com/ipfs-force-community/sophon-auth/blob/master/docs/zh/%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B.md"],
['sophon-miner.md', 'sophon-miner', "https://github.com/ipfs-force-community/sophon-miner/blob/master/docs/zh/getting-start.md"],
['sophon-messager.md', 'sophon-messager', "https://github.com/ipfs-force-community/sophon-messager/blob/master/docs/zh/%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B.md"],
['sophon-gateway.md', 'sophon-gateway', "https://github.com/ipfs-force-community/venus-gateway/blob/master/docs/zh/%E5%BF%AB%E9%80%9F%E5%90%AF%E7%94%A8.md"],
]
},
{
title: '配置文件',
collapsable: false,
children: [
['sophon-auth-config.md', 'sophon-auth', "https://github.com/ipfs-force-community/sophon-auth/blob/master/docs/zh/config-desc.md"],
['sophon-miner-config.md', 'sophon-miner', "https://github.com/ipfs-force-community/sophon-miner/blob/master/docs/zh/config-desc.md"],
['sophon-messager-config.md', 'sophon-messager', "https://github.com/ipfs-force-community/sophon-messager/blob/master/docs/zh/config-desc.md"],
['sophon-gateway-config.md', 'sophon-gateway', "https://github.com/ipfs-force-community/sophon-gateway/blob/master/docs/zh/config-desc.md"],
]
},
{
title: 'Wallet',
collapsable: false,
children: [
['venus-run-in-docker.md', '使用Docker部署智子服务'],
['venus-wallet-builtin.md', 'venus wallet(内置)', "https://github.com/filecoin-project/venus-wallet/blob/master/docs/zh/%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B%5B%E6%9C%AC%E5%9C%B0%5D.md"],
['venus-wallet.md', 'venus-wallet(远程)', "https://github.com/filecoin-project/venus-wallet/blob/master/docs/zh/%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B%5B%E8%BF%9C%E7%A8%8B%5D.md"],
['venus-wallet-signfilter.md', 'venus-wallet 签名过滤器', "https://github.com/filecoin-project/venus-wallet/blob/master/docs/zh/%E8%AE%A2%E5%8D%95%E8%BF%87%E6%BB%A4%E5%99%A8.md"],
]
},
{
Expand All @@ -209,41 +257,37 @@ module.exports = {
]
},
],
'/zh/ref/': [{
title: '智子服务组件',
'/zh/developer/': [{
title: '研发',
collapsable: false,
children: [
['', 'Venus daemon'],
['venus-auth.md', 'venus-auth'],
['venus-miner.md', 'venus-miner'],
['venus-messager.md', 'venus-messager'],
['venus-gateway.md', 'venus-gateway'],
['', '本地2k开发网络'],
]
},
{
title: '可选组件',
title: '智子组件设计',
collapsable: false,
children: [
['venus-wallet-builtin.md', 'venus-wallet(内置)'],
['venus-wallet.md', 'venus-wallet(远程)'],
['miner-design.md', 'miner 设计', "https://github.com/ipfs-force-community/sophon-miner/blob/master/docs/zh/design-spec.md"],
['messager-design.md', 'messager 设计', "https://github.com/ipfs-force-community/sophon-messager/blob/master/docs/zh/design-specs.md"],
['gateway-design.md', 'gateway 设计', "https://github.com/ipfs-force-community/venus-gateway/blob/master/docs/zh/%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1.md"],
]
},
{
title: '组件构建',
title: '功能设计',
collapsable: false,
children: [
['build.md', '全组件构建'],
['data-by-id.md', '用户数据隔离'],
]
},
{
title: 'RPC 接口参考',
collapsable: false,
children: [
['chain-api-v0.md', 'Chain api v0', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/chain/v0/method.md"],
['chain-api-v1.md', 'Chain api v1', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/chain/v1/method.md"],
['gateway-api-v0.md', 'Gateway api v0', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/gateway/v0/method.md"],
['chain-api-v0.md', 'Chain api v0', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/chain/v0/method.md"],
['gateway-api-v1.md', 'Gateway api v1', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/gateway/v1/method.md"],
['market-api.md', 'Market api', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/market/method.md"],
['gateway-api-v0.md', 'Gateway api v0', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/gateway/v0/method.md"],
['messager-api.md', 'Messager api', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/messager/method.md"],
['wallet-api.md', 'Wallet api', "https://github.com/filecoin-project/venus/blob/master/venus-shared/api/wallet/method.md"]
]
Expand Down
2 changes: 1 addition & 1 deletion docs/about/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

- venus-docs: [venus.filecoin.io](venus.filecoin.io)
- VenusHub: [venushub.io](venushub.io)
- Github: [venus](https://github.com/filecoin-project/venus)
- Github: [venus](https://github.com/filecoin-project/venus), [sophon-messager](https://github.com/ipfs-force-community/sophon-messager), [sophon-auth](https://github.com/ipfs-force-community/sophon-auth), [sophon-gateway](https://github.com/ipfs-force-community/sophon-gateway), [sophon-miner](https://github.com/ipfs-force-community/sophon-miner), [sophon-co](https://github.com/ipfs-force-community/sophon-co), [damocles](https://github.com/ipfs-force-community/damocles), [droplet](https://github.com/ipfs-force-community/droplet)
- Social Media: [Twitter](https://twitter.com/venus_filecoin), [Wechat](https://mp.weixin.qq.com/s/p4_ch03QeMMXxPyakr_8XQ)
- Security audit report: [link](https://leastauthority.com/static/publications/LeastAuthority_Filecoin_Foundation_Venus_Final_Audit_Report.pdf)
Loading
Loading