Skip to content

Commit

Permalink
[docs] style parameters as a <dl> instead of blockquote (#754)
Browse files Browse the repository at this point in the history
The extra newline breaks the Sphinx parsing of the parameters block
  • Loading branch information
danking authored Sep 5, 2024
1 parent dd2141a commit bbbc9fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions pyvortex/src/dtype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ pub fn dtype_null(py: Python<'_>) -> PyResult<Py<PyDType>> {
/// Parameters
/// ----------
/// nullable : :class:`bool`
///
/// When :obj:`True`, :obj:`None` is a permissible value.
///
/// Returns
Expand Down Expand Up @@ -121,11 +120,9 @@ pub fn dtype_bool(py: Python<'_>, nullable: bool) -> PyResult<Py<PyDType>> {
/// Parameters
/// ----------
/// width : one of 8, 16, 32, and 64.
///
/// The bit width determines the span of valid values. If :obj:`None`, 64 is used.
///
/// nullable : :class:`bool`
///
/// When :obj:`True`, :obj:`None` is a permissible value.
///
/// Returns
Expand Down Expand Up @@ -166,11 +163,9 @@ pub fn dtype_int(py: Python<'_>, width: Option<u16>, nullable: bool) -> PyResult
/// Parameters
/// ----------
/// width : one of 8, 16, 32, and 64.
///
/// The bit width determines the span of valid values. If :obj:`None`, 64 is used.
///
/// nullable : :class:`bool`
///
/// When :obj:`True`, :obj:`None` is a permissible value.
///
/// Returns
Expand Down Expand Up @@ -211,12 +206,10 @@ pub fn dtype_uint(py: Python<'_>, width: Option<u16>, nullable: bool) -> PyResul
/// Parameters
/// ----------
/// width : one of 16, 32, and 64.
///
/// The bit width determines the range and precision of the floating-point values. If
/// :obj:`None`, 64 is used.
///
/// nullable : :class:`bool`
///
/// When :obj:`True`, :obj:`None` is a permissible value.
///
/// Returns
Expand Down Expand Up @@ -253,7 +246,6 @@ pub fn dtype_float(py: Python<'_>, width: Option<i8>, nullable: bool) -> PyResul
/// Parameters
/// ----------
/// nullable : :class:`bool`
///
/// When :obj:`True`, :obj:`None` is a permissible value.
///
/// Returns
Expand All @@ -279,7 +271,6 @@ pub fn dtype_utf8(py: Python<'_>, nullable: bool) -> PyResult<Py<PyDType>> {
/// Parameters
/// ----------
/// nullable : :class:`bool`
///
/// When :obj:`True`, :obj:`None` is a permissible value.
///
/// Returns
Expand Down
3 changes: 0 additions & 3 deletions pyvortex/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use crate::PyArray;
/// Parameters
/// ----------
/// f : :class:`str`
///
/// The file path.
///
/// Examples
Expand Down Expand Up @@ -208,11 +207,9 @@ pub fn read<'py>(
/// Parameters
/// ----------
/// array : :class:`vortex.encoding.Array`
///
/// The array. Must be an array of structures.
///
/// f : :class:`str`
///
/// The file path.
///
/// Examples
Expand Down

0 comments on commit bbbc9fa

Please sign in to comment.