From 17ecd73df98455fe56b7d8f0da15d390c483c83e Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Tue, 11 Mar 2014 13:23:25 +0100 Subject: [PATCH] fix @Alexey-T's concern of deprecated documentation, see #317 --- docs/conf.py | 1 - docs/docs/plugin-api.rst | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 04d7b8e9..be693b11 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,6 @@ import sys, os, datetime # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('..')) -sys.path.insert(0, os.path.abspath('../jedi')) sys.path.append(os.path.abspath('_themes')) # -- General configuration ----------------------------------------------------- diff --git a/docs/docs/plugin-api.rst b/docs/docs/plugin-api.rst index 0dca84e7..447c9520 100644 --- a/docs/docs/plugin-api.rst +++ b/docs/docs/plugin-api.rst @@ -20,7 +20,7 @@ API documentation API Interface ~~~~~~~~~~~~~ -.. automodule:: api +.. automodule:: jedi.api :members: :undoc-members: @@ -62,10 +62,10 @@ Definitions / Goto: ... inception()''' >>> script = jedi.Script(source, 8, 1, '') >>> - >>> script.goto() + >>> script.goto_assignments() [] >>> - >>> script.get_definition() + >>> script.goto_definitions() [] Related names: