diff --git a/docs/tools/website.py b/docs/tools/website.py index 0bf3ba5e193..21fd636e1cb 100644 --- a/docs/tools/website.py +++ b/docs/tools/website.py @@ -190,7 +190,7 @@ def process_benchmark_results(args): results_root = os.path.join(benchmark_root, benchmark_kind, "results") for result in sorted(os.listdir(results_root)): result_file = os.path.join(results_root, result) - logging.debug(f"Reading benchmark result from {result_file}") + logging.info(f"Reading benchmark result from {result_file}") with open(result_file, "r") as f: result = json.loads(f.read()) for item in result: diff --git a/website/README.md b/website/README.md index c6743b5dcb9..57cd87cbfe2 100644 --- a/website/README.md +++ b/website/README.md @@ -2,16 +2,27 @@ ClickHouse website is built alongside it's documentation via [docs/tools](https: # How to quickly test the main page of the website +``` +# If you have old OS distribution, +# Run this from repository root: + +docker run -it --rm --network host --volume $(pwd):/workspace ubuntu:20.04 /bin/bash +cd workspace/docs/tools +apt update +apt install sudo python pip git +pip3 install -r requirements.txt +git config --global --add safe.directory /workspace +./build.py --skip-multi-page --skip-blog --skip-docs --livereload 8080 +``` + ``` cd ../docs/tools sudo apt install python-3 pip pip3 install -r requirements.txt -# This is needed only when documentation is included -sudo npm install -g purify-css amphtml-validator virtualenv build -./build.py --skip-multi-page --skip-single-page --skip-amp --skip-blog --skip-git-log --skip-docs --livereload 8080 +./build.py --skip-multi-page --skip-blog --skip-docs --livereload 8080 # Open the web browser and go to http://localhost:8080/ ``` @@ -19,11 +30,11 @@ virtualenv build # How to quickly test the blog ``` -./build.py --skip-multi-page --skip-single-page --skip-amp --skip-git-log --skip-docs --livereload 8080 +./build.py --skip-multi-page --skip-docs --livereload 8080 ``` # How to quickly test the broken links in docs ``` -./build.py --skip-multi-page --skip-amp --skip-blog --skip-git-log --lang en --livereload 8080 +./build.py --skip-multi-page --skip-blog --lang en --livereload 8080 ``` diff --git a/website/benchmark/hardware/results/intel_core_i9_11900kf.json b/website/benchmark/hardware/results/intel_core_i9_11900kf.json index 6bc774bb14a..b94ce7c8f0e 100644 --- a/website/benchmark/hardware/results/intel_core_i9_11900kf.json +++ b/website/benchmark/hardware/results/intel_core_i9_11900kf.json @@ -48,7 +48,7 @@ [0.261, 0.237, 0.231], [0.029, 0.013, 0.014], [0.017, 0.013, 0.011], - [0.003, 0.002, 0.003], + [0.003, 0.002, 0.003] ] } ]