Skip to content

Commit e970040

Browse files
committed
chore: clean un-used scripts and docs
Signed-off-by: peefy <[email protected]>
1 parent 016df08 commit e970040

File tree

5 files changed

+26
-30
lines changed

5 files changed

+26
-30
lines changed

Makefile

+2-24
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
1-
# Copyright 2023 The KCL Authors. All rights reserved.
2-
VERSION := $(shell cat VERSION)
3-
4-
PROJECT_NAME = kcl-lang
5-
6-
PWD:=$(shell pwd)
7-
8-
BUILD_IMAGE:=kcllang/kcl-builder
1+
# Copyright The KCL Authors. All rights reserved.
92

10-
# export DOCKER_DEFAULT_PLATFORM=linux/amd64
11-
# or
12-
# --platform linux/amd64
13-
14-
RUN_IN_DOCKER:=docker run -it --rm
15-
RUN_IN_DOCKER+=-v ~/.ssh:/root/.ssh
16-
RUN_IN_DOCKER+=-v ${PWD}:/root/kcl
17-
RUN_IN_DOCKER+=-w /root/kcl ${BUILD_IMAGE}
3+
VERSION := $(shell cat VERSION)
184

195
.PHONY: run
206
run:
@@ -48,14 +34,6 @@ test:
4834
translations:
4935
npm run docusaurus write-translations
5036

51-
# ----------------
52-
# Docker
53-
# ----------------
54-
55-
.PHONY: sh-in-docker
56-
sh-in-docker:
57-
${RUN_IN_DOCKER} bash
58-
5937
tag:
6038
git tag v${VERSION}
6139
git push origin v${VERSION}

docs/reference/_advanced-concepts/_category_.json

-4
This file was deleted.

docs/reference/_advanced-concepts/build_cache.md

-1
This file was deleted.

i18n/en/code.json

+23
Original file line numberDiff line numberDiff line change
@@ -541,5 +541,28 @@
541541
},
542542
"Subscribe": {
543543
"message": "Subscribe"
544+
},
545+
"KCL is an open-source constraint-based record & functional language mainly used in configuration and policy scenarios.": {
546+
"message": "KCL is an open-source constraint-based record & functional language mainly used in configuration and policy scenarios."
547+
},
548+
"cmfcmf/d-s-l.searchBar.placeholder": {
549+
"message": "Search...",
550+
"description": "Placeholder shown in the searchbar"
551+
},
552+
"cmfcmf/d-s-l.searchBar.clearButtonTitle": {
553+
"message": "Clear",
554+
"description": "Title of the button to clear the current search input"
555+
},
556+
"cmfcmf/d-s-l.searchBar.detachedCancelButtonText": {
557+
"message": "Cancel",
558+
"description": "Text of the button to close the detached search window"
559+
},
560+
"cmfcmf/d-s-l.searchBar.submitButtonTitle": {
561+
"message": "Submit",
562+
"description": "Title of the button to submit a new search"
563+
},
564+
"cmfcmf/d-s-l.searchBar.noResults": {
565+
"message": "No results found.",
566+
"description": "message shown if no results are found"
544567
}
545568
}

i18n/en/docusaurus-plugin-content-docs/version-0.9.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version.label": {
33
"message": "0.9",
4-
"description": "The label for version 0.8"
4+
"description": "The label for version 0.9"
55
},
66
"sidebar.docs.category.参考手册": {
77
"message": "Reference",

0 commit comments

Comments
 (0)