1
0
mirror of https://github.com/pybind/pybind11.git synced 2025-02-24 01:19:23 +00:00
pybind11/docs
Tim Ohliger 1b7aa0bb66
feat: rework of arg/return type hints to support .noconvert() ()
* Added rework of arg/return typing

* Changed `Path` to `pathlib.Path` for compatibility with pybind11-stubgen

* Removed old arg/return type hint implementation

* Added noconvert support for arg/return type hints

* Added commented failing tests for Literals with special characters

* Added return_descr/arg_descr for correct typing in typing::Callable

* Fixed clang-tidy issues

* Changed io_name to have explicit return type (for C++11 support)

* style: pre-commit fixes

* Added support for nested callables

* Fixed missing include

* Fixed is_return_value constructor call

* Fixed clang-tidy issue

* Uncommented test cases for special characters in literals

* Moved literal tests to correct test case

* Added escaping of special characters in typing::Literal

* Readded mistakenly deleted bracket

* Moved sanitize_string_literal to correct namespace

* Added test for Literal with `!` and changed StringLiteral template param name

* Added test for Literal with multiple and repeated special chars

* Simplified string literal sanitization function

* Added test for `->` in literal

* Added test for `->` with io_name

* Removed unused parameter name to prevent warning

* Added escaping of `-` in literal to prevent processing of `->`

* Fixed wrong computation of sanitized string literal length

* Added cast to prevent error with MSVC

* Simplified special character check

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-24 17:01:06 -05:00
..
_static/css docs: use Furo () 2022-07-13 10:13:35 -05:00
advanced feat: rework of arg/return type hints to support .noconvert() () 2025-01-24 17:01:06 -05:00
cmake fix: find_import didn't work properly for classic tools () 2020-10-05 15:31:00 -04:00
basics.rst docs: clarify requirements for including pybind11 () 2024-08-22 00:29:21 -04:00
benchmark.py chore(deps): update pre-commit hooks () 2024-12-08 15:21:49 -08:00
benchmark.rst ci: GHA basic format & pre-commit () 2020-07-20 13:35:21 -04:00
changelog.rst docs: update changelog for 2.13.6 () 2024-09-13 16:59:50 -04:00
classes.rst Warning on comparing wrapper enums with is () 2023-07-12 08:56:40 -07:00
compiling.rst feat: require CMake 3.15+ () 2024-08-14 18:21:04 -04:00
conf.py feat: remove Python 3.6 support () 2024-06-22 00:55:00 -04:00
Doxyfile Python 2 removal part 1: tests (C++ code is intentionally ~untouched) () 2022-02-10 18:28:08 -08:00
faq.rst Add while True & top method to FAQ. () 2024-08-27 21:04:48 -07:00
index.rst fix: chapters in PDF again () 2020-10-18 14:31:28 -04:00
installing.rst docs: add a note about compiling the example () 2020-12-24 09:51:36 -05:00
limitations.rst docs: remove outdated known limitation. () 2024-07-23 22:32:39 -04:00
Makefile took a stab at some documentation 2015-10-13 03:16:44 +02:00
pybind11_vs_boost_python1.png documentation improvements 2016-04-28 15:32:07 +02:00
pybind11_vs_boost_python1.svg Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
pybind11_vs_boost_python2.png documentation improvements 2016-04-28 15:32:07 +02:00
pybind11_vs_boost_python2.svg Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
pybind11-logo.png docs: use Furo () 2022-07-13 10:13:35 -05:00
reference.rst feat: reapply fixed version of () 2021-09-23 15:06:07 -04:00
release.rst chore: prepare 2.12.0 () 2024-03-27 18:09:06 -04:00
requirements.in chore: docs and nox bump () 2024-05-06 12:22:14 -04:00
requirements.txt chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs () 2025-01-08 21:02:02 -08:00
upgrade.rst Fix incorrect link syntax in upgrade guide () 2024-11-06 11:21:33 -08:00