Skip to content

Conversation

@amoeba
Copy link
Member

@amoeba amoeba commented Jul 21, 2025

Minor follow-up edits to #3176. Some syntax fixes, some editorial.

amoeba added 15 commits July 21, 2025 11:03
I don't think it adds anything here.
"essentially" makes it sound like there's more than two ways. Are there? If not, I think we can just say "there are two ways".
The option is technically in addition to the other option but it's clearer to say it's an alternative IMO.
Is this something I just don't know about or just a typo? Usually when I use LD_LIBRARY_PATH, I add absolute paths to a folder containing .so files and then I have to pass the basename of the file. Here, you say I'd pass 'adbc_driver' to load 'libadbc_driver.so'. Is that a typo?

I also reworded the paragraph a bit.
Need empty lines before lists or these render in a broken fashion.
I don't think this needs to be a nested list item. It should just show up as a new paragraph in the parent list item
this was showing up as a code block which wasn't good
@amoeba amoeba requested a review from zeroshade July 21, 2025 18:56
@amoeba amoeba requested a review from lidavidm as a code owner July 21, 2025 18:56
@github-actions github-actions bot added this to the ADBC Libraries 20 milestone Jul 21, 2025
@amoeba
Copy link
Member Author

amoeba commented Jul 21, 2025

Hey @zeroshade, I didn't get a chance to review #3176 but I took a read and the doc looks great, with just a few minor editorial notes. I made each change as a separate commit so it's easier to track. Feel free to comment on any of them or ask me to revert.

Comment on lines -316 to 322

Use ``adbc_driver(... , load_flags = adbc_load_flags())`` to pass options to the driver manager
Use ``adbc_driver(..., load_flags = adbc_load_flags())`` to pass options to the driver manager
regarding how to locate drivers specified by manifest.
Copy link
Member

Choose a reason for hiding this comment

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

We should either add a single space to each line here so it's in a quote box like the other tabs, or we should remove the single leading space from each line so it doesn't use a quote box.

Basically, all of the tabs should either line up with the : of :sync: or the s. We should be consistent

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahh, I see it now. Good eye.

Fixed in 13b741d.

Copy link
Member Author

Choose a reason for hiding this comment

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

(They all render as not-quote-boxes, just normally now)

Comment on lines 364 to 377
* ``ADBC_CONFIG_PATH`` is a semicolon-separated list of directories to search for ``${name}.toml``
``ADBC_CONFIG_PATH`` is a semicolon-separated list of directories to search for ``${name}.toml``
Copy link
Member

Choose a reason for hiding this comment

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

Same here, the * should stay, but remove the leading space so that the * is lined up with the I of If

Copy link
Member Author

Choose a reason for hiding this comment

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

Done in 0a68b51.

@zeroshade
Copy link
Member

Just a few minor comments. Thanks!

@amoeba amoeba requested a review from zeroshade July 21, 2025 19:16
@amoeba
Copy link
Member Author

amoeba commented Jul 21, 2025

All comments are resolvable with my latest pushes.

* ``ADBC::LoadFlags::SEARCH_SYSTEM`` - search the system configuration directory
* ``ADBC::LoadFlags::ALLOW_RELATIVE_PATHS`` - allow a relative path to be provided
* ``ADBC::LoadFlags::DEFAULT`` - default value with all flags set
These can be provided by using ``ADBC::Database#load_flags=``.
Copy link
Member

Choose a reason for hiding this comment

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

you need a blank line before and after the bullet list

Copy link
Member Author

@amoeba amoeba Jul 21, 2025

Choose a reason for hiding this comment

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

Ugh, thanks. Fixed in fb62f37.

Copy link
Member Author

Choose a reason for hiding this comment

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

and c4e8e47.

@amoeba
Copy link
Member Author

amoeba commented Jul 21, 2025

Spotted another ReST issue.

@amoeba
Copy link
Member Author

amoeba commented Jul 21, 2025

🤞 I think I got all of the syntax issues and that this is ready for another look.

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

Looks good to me! I downloaded the archive and looked at it locally. Everything looks good 😄 Thanks again!

@zeroshade zeroshade merged commit 34bc364 into apache:main Jul 22, 2025
26 checks passed
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.

3 participants