A sphinx lua domain.
Installation
$ pip install sphinxcontrib-luadomain
Sphinx integration
Add the following to your conf.py:
extensions = ['sphinxcontrib.luadomain']
Available sphinx directives
The following directives are available:
Documenting class
.. lua:class:: pl.List
Python-style list class.
.. lua:attribute:: size: number
The list size.
.. lua:method:: append(elem)
:param elem: The element to append
:type elem: any
.. lua:staticmethod:: fromArray(a) -> pl.List
Create a List from a raw array.
:return: The new List
:rtype: pl.List
Class handle inheritance:
.. lua:class:: ITransport
.. lua:method:: startEngine() -> boolean
:virtual:
:return: true if engine started
:rtype: boolean
.. lua:class:: Car: ITransport
.. lua:method:: startEngine() -> boolean
:return: true if engine started
:rtype: boolean
Method modifiers
.. lua:method:: foo()
:virtual:
:abstract:
:deprecated:
:protected:
Show method modifiers.
Documenting module
.. lua:module:: pl.path
.. lua:function:: join(p1, p2) -> str
Return the path resulting from combining the individual paths.
:param p1: First path
:type p1: str
:param p2: An other path
:type p2: str
:return: The combined path
:rtype: str
Type alias
.. lua:alias:: Packet = table<string, number>
A packet.
.. lua:class:: MessageSender
A message sender.
.. lua:method:: send(packet)
:abstract:
An abstract method.
:param packet: the packet to send
:type packet: Packet
Cross-references
:lua:class:`pl.List`
:lua:meth:`pl.List.append`
Metadata
Release files for sphinxcontrib-luadomain 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinxcontrib_luadomain-1.2.0.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinxcontrib_luadomain-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.5 kB
Release files / sphinxcontrib_luadomain-1.2.0.tar.gz
| Download URL | sphinxcontrib_luadomain-1.2.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fcd40c3d32dbd2a57b98f8eb59be6d87f97a5fd60333e2dbeac056ed0ec9705
|
|
BLAKE2b-256 checksum How to use checksums |
570e1181e3ffe5a87b77e268468cd56b845dff48e2a66b4c15c7e49786bd7783
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / sphinxcontrib_luadomain-1.2.0-py3-none-any.whl
| Download URL | sphinxcontrib_luadomain-1.2.0-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4081252932967ef1e34964e3640981584419786f568f4102e7fb9c867ab40aeb
|
|
BLAKE2b-256 checksum How to use checksums |
ead427ff5205773ed5097e975c82bd3e8bdbbb5836ae278fca485ad0cb40270e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|