-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS][TEST] Expand docs to tests and fix some tests
- Loading branch information
Showing
16 changed files
with
217 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,12 @@ example | |
:maxdepth: 2 | ||
|
||
example/example | ||
|
||
|
||
API | ||
--- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
tests/api/api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
boilerplate | ||
=========== | ||
|
||
.. automodule:: tests.api.boilerplate | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
API directory | ||
============= | ||
|
||
Requirements | ||
------------ | ||
|
||
|
||
Usage | ||
----- | ||
|
||
|
||
Content | ||
------- | ||
|
||
test_decrypt_encrypt_integrity_check.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_decrypt_encrypt_integrity_check | ||
:members: | ||
|
||
test_imagegen_samplers.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_imagegen_samplers | ||
:members: | ||
|
||
test_sync_gen.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_sync_gen | ||
:members: | ||
|
||
test_textgen_presets.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_textgen_presets | ||
:members: | ||
|
||
test_textgen_sanity.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_textgen_sanity | ||
:members: | ||
|
||
|
||
Reference | ||
--------- | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
api.boilerplate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
""" | ||
:class:`NovelAI_API` | ||
:class:`NovelAIError` | ||
""" | ||
|
||
from novelai_api.NovelAI_API import NovelAIAPI | ||
from novelai_api.NovelAIError import NovelAIError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.