Skip to content

Commit b4ed4df

Browse files
committed
Fix indentation in docs/faq.rst
1 parent e923c0c commit b4ed4df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/faq.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ My project isn't building with autodoc
66

77
First, you should check out the Builds tab of your project. That records all of the build attempts that RTD has made to build your project. If you see ``ImportError`` messages for custom Python modules, you should enable the virtualenv feature in the Admin page of your project, which will install your project into a virtualenv, and allow you to specify a ``requirements.txt`` file for your project.
88

9-
If you are still seeing errors because of C library dependencies, please see the below section about that.
9+
If you are still seeing errors because of C library dependencies, please see :ref:`mock-c-extensions`.
1010

1111
How do I change my slug (the URL your docs are served at)?
1212
----------------------------------------------------------
@@ -56,6 +56,8 @@ environment, and will be set to ``True`` when building on RTD::
5656
Woo
5757
{% endif %}
5858

59+
.. _mock-c-extensions:
60+
5961
I get import errors on libraries that depend on C modules
6062
---------------------------------------------------------
6163

@@ -72,7 +74,7 @@ You can mock out the imports for these modules in your ``conf.py`` with the foll
7274
class Mock(MagicMock):
7375
@classmethod
7476
def __getattr__(cls, name):
75-
return MagicMock()
77+
return MagicMock()
7678

7779
MOCK_MODULES = ['pygtk', 'gtk', 'gobject', 'argparse', 'numpy', 'pandas']
7880
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

0 commit comments

Comments
 (0)