Skip to content

Commit f1eeb17

Browse files
committed
Remove semicolons in output docs
Also fixup formatting
1 parent 1bd2801 commit f1eeb17

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docsrc/users-guide/outputs.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,23 @@ You may notice CmdStanPy can produce a lot of output when it is running:
6161
fit = model.sample(data=data_file, show_progress=False)
6262
6363
This output is managed through the built-in :mod:`logging` module. For
64-
convenience, CmdStanPy provides the module-level `cmdstanpy.enable_logging()`
65-
and `cmdstanpy.disable_logging()` functions to simplify logging management.
64+
convenience, CmdStanPy provides the module-level :meth:`cmdstanpy.enable_logging()`
65+
and :meth:`cmdstanpy.disable_logging()` functions to simplify logging management.
6666

6767
For example, it can be disabled entirely:
6868

6969
.. ipython:: python
7070
7171
import cmdstanpy
72-
cmdstanpy.disable_logging();
72+
cmdstanpy.disable_logging()
7373
# look, no output!
7474
fit = model.sample(data=data_file, show_progress=False)
7575
76-
We can re-enable this by calling `enable_logging()`:
76+
We can re-enable this by calling ``enable_logging()``:
7777

7878
.. ipython:: python
7979
80-
cmdstanpy.enable_logging();
80+
cmdstanpy.enable_logging()
8181
fit = model.sample(data=data_file, show_progress=False)
8282
8383
@@ -89,7 +89,7 @@ These functions also work as context managers for more local control:
8989
fit = model.sample(data=data_file, show_progress=False)
9090
9191
92-
For more fine-grained control, one can interact with the underlying `logging`
92+
For more fine-grained control, one can interact with the underlying ``logging``
9393
library directly. For example, the following code installs a custom handler
9494
that sends all logs (including the ``DEBUG`` logs, which are hidden by
9595
default), to a file.

0 commit comments

Comments
 (0)