Skip to content

Commit d74249b

Browse files
authored
Merge pull request #18 from MrClock8163/move-protocols
Move protocol interfaces
2 parents 6cc6ace + 4dad254 commit d74249b

38 files changed

+590
-557
lines changed

docs/api/index.rst

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,3 @@ geocompy
22
========
33

44
.. module:: geocompy
5-
6-
.. autoclass:: GeoComProtocol
7-
:members:
8-
:class-doc-from: both
9-
10-
.. autoclass:: GeoComSubsystem
11-
:members:
12-
:class-doc-from: both
13-
14-
.. autoclass:: GeoComResponse
15-
:members:
16-
:class-doc-from: both
17-
18-
.. autoclass:: GeoComReturnCode
19-
:members:
20-
:class-doc-from: both
21-
22-
.. autoclass:: GsiOnlineProtocol
23-
:members:
24-
:class-doc-from: both
25-
26-
.. autoclass:: GsiOnlineResponse
27-
:members:
28-
:class-doc-from: both

docs/api/protocols.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
geocompy.protocols
2+
==================
3+
4+
.. module:: geocompy.protocols
5+
6+
.. autoclass:: GeoComProtocol
7+
:members:
8+
:class-doc-from: both
9+
10+
.. autoclass:: GeoComSubsystem
11+
:members:
12+
:class-doc-from: both
13+
14+
.. autoclass:: GeoComResponse
15+
:members:
16+
:class-doc-from: both
17+
18+
.. autoclass:: GeoComReturnCode
19+
:members:
20+
:class-doc-from: both
21+
22+
.. autoclass:: GsiOnlineProtocol
23+
:members:
24+
:class-doc-from: both
25+
26+
.. autoclass:: GsiOnlineSubsystem
27+
:members:
28+
:class-doc-from: both
29+
30+
.. autoclass:: GsiOnlineResponse
31+
:members:
32+
:class-doc-from: both

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@
125125
napoleon_google_docstring = False
126126
napoleon_use_ivar = True
127127
napoleon_type_aliases = {
128-
"GeoComResponse": "~geocompy.GeoComResponse",
129-
"GsiOnlineResponse": "~geocompy.GsiOnlineResponse",
128+
"GeoComResponse": "~geocompy.protocols.GeoComResponse",
129+
"GsiOnlineResponse": "~geocompy.protocols.GsiOnlineResponse",
130130
"datetime": "~datetime.datetime"
131131
}
132132

@@ -140,7 +140,7 @@
140140
nitpick_ignore = {
141141
("py:class", "optional"),
142142
("py:param", "_E"),
143-
("py:param", "_T"),
143+
("py:param", "_T")
144144
}
145145
nitpick_ignore_regex = {
146146
("py:obj", r"[a-zA-Z]{3}\.\w+")

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Content
3636
api/index
3737
api/data
3838
api/communication
39+
api/protocols
3940
api/dna/index
4041
api/tps1200p/index
4142
api/vivatps/index

docs/latexindex.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ API documentation
2121
api/index
2222
api/data
2323
api/communication
24+
api/protocols
2425
api/dna/index
2526
api/tps1200p/index
2627
api/vivatps/index

0 commit comments

Comments
 (0)