Skip to content

Commit

Permalink
GH-39640: [Docs] Pin pydata-sphinx-theme to 0.14.* (#39758)
Browse files Browse the repository at this point in the history
### Rationale for this change

Fixing the pinning syntax so we get the latest 0.14.x version (which is currently 0.14.4)

* Closes: #39640

Authored-by: Joris Van den Bossche <[email protected]>
Signed-off-by: Joris Van den Bossche <[email protected]>
  • Loading branch information
jorisvandenbossche authored Jan 30, 2024
1 parent b778ace commit c6ab286
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ci/conda_env_sphinx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ breathe
doxygen
ipython
numpydoc
pydata-sphinx-theme=0.14.1
pydata-sphinx-theme=0.14
sphinx-autobuild
sphinx-design
sphinx-copybutton
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
breathe
ipython
numpydoc
pydata-sphinx-theme==0.14.1
pydata-sphinx-theme~=0.14
sphinx-autobuild
sphinx-design
sphinx-copybutton
Expand Down
2 changes: 1 addition & 1 deletion docs/source/python/api/compute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -590,4 +590,4 @@ User-Defined Functions
:toctree: ../generated/

register_scalar_function
ScalarUdfContext
UdfContext
4 changes: 2 additions & 2 deletions docs/source/python/compute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,9 @@ output type need to be defined. Using :func:`pyarrow.compute.register_scalar_fun
The implementation of a user-defined function always takes a first *context*
parameter (named ``ctx`` in the example above) which is an instance of
:class:`pyarrow.compute.ScalarUdfContext`.
:class:`pyarrow.compute.UdfContext`.
This context exposes several useful attributes, particularly a
:attr:`~pyarrow.compute.ScalarUdfContext.memory_pool` to be used for
:attr:`~pyarrow.compute.UdfContext.memory_pool` to be used for
allocations in the context of the user-defined function.

You can call a user-defined function directly using :func:`pyarrow.compute.call_function`:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/python/pandas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ use the ``datetime64[ns]`` type in Pandas and are converted to an Arrow

.. ipython:: python
df = pd.DataFrame({"datetime": pd.date_range("2020-01-01T00:00:00Z", freq="H", periods=3)})
df = pd.DataFrame({"datetime": pd.date_range("2020-01-01T00:00:00Z", freq="h", periods=3)})
df.dtypes
df
Expand Down

0 comments on commit c6ab286

Please sign in to comment.