Skip to content

Commit 3265e45

Browse files
committed
Add ASF attribution
1 parent 6e013be commit 3265e45

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@
3131
/package/*/apt/repositories/
3232
/package/*/apt/tmp/
3333
/package/docker/*.deb
34+
/venv/
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{# Display the trademark information (which is defined in conf.py html_context). #}
2+
{% if show_copyright and trademark %}
3+
<p class="trademark">
4+
<div class="footer-item">
5+
{% for trademark_line in trademark %}
6+
<p>{{ trademark_line }}</p>
7+
{% endfor %}
8+
</div>
9+
</p>
10+
{% endif %}

doc/source/conf.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@
2727
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
2828

2929
project = 'Apache Arrow Flight SQL adapter for PostgreSQL'
30-
copyright = '2022-2023, Apache Arrow Developers'
31-
author = 'Apache Arrow Developers'
30+
copyright = '2019-2024, Apache Software Foundation'
31+
trademark = [
32+
"Apache Arrow Flight, Arrow Flight, Apache, the Apache feather logo, and the Apache Arrow project logo",
33+
"are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries."
34+
]
35+
author = 'Apache Software Foundation'
36+
3237
version = os.environ.get('VERSION')
3338
if not version:
3439
meson_build_path = pathlib.Path(__file__).parent / '../../meson.build'
@@ -96,12 +101,15 @@
96101
],
97102
'use_edit_page_button': True,
98103
'show_nav_level': 2,
104+
"footer_start": ["copyright", "trademark"],
105+
"footer_end": ["sphinx-version", "theme-version"]
99106
}
100107
html_context = {
101108
'github_user': 'apache',
102109
'github_repo': 'arrow-flight-sql-postgresql',
103110
'github_version': 'main',
104111
'doc_path': 'doc/source',
112+
'trademark': trademark
105113
}
106114
html_static_path = ['_static']
107115
html_favicon = "_static/favicon.ico"

0 commit comments

Comments
 (0)