You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/04/01 02:19:00 UTC
[flink-statefun] 03/09: [FLINK-16895][docs] Remove outdated and
defunct build_docs.bat
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit f46f65f490ba29f32935757f52a7d13596bd487e
Author: Stephan Ewen <se...@apache.org>
AuthorDate: Tue Mar 31 17:00:37 2020 +0200
[FLINK-16895][docs] Remove outdated and defunct build_docs.bat
This file has not been maintained and is not in sync with build_docs.sh
---
docs/_config.yml | 1 -
docs/_config_dev_en.yml | 1 -
docs/_config_dev_zh.yml | 1 -
docs/build_docs.bat | 57 -------------------------------------------------
4 files changed, 60 deletions(-)
diff --git a/docs/_config.yml b/docs/_config.yml
index b7c3272..5fea0b3 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -74,7 +74,6 @@ previous_docs:
exclude:
- "build_docs.sh"
- - "build_docs.bat"
- "check_links.sh"
# Used in some documents to initialize arrays. Don't delete.
diff --git a/docs/_config_dev_en.yml b/docs/_config_dev_en.yml
index a7ca0d0..eb11fbf 100644
--- a/docs/_config_dev_en.yml
+++ b/docs/_config_dev_en.yml
@@ -18,7 +18,6 @@
exclude:
- "*.zh.md"
- "build_docs.sh"
- - "build_docs.bat"
- "check_links.sh"
- "content"
- "content_en"
diff --git a/docs/_config_dev_zh.yml b/docs/_config_dev_zh.yml
index 813a636..8b9ddeb 100644
--- a/docs/_config_dev_zh.yml
+++ b/docs/_config_dev_zh.yml
@@ -18,7 +18,6 @@
exclude:
- "*.md"
- "build_docs.sh"
- - "build_docs.bat"
- "check_links.sh"
- "content"
- "content_en"
diff --git a/docs/build_docs.bat b/docs/build_docs.bat
deleted file mode 100644
index f9d8839..0000000
--- a/docs/build_docs.bat
+++ /dev/null
@@ -1,57 +0,0 @@
-::###############################################################################
-:: Licensed to the Apache Software Foundation (ASF) under one
-:: or more contributor license agreements. See the NOTICE file
-:: distributed with this work for additional information
-:: regarding copyright ownership. The ASF licenses this file
-:: to you under the Apache License, Version 2.0 (the
-:: "License"); you may not use this file except in compliance
-:: with the License. You may obtain a copy of the License at
-::
-:: http://www.apache.org/licenses/LICENSE-2.0
-::
-:: Unless required by applicable law or agreed to in writing, software
-:: distributed under the License is distributed on an "AS IS" BASIS,
-:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-:: See the License for the specific language governing permissions and
-:: limitations under the License.
-::###############################################################################
-
-@echo off
-:start
-call jekyll -version >nul 2>&1
-if "%errorlevel%"=="0" goto check_redcarpet
-echo ERROR: Could not find jekyll.
-echo Please install with 'gem install jekyll' (see http://jekyllrb.com).
-exit /b 1
-
-:check_redcarpet
-call redcarpet -version >nul 2>&1
-if "%errorlevel%"=="0" goto check_pygments
-echo WARN: Could not find redcarpet.
-echo Please install with 'gem install redcarpet' (see https://github.com/vmg/redcarpet).
-echo Redcarpet is needed for Markdown parsing and table of contents generation.
-goto check_pygments
-
-:check_pygments
-call python -c "import pygments" >nul 2>&1
-if "%errorlevel%"=="0" goto execute
-echo WARN: Could not find pygments.
-echo Please install with 'sudo easy_install Pygments' (requires Python; see http://pygments.org).
-echo Pygments is needed for syntax highlighting of the code examples.
-goto execute
-
-:execute
-SET "DOCS_SRC=%cd%"
-SET "DOCS_DST=%DOCS_SRC%\target"
-
-::default jekyll command is to just build site
-::if flag p is set, start the webserver too.
-IF "%1"=="" GOTO :build
-IF "%1"=="-p" GOTO :serve
-GOTO :build
-
-:build
-jekyll build --source %DOCS_SRC% --destination %DOCS_DST%
-
-:serve
-jekyll serve --baseurl "" --watch --source %DOCS_SRC% --destination %DOCS_DST%