Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 717fa49

Browse files
authored
Add api documentation to the doc tree (#88)
1 parent 95bf4e0 commit 717fa49

35 files changed

Lines changed: 172 additions & 452 deletions

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ python:
33
- '3.6'
44

55
install:
6-
- pip install --upgrade sphinx
6+
- pip install --upgrade nox-automation
77

88
script:
9-
- ./scripts/update_docs.sh
9+
- nox -s docs
1010
- touch docs/.nojekyll
1111

1212
branches:

docs/conf.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@
9797
# further. For a list of options available for each theme, see the
9898
# documentation.
9999
#
100-
# html_theme_options = {}
100+
html_theme_options = {
101+
'sidebar_width': '260px',
102+
}
101103

102104
# Add any paths that contain custom static files (such as style sheets) here,
103105
# relative to this directory. They are copied after the builtin static files,
@@ -173,6 +175,3 @@
173175
author, 'OPENCENSUS', 'One line description of project.',
174176
'Miscellaneous'),
175177
]
176-
177-
178-

docs/trace/always_off_sampler.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Sampler - AlwaysOffSampler
2+
==========================
3+
4+
.. automodule:: opencensus.trace.samplers.always_off
5+
:members:
6+
:show-inheritance:

docs/trace/always_on_sampler.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Sampler - AlwaysOnSampler
2+
=========================
3+
4+
.. automodule:: opencensus.trace.samplers.always_on
5+
:members:
6+
:show-inheritance:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Propagator - BinaryFormatPropagator
2+
===================================
3+
4+
.. automodule:: opencensus.trace.propagation.binary_format
5+
:members:
6+
:show-inheritance:

docs/trace/context_tracer.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Context Tracer
2+
==============
3+
4+
.. automodule:: opencensus.trace.tracer.context_tracer
5+
:members:
6+
:show-inheritance:

docs/trace/execution_context.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Execution Context
2+
=================
3+
4+
.. automodule:: opencensus.trace.execution_context
5+
:members:
6+
:show-inheritance:

docs/trace/file_exporter.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Exporter - File Exporter
2+
========================
3+
4+
.. automodule:: opencensus.trace.exporters.file_exporter
5+
:members:
6+
:show-inheritance:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Propagator - GoogleCloudFormatPropagator
2+
========================================
3+
4+
.. automodule:: opencensus.trace.propagation.google_cloud_format
5+
:members:
6+
:show-inheritance:

docs/trace/logging_exporter.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Exporter - Logging Exporter
2+
===========================
3+
4+
.. automodule:: opencensus.trace.exporters.logging_exporter
5+
:members:
6+
:show-inheritance:

0 commit comments

Comments
 (0)