Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit aca77bf

Browse files
committed
Some documentation improvements and refactoring
1 parent 8bac32e commit aca77bf

File tree

4 files changed

+42
-37
lines changed

4 files changed

+42
-37
lines changed

docs/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Building the documentation
2+
3+
Make sure you have `Sphinx` and `sphinxcontrib-napoleon` packages installed:
4+
5+
```
6+
pip install Sphinx sphinxcontrib-napoleon
7+
```
8+
9+
Then just run
10+
11+
```
12+
make html
13+
```
14+
15+
Documentation will be built in `build/html` directory. Other output formats are also available; run `make` without arguments to see the options.

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Testgres documentation
33
======================
44

5-
Testgres is a PostgreSQL testing utility
5+
Testgres is a PostgreSQL testing framework.
66

77
Installation
88
============

docs/source/modules.rst

-7
This file was deleted.

docs/source/testgres.rst

+26-29
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,104 @@
11
testgres package
22
================
33

4-
Submodules
5-
----------
6-
7-
testgres.api module
8-
-------------------
4+
testgres.api
5+
------------
96

107
.. automodule:: testgres.api
118
:members:
129
:undoc-members:
1310
:show-inheritance:
1411

15-
testgres.backup module
16-
----------------------
12+
testgres.backup
13+
---------------
1714

1815
.. automodule:: testgres.backup
1916
:members:
2017
:undoc-members:
2118
:show-inheritance:
2219

23-
testgres.cache module
24-
---------------------
20+
testgres.cache
21+
--------------
2522

2623
.. automodule:: testgres.cache
2724
:members:
2825
:undoc-members:
2926
:show-inheritance:
3027

31-
testgres.config module
32-
----------------------
28+
testgres.config
29+
---------------
3330

3431
.. automodule:: testgres.config
3532
:members:
3633
:undoc-members:
3734
:show-inheritance:
3835

39-
testgres.connection module
40-
--------------------------
36+
testgres.connection
37+
-------------------
4138

4239
.. automodule:: testgres.connection
4340
:members:
4441
:undoc-members:
4542
:show-inheritance:
4643

47-
testgres.consts module
48-
----------------------
44+
testgres.consts
45+
---------------
4946

5047
.. automodule:: testgres.consts
5148
:members:
5249
:undoc-members:
5350
:show-inheritance:
5451

55-
testgres.decorators module
56-
--------------------------
52+
testgres.decorators
53+
-------------------
5754

5855
.. automodule:: testgres.decorators
5956
:members:
6057
:undoc-members:
6158
:show-inheritance:
6259

63-
testgres.defaults module
64-
------------------------
60+
testgres.defaults
61+
-----------------
6562

6663
.. automodule:: testgres.defaults
6764
:members:
6865
:undoc-members:
6966
:show-inheritance:
7067

71-
testgres.enums module
72-
---------------------
68+
testgres.enums
69+
--------------
7370

7471
.. automodule:: testgres.enums
7572
:members:
7673
:undoc-members:
7774
:show-inheritance:
7875

79-
testgres.exceptions module
80-
--------------------------
76+
testgres.exceptions
77+
-------------------
8178

8279
.. automodule:: testgres.exceptions
8380
:members:
8481
:undoc-members:
8582
:show-inheritance:
8683

87-
testgres.logger module
88-
----------------------
84+
testgres.logger
85+
---------------
8986

9087
.. automodule:: testgres.logger
9188
:members:
9289
:undoc-members:
9390
:show-inheritance:
9491

95-
testgres.node module
96-
--------------------
92+
testgres.node
93+
-------------
9794

9895
.. automodule:: testgres.node
9996
:members:
10097
:undoc-members:
10198
:show-inheritance:
10299

103-
testgres.utils module
104-
---------------------
100+
testgres.utils
101+
--------------
105102

106103
.. automodule:: testgres.utils
107104
:members:

0 commit comments

Comments
 (0)