Added favicon to sphinx doc
This commit is contained in:
parent
cbc45d7a82
commit
e541d6db90
|
@ -1,9 +1,12 @@
|
||||||
The FreeCAD Document
|
The FreeCAD Document
|
||||||
====================
|
====================
|
||||||
|
|
||||||
|
.. currentmodule:: FreeCAD
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 4
|
:maxdepth: 4
|
||||||
|
|
||||||
.. automodule:: DocumentObject
|
.. autoclass:: ActiveDocument
|
||||||
|
:members:
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
src/Doc/sphinx/_static/favicon.ico
Normal file
BIN
src/Doc/sphinx/_static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -60,6 +60,7 @@ if commands.getstatusoutput("locate TemplatePyMod")[0] == 0:
|
||||||
|
|
||||||
import FreeCAD, FreeCADGui
|
import FreeCAD, FreeCADGui
|
||||||
FreeCADGui.showMainWindow() # this is needed for complete import of GUI modules
|
FreeCADGui.showMainWindow() # this is needed for complete import of GUI modules
|
||||||
|
doc = FreeCAD.newDocument("doc")
|
||||||
|
|
||||||
# -- General configuration -----------------------------------------------------
|
# -- General configuration -----------------------------------------------------
|
||||||
|
|
||||||
|
@ -84,16 +85,16 @@ master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'FreeCAD'
|
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
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '0.13'
|
version = '0.14'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '0.13'
|
release = '0.14'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# 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
|
# 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
|
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
||||||
# pixels large.
|
# pixels large.
|
||||||
html_favicon = "../images/favicon.ico"
|
html_favicon = "favicon.ico"
|
||||||
|
|
||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# 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,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user