[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: To get access use the QgsApplication:
``` .. code-block:: python
:py:func:`QgsApplication.actionScopeRegistry()`
``` QgsApplication.actionScopeRegistry()
.. versionadded:: 3.0 .. versionadded:: 3.0
%End %End

View File

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