Skip to content

Commit

Permalink
docs: update english docs link (#12)
Browse files Browse the repository at this point in the history
* docs: update english docs
fix: fix style in schema page

* mod: update nightly workflow
  • Loading branch information
hetao92 authored Sep 10, 2021
1 parent da9c45e commit 84ef667
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 11 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Studio RPM Package
on:
push:
branches:
- master
jobs:
package:
name: build package
runs-on: ubuntu-latest
strategy:
matrix:
os:
- centos7
container:
image: vesoft/nebula-dev:${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
ref: 'master'
path: source/nebula-graph-studio
- uses: actions/checkout@v2
with:
repository: vesoft-inc/nebula-http-gateway
path: source/nebula-http-gateway
- uses: actions/checkout@v2
with:
repository: vesoft-inc/nebula-importer
path: source/nebula-importer
- uses: actions/setup-go@v2
with:
go-version: '^1.13.1'
- uses: actions/setup-node@v2
with:
node-version: '10'
- name: Package
run: bash ./source/nebula-graph-studio/scripts/rpm-package.sh ${{ secrets.GA_ID }}
- name: Upload oss
run: cd ./source/nebula-graph-studio/tmp/ && ossutil64 -e ${{ secrets.OSS_ENDPOINT }} -i ${{ secrets.OSS_ID }} -k ${{ secrets.OSS_SECRET }} -f cp ./ ${{ secrets.OSS_TEST_URL }} --include "nebula-graph-studio-*.rpm*" --only-current-dir -r


1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ $ npm run dev

## Documentation
[中文](https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/)
[ENGLISH](https://https://docs.nebula-graph.io/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/)

## Contributing
Contributions are warmly welcomed and greatly appreciated. Please see [Guide Docs](https://github.com/vesoft-inc-private/nebula-graph-studio/blob/master/CONTRIBUTING.md)
6 changes: 3 additions & 3 deletions app/assets/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ class App extends React.Component<IProps, IState> {
const nGQLHref =
locale === 'ZH_CN'
? 'https://docs.nebula-graph.com.cn/2.5.0/3.ngql-guide/1.nGQL-overview/1.overview/'
: 'https://docs.nebula-graph.com.cn/2.5.0/3.ngql-guide/1.nGQL-overview/1.overview/'; // TODO update english mannual
: 'https://docs.nebula-graph.io/2.5.0/3.ngql-guide/1.nGQL-overview/1.overview/';
const mannualHref =
locale === 'ZH_CN'
? 'https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/'
: 'https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/'; // TODO change english mannual
: 'https://docs.nebula-graph.io/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/';
const versionLogHref =
locale === 'ZH_CN'
? 'https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-release-note/'
: 'https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-release-note/'; // TODO change english mannual
: 'https://docs.nebula-graph.io/2.5.0/nebula-studio/about-studio/st-ug-release-note/';
return (
<>
<LanguageContext.Provider
Expand Down
7 changes: 4 additions & 3 deletions app/assets/config/locale/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"unlock": "Unlock",
"lock": "Lock",
"moreSuggestion": "More Suggestion",
"algorithm": "Algorithm",
"viewDocs": "View Docs",
"hotKeys": "Shortcut Key",
"show": "Show",
Expand Down Expand Up @@ -179,7 +180,7 @@
"emptyIndex": "No Index",
"indexConditionDescription": "To use a multiple-field index for a query, use all the fields or only the first several fields in sequence. Do not skip any field from left to right and the first field is required.",
"timestampInput": "Only numbers are supported for the timestamp field",
"documentIntroductionUrl": "https://docs.nebula-graph.com.cn/2.5.0/3.ngql-guide/14.native-index-statements/",
"documentIntroductionUrl": "https://docs.nebula-graph.io/2.5.0/3.ngql-guide/14.native-index-statements/",
"customQueryUrl": "https://cloud-cdn.nebula-graph.com.cn/studio-resource/go-to-explore_en.png",
"pretreatmentExplaination": "Hash can pre-process data of the bool, double, int, or string type to generate VIDs, but UUID can pre-process data of the string type only. To generate VIDs by pre-processing strings, enclose each string with single or double quotes.",
"exportToImg": "Export Graph",
Expand All @@ -189,7 +190,6 @@
"expandTip": "Double-click any vertex to explore its related vertices and edges.",
"hotKeysInstructions": "Shortcut Keys Instruction",
"graphAlgorithm": "Graph Algorithm",
"algorithm": "Algorithm",
"srcId": "Src ID",
"dstId": "Dst ID",
"relation": "Relation",
Expand All @@ -215,7 +215,8 @@
"expressionError": "Expression error",
"expandTips": "Double-click the vertex to quickly expand according to the current configuration by default",
"missingParams": "Missing parameters",
"emptyIndexTips": "No attribute index currently does not support the data query function in Explore, Please select index with attribute for query"
"emptyIndexTips": "No attribute index currently does not support the data query function in Explore, Please select index with attribute for query",
"docForFindPath": "https://docs.nebula-graph.io/2.5.0/3.ngql-guide/16.subgraph-and-path/2.find-path/"
},
"import": {
"import": "Import",
Expand Down
3 changes: 2 additions & 1 deletion app/assets/config/locale/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@
"expressionError": "表达式错误",
"expandTips": "双击节点默认按当前配置快捷展开",
"missingParams": "参数缺失",
"emptyIndexTips": "无属性索引暂不支持查询数据功能,建议选择带属性索引查询"
"emptyIndexTips": "无属性索引暂不支持查询数据功能,建议选择带属性索引查询",
"docForFindPath": "https://docs.nebula-graph.com.cn/2.5.0/3.ngql-guide/16.subgraph-and-path/2.find-path/"
},
"import": {
"import":"导入",
Expand Down
5 changes: 1 addition & 4 deletions app/assets/modules/Explore/Control/AlgorithmQuery/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ class AlgorithmQuery extends React.Component<IProps> {
}

viewDoc = () => {
window.open(
'https://docs.nebula-graph.com.cn/2.5.0/3.ngql-guide/16.subgraph-and-path/2.find-path/',
'_blank',
);
window.open(intl.get('explore.docForFindPath'), '_blank');
};

handleInquiry = async () => {
Expand Down
1 change: 1 addition & 0 deletions app/assets/modules/Schema/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
background: #fff;
padding: 20px;
height: 100%;
overflow: auto;

.header {
display: flex;
Expand Down

0 comments on commit 84ef667

Please sign in to comment.