Skip to content

Commit

Permalink
chore: clean un-used scripts and docs
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Jul 16, 2024
1 parent 016df08 commit e970040
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 30 deletions.
26 changes: 2 additions & 24 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
# Copyright 2023 The KCL Authors. All rights reserved.
VERSION := $(shell cat VERSION)

PROJECT_NAME = kcl-lang

PWD:=$(shell pwd)

BUILD_IMAGE:=kcllang/kcl-builder
# Copyright The KCL Authors. All rights reserved.

# export DOCKER_DEFAULT_PLATFORM=linux/amd64
# or
# --platform linux/amd64

RUN_IN_DOCKER:=docker run -it --rm
RUN_IN_DOCKER+=-v ~/.ssh:/root/.ssh
RUN_IN_DOCKER+=-v ${PWD}:/root/kcl
RUN_IN_DOCKER+=-w /root/kcl ${BUILD_IMAGE}
VERSION := $(shell cat VERSION)

.PHONY: run
run:
Expand Down Expand Up @@ -48,14 +34,6 @@ test:
translations:
npm run docusaurus write-translations

# ----------------
# Docker
# ----------------

.PHONY: sh-in-docker
sh-in-docker:
${RUN_IN_DOCKER} bash

tag:
git tag v${VERSION}
git push origin v${VERSION}
Expand Down
4 changes: 0 additions & 4 deletions docs/reference/_advanced-concepts/_category_.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/reference/_advanced-concepts/build_cache.md

This file was deleted.

23 changes: 23 additions & 0 deletions i18n/en/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,5 +541,28 @@
},
"Subscribe": {
"message": "Subscribe"
},
"KCL is an open-source constraint-based record & functional language mainly used in configuration and policy scenarios.": {
"message": "KCL is an open-source constraint-based record & functional language mainly used in configuration and policy scenarios."
},
"cmfcmf/d-s-l.searchBar.placeholder": {
"message": "Search...",
"description": "Placeholder shown in the searchbar"
},
"cmfcmf/d-s-l.searchBar.clearButtonTitle": {
"message": "Clear",
"description": "Title of the button to clear the current search input"
},
"cmfcmf/d-s-l.searchBar.detachedCancelButtonText": {
"message": "Cancel",
"description": "Text of the button to close the detached search window"
},
"cmfcmf/d-s-l.searchBar.submitButtonTitle": {
"message": "Submit",
"description": "Title of the button to submit a new search"
},
"cmfcmf/d-s-l.searchBar.noResults": {
"message": "No results found.",
"description": "message shown if no results are found"
}
}
2 changes: 1 addition & 1 deletion i18n/en/docusaurus-plugin-content-docs/version-0.9.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version.label": {
"message": "0.9",
"description": "The label for version 0.8"
"description": "The label for version 0.9"
},
"sidebar.docs.category.参考手册": {
"message": "Reference",
Expand Down

0 comments on commit e970040

Please sign in to comment.