Skip to content

Commit

Permalink
Documentation improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Aug 24, 2023
1 parent ed20531 commit c13b837
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased](https://github.com/alexdlaird/pyngrok/compare/6.0.0...HEAD)
### Added
- Documentation improvements.
- Test improvements.

## [6.0.0](https://github.com/alexdlaird/pyngrok/compare/5.2.3...6.0.0) - 2023-04-12
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Sphinx
sphinx_rtd_theme
sphinx-notfound-page
Sphinx<7.2
sphinx_rtd_theme<1.4
sphinx-notfound-page<1.0
5 changes: 3 additions & 2 deletions pyngrok/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ class PyngrokConfig:
:var monitor_thread: Whether ``ngrok`` should continue to be monitored (for logs, etc.) after startup
is complete.
:vartype monitor_thread: bool
:var log_event_callback: A callback that will be invoked each time ``ngrok`` emits a log. ``monitor_thread``
must be set to ``True`` or the function will stop being called after ``ngrok`` finishes starting.
:var log_event_callback: A callback that will be invoked each time ``ngrok`` emits a log. The function should take
one argument of type :py:class:`str`. ``monitor_thread`` must be set to ``True`` or the function will stop being called
after ``ngrok`` finishes starting.
:vartype log_event_callback: types.FunctionType
:var startup_timeout: The max number of seconds to wait for ``ngrok`` to start before timing out.
:vartype startup_timeout: int
Expand Down

0 comments on commit c13b837

Please sign in to comment.