[doc] Use ververica name in copyright

pull/294/head
Leonard Xu 4 years ago committed by Leonard Xu
parent a88433d460
commit 6d71dd221e

@ -1,3 +1,21 @@
<!--
~ 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.
-->
{% if READTHEDOCS or display_lower_left %}
{# Add rst-badge after rst-versions for small badge style. #}
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">

@ -30,7 +30,7 @@ temp_docs_root=`mktemp -d`
# step-2: build sites for all branches(for multiple versioned docs), excludes 'HEAD' and 'gh-pages'
make -C docs clean
branches="`git for-each-ref '--format=%(refname:lstrip=-1)' refs/remotes/origin/ | grep -viE '^(HEAD|gh-pages)$'`"
branches="`git for-each-ref '--format=%(refname:lstrip=-1)' refs/remotes/origin/ | grep -viE '^(HEAD|gh-pages|release-1.0|release-1.1|release-1.2|release-1.3)$'| grep -iE '^(release-|master)'`"
for current_branch in ${branches}; do
export current_branch
git checkout ${current_branch}
@ -63,7 +63,7 @@ cat > index.html <<EOF
<!DOCTYPE html>
<html>
<head>
<title>Flink CDC Connectors</title>
<title>Flink CDC</title>
<meta http-equiv = "refresh" content="0; url='/${REPO_NAME}/master/'" />
</head>
<body>

@ -39,9 +39,9 @@
# -- Project information -----------------------------------------------------
project = 'Flink CDC Connectors'
copyright = '2021, Leonard Xu'
author = 'Leonard Xu'
project = 'Flink CDC'
copyright = '2021, ververica'
author = 'ververica'
# The full version, including alpha/beta/rc tags
release = '2.0.0'
@ -89,6 +89,12 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_context = {
'css_files': [
'_static/theme_overrides.css', # overrides for wide tables in RTD theme
],
}
# multiple version supports
import sys, os
sys.path.insert(0, os.path.abspath('.'))
@ -121,3 +127,6 @@ for version in versions:
html_context['versions'].append( (version, '/' +REPO_NAME+ '/' +version+ '/') )
html_context['display_github'] = True
html_context['github_user'] = 'ververica'
html_context['github_repo'] = 'flink-cdc-connectors'
html_context['github_version'] = current_version + '/docs/'
Loading…
Cancel
Save