Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,33 @@

# -- General configuration ------------------------------------------------

autodoc_mock_imports = [
"OCC",
"OCC.Core",
"OCC.Core.TopoDS",
"OCC.Core.TopExp",
"OCC.Core.TopAbs",
"OCC.Core.TopTools",
"OCC.Core.GeomConvert",
"OCC.Core.BRep",
"OCC.Core.BRepBuilderAPI",
"OCC.Core.BRepPrimAPI",
"OCC.Core.BRepAlgoAPI",
"OCC.Core.STEPControl",
"OCC.Core.Interface",
"OCC.Core.IFSelect",
"OCC.Core.gp",
"OCC.Core.TColgp",
"OCC.Core.BRepOffsetAPI",
"OCC.Core.BRepFilletAPI",
"OCC.Core.Geom",
"OCC.Extend",
"OCC.Extend.TopologyUtils",
"vtk",
"vtk.util",
"vtk.util.numpy_support"
]

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
Expand Down Expand Up @@ -321,3 +348,8 @@
# If true, do not generate a @detailmenu in the "Top" node's menu.
# texinfo_no_detailmenu = False
autodoc_member_order = "bysource"


# -- MathJax configuration -------------------------------------------------
# This ensures that math formulae render correctly on hosted sites like GitHub Pages
mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
Loading