Skip to content

Commit 8f96975

Browse files
committed
docs: fix minor issues in profiles and manifests docs (apache#4007)
1 parent 228264a commit 8f96975

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

docs/source/format/connection_profiles.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,12 @@ When using a profile name (not an absolute path), the driver manager searches fo
193193
1. **Additional Search Paths** (if configured via ``AdbcDriverManagerDatabaseSetAdditionalSearchPathList()``)
194194
2. **ADBC_PROFILE_PATH** environment variable (colon-separated on Unix, semicolon-separated on Windows)
195195
3. **Conda Environment** (if built with Conda support and ``CONDA_PREFIX`` is set):
196+
196197
- ``$CONDA_PREFIX/etc/adbc/profiles/``
198+
197199
4. **User Configuration Directory**:
198-
- Linux: ``~/.config/adbc/profiles/``
200+
201+
- Linux: ``$XDG_CONFIG_HOME/adbc/profiles`` if set, else ``~/.config/adbc/profiles/``
199202
- macOS: ``~/Library/Application Support/ADBC/Profiles/``
200203
- Windows: ``%LOCALAPPDATA%\ADBC\Profiles\``
201204

@@ -433,7 +436,7 @@ Store credentials separately from code:
433436
434437
[options]
435438
adbc.snowflake.sql.account = "mycompany"
436-
adbc.snowflake.sql.auth_token = "env_var(SNOWFLAKE_TOKEN)"
439+
adbc.snowflake.sql.auth_token = "{{ env_var(SNOWFLAKE_TOKEN) }}"
437440
438441
Then set ``SNOWFLAKE_TOKEN`` via environment variable, secrets manager, or configuration service.
439442

docs/source/format/driver_manifests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ would happen for ODBC drivers. The search for a manifest on Windows would be the
499499
* ``entrypoint`` - the entrypoint to use for the driver if a non-default entrypoint is needed
500500
* ``driver`` - the path to the driver shared library
501501

502-
* If no registry key is found, then the directory ``%LOCAL_APPDATA%\ADBC\Drivers`` is searched
502+
* If no registry key is found, then the directory ``%LOCALAPPDATA%\ADBC\Drivers`` is searched
503503

504504
#. If the ``LOAD_FLAG_SEARCH_SYSTEM`` load option is set, the driver manager will search for a system-level configuration
505505

0 commit comments

Comments
 (0)