File tree Expand file tree Collapse file tree 4 files changed +54
-52
lines changed Expand file tree Collapse file tree 4 files changed +54
-52
lines changed Original file line number Diff line number Diff line change @@ -28,4 +28,4 @@ script:
28
28
- pylint adafruit_pcf8523.py
29
29
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
30
30
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-pcf8523 --library_location .
31
- - sphinx-build -E -W -c docs -b html . _build/html
31
+ - cd docs && sphinx-build -E -W -b html . _build/html
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ temperature compensated alternative, please check out the
27
27
If you need a DS1307 for compatibility reasons, check out our
28
28
`DS1307 RTC breakout <https://www.adafruit.com/products/3296 >`_.
29
29
30
- .. image :: docs/_static/3295-00.jpg
30
+ .. image :: _static/3295-00.jpg
31
+ :alt: PCF8523 Breakout Board
31
32
32
33
Dependencies
33
34
=============
@@ -114,52 +115,3 @@ After the RTC is set, you retrieve the alarm status by reading the
114
115
if rtc.alarm_status:
115
116
print (" wake up!" )
116
117
rtc.alarm_status = False
117
-
118
- Table of Contents
119
- =================
120
-
121
- .. toctree ::
122
- :maxdepth: 4
123
-
124
- self
125
-
126
- .. toctree ::
127
- :caption: Examples
128
-
129
- docs/examples
130
-
131
- .. toctree ::
132
- :caption: API Reference
133
- :maxdepth: 3
134
-
135
- docs/api
136
-
137
-
138
- .. toctree ::
139
- :caption: Tutorials
140
-
141
- Adafruit PCF8523 Real Time Clock <https://learn.adafruit.com/adafruit-pcf8523-real-time-clock?view=all >
142
- Adafruit Adalogger FeatherWing <https://learn.adafruit.com/adafruit-adalogger-featherwing?view=all >
143
-
144
- .. toctree ::
145
- :caption: Related Products
146
-
147
- Adafruit PCF8523 Real Time Clock Breakout <https://www.adafruit.com/product/3295 >
148
- Adafruit Adalogger FeatherWing - RTC + SD <https://www.adafruit.com/product/2922 >
149
-
150
- .. toctree ::
151
- :caption: Other Links
152
-
153
- CircuitPython Reference Documentation <https://circuitpython.readthedocs.io >
154
- CircuitPython Support Forum <https://forums.adafruit.com/viewforum.php?f=60 >
155
- Discord Chat <https://adafru.it/discord >
156
- Adafruit Learning System <https://learn.adafruit.com >
157
- Adafruit Blog <https://blog.adafruit.com >
158
- Adafruit Store <https://www.adafruit.com >
159
-
160
- Indices and tables
161
- ==================
162
-
163
- * :ref: `genindex `
164
- * :ref: `modindex `
165
- * :ref: `search `
Original file line number Diff line number Diff line change 55
55
# source_encoding = 'utf-8-sig'
56
56
57
57
# The master toctree document.
58
- master_doc = 'README '
58
+ master_doc = 'index '
59
59
60
60
# General information about the project.
61
61
project = u'Adafruit\' s PCF8523 RTC Library'
Original file line number Diff line number Diff line change
1
+ .. include :: ../README.rst
2
+
3
+ Table of Contents
4
+ =================
5
+
6
+ .. toctree ::
7
+ :maxdepth: 4
8
+
9
+ self
10
+
11
+ .. toctree ::
12
+ :caption: Examples
13
+
14
+ examples
15
+
16
+ .. toctree ::
17
+ :caption: API Reference
18
+ :maxdepth: 3
19
+
20
+ api
21
+
22
+
23
+ .. toctree ::
24
+ :caption: Tutorials
25
+
26
+ Adafruit PCF8523 Real Time Clock <https://learn.adafruit.com/adafruit-pcf8523-real-time-clock?view=all >
27
+ Adafruit Adalogger FeatherWing <https://learn.adafruit.com/adafruit-adalogger-featherwing?view=all >
28
+
29
+ .. toctree ::
30
+ :caption: Related Products
31
+
32
+ Adafruit PCF8523 Real Time Clock Breakout <https://www.adafruit.com/product/3295 >
33
+ Adafruit Adalogger FeatherWing - RTC + SD <https://www.adafruit.com/product/2922 >
34
+
35
+ .. toctree ::
36
+ :caption: Other Links
37
+
38
+ CircuitPython Reference Documentation <https://circuitpython.readthedocs.io >
39
+ CircuitPython Support Forum <https://forums.adafruit.com/viewforum.php?f=60 >
40
+ Discord Chat <https://adafru.it/discord >
41
+ Adafruit Learning System <https://learn.adafruit.com >
42
+ Adafruit Blog <https://blog.adafruit.com >
43
+ Adafruit Store <https://www.adafruit.com >
44
+
45
+ Indices and tables
46
+ ==================
47
+
48
+ * :ref: `genindex `
49
+ * :ref: `modindex `
50
+ * :ref: `search `
You can’t perform that action at this time.
0 commit comments