Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add ASF attribution #186

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

simicd
Copy link

@simicd simicd commented Feb 10, 2024

Which issue does this PR close?

Closes #185

Rationale for this change

Aligning Apache Software Foundation attribution across projects

What changes are included in this PR?

  • Update ASF footer
  • Add trademark statement
  • Create docs README with instructions on how to run doc builder similar to e.g. arrow-ballista or arrow-datafusion repo

Are there any user-facing changes?

Updated footer on documentation website

Previously
image

Newly
image

@simicd simicd force-pushed the docs/add-asf-attribution branch 2 times, most recently from 71bfb99 to 8ee0555 Compare February 10, 2024 14:23
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!

doc/README.md Outdated Show resolved Hide resolved
doc/README.md Outdated Show resolved Hide resolved
doc/README.md Outdated Show resolved Hide resolved
doc/README.md Outdated Show resolved Hide resolved
doc/README.md Outdated Show resolved Hide resolved
doc/README.md Outdated Show resolved Hide resolved
doc/source/conf.py Outdated Show resolved Hide resolved
doc/source/conf.py Outdated Show resolved Hide resolved
project = 'Apache Arrow Flight SQL Adapter for PostgreSQL'
copyright = f'2019-{datetime.now().year}, Apache Software Foundation'
trademark = [
"Apache Arrow Flight, Arrow Flight, Apache, the Apache feather logo, and the Apache Arrow project logo",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add some words for "Flight SQL" here too?

Hmm, ADBC doesn't mention Flight nor Flight SQL: apache/arrow-adbc#1423

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes sounds good, added a proposal by explicitly mentioning Arrow Flight SQL

Comment on lines 32 to 35
trademark = [
"Apache Arrow Flight, Arrow Flight, Apache, the Apache feather logo, and the Apache Arrow project logo",
"are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries."
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use copyright instead of introducing trademark like apache/arrow#39505 ? I think that using copyright is simpler.

simicd and others added 2 commits February 12, 2024 23:23
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Comment on lines 31 to 35
copyright = f'2022-{datetime.now().year}, Apache Software Foundation'
trademark = [
"Apache Arrow Flight, Arrow Flight, Arrow Flight SQL, Apache, the Apache feather logo, and the Apache Arrow project logo",
"are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries."
]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use copyright instead of introducing trademark like apache/arrow#39505 ? I think that using copyright is simpler.

That would be elegant, I tried the following but for some reason it doesn't split the iterable into multiple lines and the Sphinx version looks squeezed (even though the docs state from Sphinx v7.1 onwards it should work):
image

Suggested change
copyright = f'2022-{datetime.now().year}, Apache Software Foundation'
trademark = [
"Apache Arrow Flight, Arrow Flight, Arrow Flight SQL, Apache, the Apache feather logo, and the Apache Arrow project logo",
"are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries."
]
copyright = (f'2022-{datetime.now().year}, Apache Software Foundation\n',
"Apache Arrow Flight, Arrow Flight, Arrow Flight SQL, Apache, the Apache feather logo, and the Apache Arrow project logo",
"are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries."
)
trademark = []

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. OK. Let's use one string for copyright like apache/arrow#39505 :

copyright = (
    f'2022-{datetime.now().year}, Apache Software Foundation. '
    "Apache Arrow Flight, Arrow Flight, Arrow Flight SQL, Apache, the Apache feather logo, "
    "and the Apache Arrow project logo are either registered trademarks or trademarks of "
    "The Apache Software Foundation in the United States and other countries."
)

@simicd
Copy link
Author

simicd commented Feb 12, 2024

Thanks a lot for the thorough review @kou, very helpful! I accepted all changes, there are two comments left above

doc/README.md Outdated Show resolved Hide resolved
doc/README.md Outdated Show resolved Hide resolved
doc/README.md Outdated Show resolved Hide resolved
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, sorry... I forgot to submit my comment...

Comment on lines 31 to 35
copyright = f'2022-{datetime.now().year}, Apache Software Foundation'
trademark = [
"Apache Arrow Flight, Arrow Flight, Arrow Flight SQL, Apache, the Apache feather logo, and the Apache Arrow project logo",
"are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries."
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. OK. Let's use one string for copyright like apache/arrow#39505 :

copyright = (
    f'2022-{datetime.now().year}, Apache Software Foundation. '
    "Apache Arrow Flight, Arrow Flight, Arrow Flight SQL, Apache, the Apache feather logo, "
    "and the Apache Arrow project logo are either registered trademarks or trademarks of "
    "The Apache Software Foundation in the United States and other countries."
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use correct attribution in the footer of documentation pages
2 participants