Skip to content

Commit

Permalink
Fix simulate client docs (#2749) (#2752)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 20, 2025
1 parent bc44f1a commit b139828
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ python:

sphinx:
configuration: docs/sphinx/conf.py
fail_on_warning: true
2 changes: 1 addition & 1 deletion docs/sphinx/api/simulate.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _snapshot-lifecycle-management:
.. _simulate:

Simulate
--------
Expand Down
2 changes: 2 additions & 0 deletions elasticsearch/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
)
from ._sync.client.security import SecurityClient as SecurityClient # noqa: F401
from ._sync.client.shutdown import ShutdownClient as ShutdownClient # noqa: F401
from ._sync.client.simulate import SimulateClient as SimulateClient # noqa: F401
from ._sync.client.slm import SlmClient as SlmClient # noqa: F401
from ._sync.client.snapshot import SnapshotClient as SnapshotClient # noqa: F401
from ._sync.client.sql import SqlClient as SqlClient # noqa: F401
Expand Down Expand Up @@ -107,6 +108,7 @@
"SearchableSnapshotsClient",
"SecurityClient",
"ShutdownClient",
"SimulateClient",
"SlmClient",
"SnapshotClient",
"SqlClient",
Expand Down
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,6 @@ def lint(session):
@nox.session()
def docs(session):
session.install(".[docs]")
session.run("sphinx-build", "docs/sphinx/", "docs/sphinx/_build", "-b", "html")
session.run(
"sphinx-build", "-W", "docs/sphinx/", "docs/sphinx/_build", "-b", "html"
)

0 comments on commit b139828

Please sign in to comment.