Skip to content

Commit e0dfe57

Browse files
committed
add docs
1 parent 0353b22 commit e0dfe57

5 files changed

Lines changed: 17 additions & 19 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Usage Example
6969
=============
7070

7171
To obtain an OpenWeatherMaps API key, sign up for a free account at `OpenWeatherMaps <https://openweathermap.org/>`_ and generate an API key. Then, in the root of this
72-
project, add a file called `settings.toml` with the following information:
72+
project, add a file called "settings.toml" with the following information:
7373

7474
openweather_token = "my_api_key"
7575
openweather_location = "New York, US"

docs/api.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
.. If your library file(s) are nested in a directory (e.g. /adafruit_foo/foo.py)
55
.. use this format as the module name: "adafruit_foo.foo"
66
7-
.. automodule:: circuitpython_fake_bme280
7+
API
8+
=================
9+
10+
.. automodule:: fake_bme280
811
:members:

docs/conf.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
master_doc = "index"
5050

5151
# General information about the project.
52-
project = "CircuitPython CircuitPython Fake BME280 Library"
52+
project = "CircuitPython Fake BME280 Library"
5353
creation_year = "2024"
5454
current_year = str(datetime.datetime.now().year)
5555
year_duration = (
@@ -129,7 +129,7 @@
129129
html_favicon = "_static/favicon.ico"
130130

131131
# Output file base name for HTML help builder.
132-
htmlhelp_basename = "CircuitPython_Circuitpython_fake_bme280_Librarydoc"
132+
htmlhelp_basename = "Circuitpython_fake_bme280_Librarydoc"
133133

134134
# -- Options for LaTeX output ---------------------------------------------
135135

@@ -150,8 +150,8 @@
150150
latex_documents = [
151151
(
152152
master_doc,
153-
"CircuitPython_CircuitPython_Fake_BME280_Library.tex",
154-
"CircuitPython CircuitPython Fake BME280 Library Documentation",
153+
"CircuitPython_Fake_BME280_Library.tex",
154+
"CircuitPython Fake BME280 Library Documentation",
155155
author,
156156
"manual",
157157
),
@@ -164,8 +164,8 @@
164164
man_pages = [
165165
(
166166
master_doc,
167-
"CircuitPython_CircuitPython_Fake_BME280_Library",
168-
"CircuitPython CircuitPython Fake BME280 Library Documentation",
167+
"CircuitPython_Fake_BME280_Library",
168+
"CircuitPython Fake BME280 Library Documentation",
169169
[author],
170170
1,
171171
),
@@ -179,10 +179,10 @@
179179
texinfo_documents = [
180180
(
181181
master_doc,
182-
"CircuitPython_CircuitPython_Fake_BME280_Library",
183-
"CircuitPython CircuitPython Fake BME280 Library Documentation",
182+
"CircuitPython_Fake_BME280_Library",
183+
"CircuitPython Fake BME280 Library Documentation",
184184
author,
185-
"CircuitPython_CircuitPython_Fake_BME280_Library",
185+
"CircuitPython_Fake_BME280_Library",
186186
"One line description of project.",
187187
"Miscellaneous",
188188
),

docs/examples.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Simple test
33

44
Ensure your device works with this simple test.
55

6-
.. literalinclude:: ../examples/circuitpython_fake_bme280_simpletest.py
7-
:caption: examples/circuitpython_fake_bme280_simpletest.py
6+
.. literalinclude:: ../examples/fake_bme280_simpletest.py
7+
:caption: examples/fake_bme280_simpletest.py
88
:linenos:

docs/index.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,14 @@ Table of Contents
2424
.. toctree::
2525
:caption: Tutorials
2626

27-
.. todo:: Add any Learn guide links here. If there are none, then simply delete this todo and leave
28-
the toctree above for use later.
29-
3027
.. toctree::
3128
:caption: Related Products
3229

33-
.. todo:: Add any product links here. If there are none, then simply delete this todo and leave
34-
the toctree above for use later.
3530

3631
.. toctree::
3732
:caption: Other Links
3833

39-
Download from GitHub <https://github.com/brentru/CircuitPython_CircuitPython_Fake_BME280/releases/latest>
34+
Download from GitHub <https://github.com/adafruit/Adafruit_CircuitPython_Fake_BME280/releases/latest>
4035
Download Library Bundle <https://circuitpython.org/libraries>
4136
CircuitPython Reference Documentation <https://docs.circuitpython.org>
4237
CircuitPython Support Forum <https://forums.adafruit.com/viewforum.php?f=60>

0 commit comments

Comments
 (0)