Skip to content

Commit

Permalink
Fix formatting in pyqgis documentation (#9396)
Browse files Browse the repository at this point in the history
* Fix API documentation

* Fix sip doc
  • Loading branch information
DelazJ authored and 3nids committed Mar 6, 2019
1 parent 288b5c1 commit 53a717a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions python/gui/auto_generated/qgisinterface.sip.in
Expand Up @@ -615,8 +615,9 @@ status bar (do not use the native Qt statusBar() method).
virtual void takeAppScreenShots( const QString &saveDirectory, const int categories = 0 );
%Docstring
Take screenshots for user documentation
@param saveDirectory path where the screenshots will be saved
@param categories an int as a flag value of QgsAppScreenShots.Categories

:param saveDirectory: path where the screenshots will be saved
:param categories: an int as a flag value of QgsAppScreenShots.Categories

.. versionadded:: 3.4
%End
Expand Down
5 changes: 3 additions & 2 deletions src/gui/qgisinterface.h
Expand Up @@ -543,8 +543,9 @@ class GUI_EXPORT QgisInterface : public QObject

/**
* Take screenshots for user documentation
* @param saveDirectory path where the screenshots will be saved
* @param categories an int as a flag value of QgsAppScreenShots::Categories
*
* \param saveDirectory path where the screenshots will be saved
* \param categories an int as a flag value of QgsAppScreenShots::Categories
* \since QGIS 3.4
*/
virtual void takeAppScreenShots( const QString &saveDirectory, const int categories = 0 ) {Q_UNUSED( saveDirectory ); Q_UNUSED( categories );}
Expand Down

0 comments on commit 53a717a

Please sign in to comment.