[dox] fix code formatting

fixes https://github.com/qgis/pyqgis/issues/45
This commit is contained in:
Denis Rouzaud 2020-07-03 09:17:41 +02:00
parent 040dd56b80
commit b5d9ccdf1f
2 changed files with 9 additions and 5 deletions

View File

@ -17,9 +17,9 @@ at runtime by plugins or custom applications.
To get access use the QgsApplication:
```
:py:func:`QgsApplication.actionScopeRegistry()`
```
.. code-block:: python
QgsApplication.actionScopeRegistry()
.. versionadded:: 3.0
%End

View File

@ -30,9 +30,13 @@
*
* To get access use the QgsApplication:
*
* ```
* \code{.cpp}
* QgsApplication::actionScopeRegistry()
* ```
* \endcode
*
* \code{.py}
* QgsApplication.actionScopeRegistry()
* \endcode
*
* \since QGIS 3.0
*/