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] Fix doc build errors #23090

Merged

Conversation

steveburnett
Copy link
Contributor

@steveburnett steveburnett commented Jun 26, 2024

Description

Fixes the following doc build errors:

  • WARNING: html_static_path entry 'static' does not exist
  • /Users/steveburnett/Documents/GitHub/presto/presto-docs/src/main/sphinx/language/types.rst:3: WARNING: Duplicate explicit target name: "hyperloglog".
  • /Users/steveburnett/Documents/GitHub/presto/presto-docs/src/main/sphinx/security/internal-communication.rst:131: WARNING: undefined label: 'config-properties'
  • /Users/steveburnett/Documents/GitHub/presto/presto-docs/src/main/sphinx/functions/array.rst:83: WARNING: Literal block expected; none found.

Motivation and Context

Chips away at the remaining doc build errors, and builds on the work in #23033 , #23023, #22876 , and #22985 .
Like the doc build errors I fixed in the other PRs, these errors don't stop the build but they're annoying, and these are easy and low-risk fixes.

Keeping the number of changes small to make reviewing easier and faster. Also, the remaining errors require more time to solve, so submit these solved problems for velocity.

Impact

Documentation.

Test Plan

Local doc build.

Before the fixes in this PR:
build succeeded, 23 warnings.

After:
build succeeded, 19 warnings.

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

== NO RELEASE NOTE ==

@steveburnett steveburnett self-assigned this Jun 26, 2024
@steveburnett steveburnett requested a review from a team as a code owner June 26, 2024 17:32
Copy link
Contributor

@tdcmeehan tdcmeehan left a comment

Choose a reason for hiding this comment

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

Thank you @steveburnett

@@ -181,7 +181,7 @@ queries.
* Array checksum of the value set
* **Row Columns**
* Checksums row fields recursively according to the type of the fields.
* For all other column types, generates a simple checksum using the :func:`checksum` function.
* For all other column types, generates a simple checksum using the :func:`!checksum` function.
Copy link
Contributor

Choose a reason for hiding this comment

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

what does adding the exclamation point do?

Copy link
Contributor

Choose a reason for hiding this comment

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

My understanding is it's because we generate the links for :func: using some custom code, and so during initial rendering it throws a warning. That is how I understood it from #23023

@steveburnett steveburnett merged commit d07c874 into prestodb:master Jun 27, 2024
57 checks passed
@steveburnett steveburnett deleted the steveburnett-docbuild-errors-three branch June 27, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants