Skip to content

Commit

Permalink
docs: standard usage format across ext packages (#534)
Browse files Browse the repository at this point in the history
The rendered documentation is a little out of sync in a couple areas.
Resolving those.

- Adding an API subsection footer to those that don't have it
- Removing installation instructions in the readme
- Referencing automodule vs a direct include of the readme
  • Loading branch information
toumorokoshi authored Mar 30, 2020
1 parent a137bc2 commit 28ee03f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
7 changes: 2 additions & 5 deletions docs/ext/zipkin/zipkin.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.. include:: ../../../ext/opentelemetry-ext-zipkin/README.rst


Module contents
---------------
Opentelemetry Zipkin Exporter
=============================

.. automodule:: opentelemetry.ext.zipkin
:members:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
While testing this library, the aforementioned imprecisions were observed
to be of *less than a microsecond*.
API
---
.. _Floating Point Arithmetic\\: Issues and Limitations:
https://docs.python.org/3/tutorial/floatingpoint.html
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def hello():
application = get_wsgi_application()
application = OpenTelemetryMiddleware(application)
API
---
"""

import functools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
"""
This library allows to export tracing data to `Zipkin <https://zipkin.io/>`_.
Installation
------------
::
pip install opentelemetry-ext-zipkin
Usage
-----
Expand Down

0 comments on commit 28ee03f

Please sign in to comment.