Skip to content

Commit 0055afe

Browse files
committed
doc fixes
1 parent 98dde3c commit 0055afe

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/serve_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
server = Server()
66
server.watch(
77
'**/*.rst',
8-
shell('cd .. && make html')
8+
shell('make html')
99
)
10-
server.serve(root='../build/html')
10+
server.serve(root='build/html')

docs/src/aragorm/transactions.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
Transactions
33
============
44

5-
Transactions allow multiple queries to be comitted only once successful.
5+
Transactions allow multiple queries to be committed only once successful.
66

77
This is useful for things like migrations, where you can't have it fail in an inbetween state.
88

99
Usage
1010
=====
1111

12-
.. code::python
12+
.. code-block:: python
13+
1314
transaction = Pokemon.Meta.db.transaction()
1415
transaction.add(Trainer.create())
1516
transaction.add(Match.create())

docs/src/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Welcome to Aragorm's documentation!
1717
aragorm/supported-databases
1818
aragorm/tests
1919
aragorm/tuning-postgres
20+
aragorm/transactions
2021

2122
Indices and tables
2223
==================

0 commit comments

Comments
 (0)