Skip to content

Commit

Permalink
Fixes for external doc build.
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonyl committed Jul 13, 2023
1 parent ba7936e commit c095671
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme
pip install six pypac requests
pip install -e .
- name: Sphinx build
run: |
sphinx-build docs _build
Expand Down
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"fmeobjects": ("https://docs.safe.com/fme/html/fmepython/", None),
"requests": ("https://requests.readthedocs.io/en/latest/", None),
}

autodoc_default_options = {
"special-members": "__init__",
"show-inheritance": True,
}
autodoc_mock_imports = ["fme", "fmeobjects", "fmewebservices", "pluginbuilder"]
1 change: 0 additions & 1 deletion docs/fmetools/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ fmetools API reference
These components are not documented here and may change without notice.

.. module:: fmetools
:members:

.. toctree::
:maxdepth: 2
Expand Down
2 changes: 1 addition & 1 deletion src/fmetools/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def has_support_for(self, support_type: int) -> bool:
Overrides the default implementation to report support for Bulk Mode.
:returns: True if ``support_type`` is :data:`fmeobjects.FME_SUPPORT_FEATURE_TABLE_SHIM`.
See :meth:`FMEBaseTransformer.has_support_for` for more details.
See :meth:`FMEBaseTransformer.has_support_for` for more details.
"""
if support_type == FME_SUPPORT_FEATURE_TABLE_SHIM:
return True
Expand Down

0 comments on commit c095671

Please sign in to comment.