Skip to content

Commit 3c3060f

Browse files
authored
Merge pull request #59 from josh5276/#33-rtd-documentation
#33 rtd documentation
2 parents e9bc79c + ca2a51e commit 3c3060f

26 files changed

+829
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,6 @@ fabric.properties
286286
.vscode/*
287287

288288
*.code-workspace
289+
290+
## Sphinx Documentation ##
291+
docs/build

.readthedocs.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
version: 2
3+
4+
sphinx:
5+
builder: "html"
6+
configuration: "docs/source/conf.py"
7+
fail_on_warning: false
8+
9+
python:
10+
version: 3.7
11+
install:
12+
- method: "pip"
13+
path: "."
14+
extra_requirements:
15+
- "docs"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A.sync_from(B)
2222
A.sync_to(B)
2323
```
2424

25-
You may wish to peruse the [`diffsync` GitHub topic](https://github.com/topics/diffsync) for examples of projects using this library.
25+
You may wish to peruse the `diffsync` [GitHub topic](https://github.com/topics/diffsync) for examples of projects using this library.
2626

2727
# Getting started
2828

diffsync/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class DiffSyncModel(BaseModel):
3737
This class has several underscore-prefixed class variables that subclasses should set as desired; see below.
3838
3939
NOTE: The groupings _identifiers, _attributes, and _children are mutually exclusive; any given field name can
40-
be included in **at most** one of these three tuples.
40+
be included in **at most** one of these three tuples.
4141
"""
4242

4343
_modelname: ClassVar[str] = "diffsyncmodel"

docs/source/api/diffsync.diff.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
diffsync.diff
2+
=============
3+
4+
.. automodule:: diffsync.diff
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/source/api/diffsync.enum.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
diffsync.enum
2+
=============
3+
4+
.. automodule:: diffsync.enum
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
diffsync.exceptions
2+
===================
3+
4+
.. automodule:: diffsync.exceptions
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
diffsync.helpers
2+
================
3+
4+
.. automodule:: diffsync.helpers
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
diffsync.logging
2+
================
3+
4+
.. automodule:: diffsync.logging
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/source/api/diffsync.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
API Reference
2+
=============
3+
4+
.. automodule:: diffsync
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
8+
9+
10+
.. toctree::
11+
:maxdepth: 4
12+
13+
diffsync.diff
14+
diffsync.enum
15+
diffsync.exceptions
16+
diffsync.helpers
17+
diffsync.logging
18+
diffsync.utils

0 commit comments

Comments
 (0)