diff --git a/src/Doc/sphinx/Document.rst b/src/Doc/sphinx/Document.rst index 2b8a9d365..86f096883 100644 --- a/src/Doc/sphinx/Document.rst +++ b/src/Doc/sphinx/Document.rst @@ -1,9 +1,12 @@ The FreeCAD Document ==================== +.. currentmodule:: FreeCAD + .. toctree:: :maxdepth: 4 -.. automodule:: DocumentObject +.. autoclass:: ActiveDocument + :members: diff --git a/src/Doc/sphinx/_static/favicon.ico b/src/Doc/sphinx/_static/favicon.ico new file mode 100644 index 000000000..dcefbc956 Binary files /dev/null and b/src/Doc/sphinx/_static/favicon.ico differ diff --git a/src/Doc/sphinx/conf.py b/src/Doc/sphinx/conf.py index 838eb45bf..6146780a8 100644 --- a/src/Doc/sphinx/conf.py +++ b/src/Doc/sphinx/conf.py @@ -60,6 +60,7 @@ if commands.getstatusoutput("locate TemplatePyMod")[0] == 0: import FreeCAD, FreeCADGui FreeCADGui.showMainWindow() # this is needed for complete import of GUI modules +doc = FreeCAD.newDocument("doc") # -- General configuration ----------------------------------------------------- @@ -84,16 +85,16 @@ master_doc = 'index' # General information about the project. project = u'FreeCAD' -copyright = u'2011, Jürgen Riegel, Werner Mayer, Yorik van Havre' +copyright = u'2013, Jürgen Riegel, Werner Mayer, Yorik van Havre' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '0.13' +version = '0.14' # The full version, including alpha/beta/rc tags. -release = '0.13' +release = '0.14' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -160,7 +161,7 @@ html_title = "FreeCAD API documentation" # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -html_favicon = "../images/favicon.ico" +html_favicon = "favicon.ico" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,