From 77e3ad00160b16c2b7a143f555cb3dc342dc5ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 26 Aug 2016 14:19:19 +0200 Subject: [PATCH] Update rendering doc --- docs/source/conf.py | 7 ++++++- pymisp/api.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 61adec2..3984a79 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -41,9 +41,14 @@ extensions = [ 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', -# 'sphinx.ext.githubpages', + 'sphinx.ext.githubpages', + 'sphinx.ext.napoleon', ] +napoleon_google_docstring = False +napoleon_use_param = False +napoleon_use_ivar = True + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/pymisp/api.py b/pymisp/api.py index 578d9cd..ecd4f42 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -""" Python API using the REST interface of MISP """ +"""Python API using the REST interface of MISP""" import json import datetime