Skip to content
Snippets Groups Projects
Commit fe2b8ef8 authored by ojs1g14's avatar ojs1g14
Browse files

Merge branch 'RESOLVE_RTD' into 'master'

Ensure local building of docs

See merge request !15
parents d75d2810 24366439
No related branches found
No related tags found
No related merge requests found
......@@ -241,5 +241,11 @@ Solution:
This warning occured despite cython\_ext not being included. This occurred due to human error - I removed the 'x' from the '.pyx' when calling the exclude path in apidocs. Adding this solved the issue.
\subsection{Hosting}
At this point the documentation render correctly on a local machine. To set set up hosting, first create a readthedocs (RTD) account import the project. The repository in question must be set to 'public' - this can be configured in the settings on gitlab.
Building documentation at this stage correctly creates most of the pages but not the module index - unusual because no errors occur on the build process.
\end{document}
......@@ -33,14 +33,14 @@ sys.path.insert(0, os.path.abspath('..'))
# 'matplotlib.backends.backend_qt5agg.FigureCanvasQTAgg']
#sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
autodoc_mock_imports = ['numpy', 'scipy', 'matplotlib', 'vtk', 'vtk.util',
'PyQt5.QtCore', 'PyQt5.QtGui', 'Cython.Build.cythonize',
'PyQt5.Widgets', 'scipy.optimize', 'vtk.qt',
'mpl_toolkits.mplot3d', 'distutils.core.setup', 'struct',
'numpy.linalg', 'vtk.qt.QVTKRenderWindowInteractor', 'pandas',
'copy', 'scipy.spatial', 'scipy.special', 'scipy.interpolate',
'matplotlib.figure',
'matplotlib.backends.backend_qt5agg.FigureCanvasQTAgg']
#autodoc_mock_imports = ['numpy', 'scipy', 'matplotlib', 'vtk', 'vtk.util',
# 'PyQt5.QtCore', 'PyQt5.QtGui', 'Cython.Build.cythonize',
# 'PyQt5.Widgets', 'scipy.optimize', 'vtk.qt',
# 'mpl_toolkits.mplot3d', 'distutils.core.setup', 'struct',
# 'numpy.linalg', 'vtk.qt.QVTKRenderWindowInteractor', 'pandas',
# 'copy', 'scipy.spatial', 'scipy.special', 'scipy.interpolate',
# 'matplotlib.figure',
# 'matplotlib.backends.backend_qt5agg.FigureCanvasQTAgg']
# -- Project information -----------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment