Skip to content

Commit

Permalink
chore: fix relative references to docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed May 27, 2024
1 parent aae14bf commit a74357c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
3 changes: 1 addition & 2 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ website:
collapse-level: 2
contents:
- auto: backends/*.qmd
- support_matrix.qmd
- reference/operations.qmd
- auto: backends/support
- id: how-to
title: "How-to"
style: "docked"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def make_support_matrix():
def make_link(parts):
module, op = parts[-2:]
return f'<a href="./reference/expression-operations.html#ibis.expr.operations.{module}.{op}">{op}</a>'
return f'<a href="./operations.html#ibis.expr.operations.{module}.{op}">{op}</a>'
support_matrix = (
pd.DataFrame(support)
Expand Down
1 change: 1 addition & 0 deletions docs/backends/support/operations.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{< include ../../reference/operations.qmd >}}
18 changes: 9 additions & 9 deletions ibis/expr/operations/udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def builtin(
will be derived from the type annotations of the wrapped function.
For **builtin** UDFs, only the **return type** annotation is required.
See [the user guide](../how-to/extending/builtin.qmd#input-types) for
See [the user guide](/how-to/extending/builtin.qmd#input-types) for
more information.
kwargs
Additional backend-specific configuration arguments for the UDF.
Expand Down Expand Up @@ -290,9 +290,9 @@ def python(
Python function call per row
This calling pattern tends to be **much** slower than
[`pandas`](./scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pandas)
[`pandas`](/reference/scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pandas)
or
[`pyarrow`](./scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pyarrow)-based
[`pyarrow`](/reference/scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pyarrow)-based
vectorized UDFs.
:::
Expand Down Expand Up @@ -358,8 +358,8 @@ def python(
See Also
--------
- [`pandas`](./scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pandas)
- [`pyarrow`](./scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pyarrow)
- [`pandas`](/reference/scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pandas)
- [`pyarrow`](/reference/scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pyarrow)
"""
return _wrap(
Expand Down Expand Up @@ -455,8 +455,8 @@ def pandas(
See Also
--------
- [`python`](./scalar-udfs.qmd#ibis.expr.operations.udf.scalar.python)
- [`pyarrow`](./scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pyarrow)
- [`python`](/reference/scalar-udfs.qmd#ibis.expr.operations.udf.scalar.python)
- [`pyarrow`](/reference/scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pyarrow)
"""
return _wrap(
Expand Down Expand Up @@ -541,8 +541,8 @@ def pyarrow(
See Also
--------
- [`python`](./scalar-udfs.qmd#ibis.expr.operations.udf.scalar.python)
- [`pandas`](./scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pandas)
- [`python`](/reference/scalar-udfs.qmd#ibis.expr.operations.udf.scalar.python)
- [`pandas`](/reference/scalar-udfs.qmd#ibis.expr.operations.udf.scalar.pandas)
"""
return _wrap(
Expand Down

0 comments on commit a74357c

Please sign in to comment.