Fix stub and doc builds
This commit is contained in:
parent
6fbeb28bd6
commit
46dc133d04
1
conf.py
1
conf.py
|
@ -144,6 +144,7 @@ version = release = final_version
|
||||||
# directories to ignore when looking for source files.
|
# directories to ignore when looking for source files.
|
||||||
exclude_patterns = ["**/build*",
|
exclude_patterns = ["**/build*",
|
||||||
".git",
|
".git",
|
||||||
|
".env",
|
||||||
".venv",
|
".venv",
|
||||||
".direnv",
|
".direnv",
|
||||||
"docs/autoapi",
|
"docs/autoapi",
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
//| def __init__(self, address: Union[str, bytes]) -> None:
|
//| def __init__(self, address: Union[str, bytes]) -> None:
|
||||||
//| """Create a new IPv4Address object encapsulating the address value.
|
//| """Create a new IPv4Address object encapsulating the address value.
|
||||||
//|
|
//|
|
||||||
//| The value itself can either be bytes or a string formatted address.""
|
//| The value itself can either be bytes or a string formatted address."""
|
||||||
//| ...
|
//| ...
|
||||||
//|
|
//|
|
||||||
STATIC mp_obj_t ipaddress_ipv4address_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
|
STATIC mp_obj_t ipaddress_ipv4address_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
static const char *TAG = "cp iternext";
|
static const char *TAG = "cp iternext";
|
||||||
|
|
||||||
//| class ScannedNetworks:
|
//| class ScannedNetworks:
|
||||||
//| """Iterates over wifi `Network`s found while scanning. This object is always created
|
//| """Iterates over all `wifi.Network` objects found while scanning. This object is always created
|
||||||
//| by a `wifi.Radio`: it has no user-visible constructor."""
|
//| by a `wifi.Radio`: it has no user-visible constructor."""
|
||||||
//|
|
//|
|
||||||
STATIC mp_obj_t scannednetworks_iternext(mp_obj_t self_in) {
|
STATIC mp_obj_t scannednetworks_iternext(mp_obj_t self_in) {
|
||||||
|
|
|
@ -32,12 +32,11 @@
|
||||||
|
|
||||||
//| """
|
//| """
|
||||||
//| The `wifi` module provides necessary low-level functionality for managing wifi
|
//| The `wifi` module provides necessary low-level functionality for managing wifi
|
||||||
//| wifi connections. Use `socketpool` for communicating over the network.
|
//| wifi connections. Use `socketpool` for communicating over the network."""
|
||||||
//|
|
//|
|
||||||
//| .. attribute:: radio
|
//| radio: Radio
|
||||||
//|
|
//| """Wifi radio used to manage both station and AP modes.
|
||||||
//| Wifi radio used to manage both station and AP modes.
|
//| This object is the sole instance of `wifi.Radio`."""
|
||||||
//| This object is the sole instance of `wifi.Radio`."""
|
|
||||||
//|
|
//|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue