Search in sources :

Example 1 with PythonDocumentationProvider

use of com.jetbrains.python.documentation.PythonDocumentationProvider in project intellij-community by JetBrains.

the class PyQuickDocTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    // the provider is stateless, can be reused, as in real life
    myProvider = new PythonDocumentationProvider();
    final PyDocumentationSettings documentationSettings = PyDocumentationSettings.getInstance(myFixture.getModule());
    myFormat = documentationSettings.getFormat();
    documentationSettings.setFormat(DocStringFormat.PLAIN);
}
Also used : PythonDocumentationProvider(com.jetbrains.python.documentation.PythonDocumentationProvider) PyDocumentationSettings(com.jetbrains.python.documentation.PyDocumentationSettings)

Aggregations

PyDocumentationSettings (com.jetbrains.python.documentation.PyDocumentationSettings)1 PythonDocumentationProvider (com.jetbrains.python.documentation.PythonDocumentationProvider)1