@@ -39,7 +39,8 @@ we need to add it to the list of extensions in Sphinx's ``conf.py`` file::
3939For Python, there is only one required configuration option that we need to set.
4040:confval: `autoapi_dirs ` tells AutoAPI which directories contain
4141the source code to document.
42- This can either be absolute, or relative to Sphinx's conf.py file.
42+ These can either be absolute, or relative to the source directory of
43+ your documentation files.
4344For example, say we have a package and we have used ``sphinx-quickstart ``
4445to create a Sphinx project in a ``docs/ `` folder.
4546The directory structure might look like this:
@@ -131,7 +132,8 @@ For Go, this is::
131132
132133The second configuration option is :confval: `autoapi_dirs `,
133134which tells AutoAPI which directories contain the source code to document.
134- These can either be absolute, or relative to Sphinx's `conf.py ` file.
135+ These can either be absolute, or relative to the source directory of
136+ your documentation files.
135137So if your documentation was inside a ``docs/ `` directory
136138and your source code is in an ``example `` directory one level up,
137139you would configure :confval: `autoapi_dirs ` to be::
@@ -167,7 +169,8 @@ For Javascript, this is::
167169
168170The second configuration option is :confval: `autoapi_dirs `,
169171which tells AutoAPI which directories contain the source code to document.
170- These can either be absolute, or relative to Sphinx's `conf.py ` file.
172+ These can either be absolute, or relative to the source directory of
173+ your documentation files.
171174So if your documentation was inside a ``docs/ `` directory
172175and your source code is in an ``example `` directory one level up,
173176you would configure :confval: `autoapi_dirs ` to be::
@@ -196,7 +199,7 @@ By default, ``docfx`` will output metadata files into the ``_api`` path.
196199You can configure which path to output files into by setting the path in your
197200`docfx configuration file <https://dotnet.github.io/docfx/tutorial/docfx.exe_user_manual.html#3-docfx-json-format >`_
198201in your project repository.
199- For example, if your `` conf.py `` file is located inside a ``docs/ `` directory:
202+ For example, if your documentation source files are located inside a ``docs/ `` directory:
200203
201204.. code :: json
202205
@@ -223,7 +226,8 @@ For .NET, this is::
223226
224227The second configuration option is :confval: `autoapi_dirs `,
225228which tells AutoAPI which directories contain the source code to document.
226- These can either be absolute, or relative to Sphinx's `conf.py ` file.
229+ These can either be absolute, or relative to the source directory of
230+ your documentation files.
227231So if your documentation was inside a ``docs/ `` directory
228232and your source code is in an ``example `` directory one level up,
229233you would configure :confval: `autoapi_dirs ` to be::
0 commit comments