-
Notifications
You must be signed in to change notification settings - Fork 56
Revamp docs #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Revamp docs #53
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
230c781
initial draft of more human-navigable docs
mattsb42-aws 747915f
add internal docs to build
mattsb42-aws 37d0795
removing accidentally auto-generated files
mattsb42-aws 3d1fd12
add sphinx viewcode extension to add links in rendered docs to view t…
mattsb42-aws 4f1c345
* update doc8 testenv commands to cover all new docs rst
mattsb42-aws dae89f6
add initial changelog stub
mattsb42-aws e858661
normalize header levels
mattsb42-aws be5eec8
add internal namespace warning to all modules inside internal namespace
mattsb42-aws 2d21ad7
docs minor cleanup
mattsb42-aws f787291
update package metadata in setup.py
mattsb42-aws 199742c
add CryptoConfig to rendered docs
mattsb42-aws File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
/.coverage* | ||
/build | ||
/doc/generated/* | ||
/doc/lib/generated/* | ||
/runpy | ||
__pycache__ | ||
build | ||
|
This file contains hidden or 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 @@ | ||
********* | ||
Changelog | ||
********* | ||
|
||
1.x.x -- 2018-xx-xx | ||
=================== | ||
* Initial public release |
This file contains hidden or 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,3 @@ | ||
##################################### | ||
DynamoDB Encryption Client for Python | ||
##################################### |
This file contains hidden or 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 hidden or 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,53 +1,41 @@ | ||
.. include:: ../README.rst | ||
|
||
******* | ||
Modules | ||
******* | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
|
||
.. Add/replace module names you want documented here | ||
dynamodb_encryption_sdk | ||
dynamodb_encryption_sdk.exceptions | ||
dynamodb_encryption_sdk.identifiers | ||
dynamodb_encryption_sdk.structures | ||
dynamodb_encryption_sdk.transform | ||
dynamodb_encryption_sdk.delegated_keys | ||
dynamodb_encryption_sdk.delegated_keys.jce | ||
dynamodb_encryption_sdk.encrypted | ||
dynamodb_encryption_sdk.encrypted.client | ||
dynamodb_encryption_sdk.encrypted.item | ||
dynamodb_encryption_sdk.encrypted.resource | ||
dynamodb_encryption_sdk.encrypted.table | ||
dynamodb_encryption_sdk.material_providers | ||
dynamodb_encryption_sdk.material_providers.aws_kms | ||
dynamodb_encryption_sdk.material_providers.most_recent | ||
dynamodb_encryption_sdk.material_providers.static | ||
dynamodb_encryption_sdk.material_providers.wrapped | ||
dynamodb_encryption_sdk.material_providers.store | ||
dynamodb_encryption_sdk.material_providers.store.meta | ||
dynamodb_encryption_sdk.materials | ||
dynamodb_encryption_sdk.materials.raw | ||
dynamodb_encryption_sdk.materials.wrapped | ||
dynamodb_encryption_sdk.internal | ||
dynamodb_encryption_sdk.internal.dynamodb_types | ||
dynamodb_encryption_sdk.internal.identifiers | ||
dynamodb_encryption_sdk.internal.str_ops | ||
dynamodb_encryption_sdk.internal.utils | ||
dynamodb_encryption_sdk.internal.validators | ||
dynamodb_encryption_sdk.internal.crypto | ||
dynamodb_encryption_sdk.internal.crypto.authentication | ||
dynamodb_encryption_sdk.internal.crypto.encryption | ||
dynamodb_encryption_sdk.internal.crypto.jce_bridge | ||
dynamodb_encryption_sdk.internal.crypto.jce_bridge.authentication | ||
dynamodb_encryption_sdk.internal.crypto.jce_bridge.encryption | ||
dynamodb_encryption_sdk.internal.crypto.jce_bridge.primitives | ||
dynamodb_encryption_sdk.internal.formatting | ||
dynamodb_encryption_sdk.internal.formatting.material_description | ||
dynamodb_encryption_sdk.internal.formatting.deserialize | ||
dynamodb_encryption_sdk.internal.formatting.deserialize.attribute | ||
dynamodb_encryption_sdk.internal.formatting.serialize | ||
dynamodb_encryption_sdk.internal.formatting.serialize.attribute | ||
API | ||
*** | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Encryption Helpers | ||
|
||
lib/encrypted/config.rst | ||
lib/encrypted/helpers | ||
lib/encrypted/item | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Key Management | ||
|
||
lib/materials_providers/providers | ||
lib/materials_providers/provider_stores | ||
lib/materials/index | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Cryptographic Operators | ||
|
||
lib/delegated_keys/index | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Additional Resources | ||
|
||
lib/tools/index | ||
lib/tools/exceptions | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Informational Only | ||
|
||
lib/internal | ||
|
||
.. include:: ../CHANGELOG.rst |
This file contains hidden or 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,11 @@ | ||
Delegated Keys | ||
============== | ||
|
||
.. toctree:: | ||
|
||
jce | ||
|
||
.. autosummary:: | ||
|
||
dynamodb_encryption_sdk.delegated_keys | ||
dynamodb_encryption_sdk.delegated_keys.jce |
This file contains hidden or 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,4 @@ | ||
JCE Standard Name Delegated Key | ||
------------------------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.delegated_keys.jce |
This file contains hidden or 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,4 @@ | ||
Encrypted Client | ||
---------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.encrypted.client |
This file contains hidden or 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,4 @@ | ||
Cryptographic Configuration | ||
--------------------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.encrypted |
This file contains hidden or 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,14 @@ | ||
Helper Clients | ||
============== | ||
|
||
.. toctree:: | ||
|
||
table | ||
resource | ||
client | ||
|
||
.. autosummary:: | ||
|
||
dynamodb_encryption_sdk.encrypted.table | ||
dynamodb_encryption_sdk.encrypted.resource | ||
dynamodb_encryption_sdk.encrypted.client |
This file contains hidden or 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,4 @@ | ||
Item Encryptor | ||
-------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.encrypted.item |
This file contains hidden or 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,4 @@ | ||
Encrypted Service Resource | ||
-------------------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.encrypted.resource |
This file contains hidden or 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,4 @@ | ||
Encrypted Table Resource | ||
------------------------ | ||
|
||
.. automodule:: dynamodb_encryption_sdk.encrypted.table |
This file contains hidden or 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,28 @@ | ||
Internal Resources | ||
================== | ||
|
||
.. warning:: | ||
|
||
These are provided for informational purposes only. No guarantee is provided on the modules | ||
and APIs described here remaining consistent. Directly reference at your own risk. | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
|
||
dynamodb_encryption_sdk.internal.identifiers | ||
dynamodb_encryption_sdk.internal.str_ops | ||
dynamodb_encryption_sdk.internal.utils | ||
dynamodb_encryption_sdk.internal.validators | ||
dynamodb_encryption_sdk.internal.crypto | ||
dynamodb_encryption_sdk.internal.crypto.authentication | ||
dynamodb_encryption_sdk.internal.crypto.encryption | ||
dynamodb_encryption_sdk.internal.crypto.jce_bridge | ||
dynamodb_encryption_sdk.internal.crypto.jce_bridge.authentication | ||
dynamodb_encryption_sdk.internal.crypto.jce_bridge.encryption | ||
dynamodb_encryption_sdk.internal.crypto.jce_bridge.primitives | ||
dynamodb_encryption_sdk.internal.formatting | ||
dynamodb_encryption_sdk.internal.formatting.material_description | ||
dynamodb_encryption_sdk.internal.formatting.deserialize | ||
dynamodb_encryption_sdk.internal.formatting.deserialize.attribute | ||
dynamodb_encryption_sdk.internal.formatting.serialize | ||
dynamodb_encryption_sdk.internal.formatting.serialize.attribute |
This file contains hidden or 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,13 @@ | ||
Cryptographic Materials | ||
----------------------- | ||
|
||
.. toctree:: | ||
|
||
wrapped | ||
raw | ||
|
||
.. autosummary:: | ||
|
||
dynamodb_encryption_sdk.materials | ||
dynamodb_encryption_sdk.materials.raw | ||
dynamodb_encryption_sdk.materials.wrapped |
This file contains hidden or 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,4 @@ | ||
Raw Cryptographic Materials | ||
--------------------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.materials.raw |
This file contains hidden or 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,4 @@ | ||
Wrapped Cryptographic Materials | ||
------------------------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.materials.wrapped |
This file contains hidden or 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,4 @@ | ||
AWS KMS Provider | ||
---------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.material_providers.aws_kms |
This file contains hidden or 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,4 @@ | ||
MetaStore | ||
--------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.material_providers.store.meta |
This file contains hidden or 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,4 @@ | ||
Most Recent Provider | ||
-------------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.material_providers.most_recent |
This file contains hidden or 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,11 @@ | ||
Provider Stores | ||
=============== | ||
|
||
.. toctree:: | ||
|
||
metastore | ||
|
||
.. autosummary:: | ||
|
||
dynamodb_encryption_sdk.material_providers.store | ||
dynamodb_encryption_sdk.material_providers.store.meta |
This file contains hidden or 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,16 @@ | ||
Cryptographic Materials Providers | ||
================================= | ||
|
||
.. toctree:: | ||
|
||
aws_kms | ||
wrapped | ||
most_recent | ||
static | ||
|
||
.. autosummary:: | ||
|
||
dynamodb_encryption_sdk.material_providers | ||
dynamodb_encryption_sdk.material_providers.wrapped | ||
dynamodb_encryption_sdk.material_providers.most_recent | ||
dynamodb_encryption_sdk.material_providers.static |
This file contains hidden or 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,4 @@ | ||
Static Provider | ||
--------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.material_providers.static |
This file contains hidden or 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,4 @@ | ||
Wrapped Provider | ||
---------------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.material_providers.wrapped |
This file contains hidden or 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,4 @@ | ||
Exceptions | ||
---------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.exceptions |
This file contains hidden or 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,4 @@ | ||
Identifiers | ||
----------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.identifiers |
This file contains hidden or 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,14 @@ | ||
Tools | ||
===== | ||
|
||
.. toctree:: | ||
|
||
identifiers | ||
structures | ||
transform | ||
|
||
.. autosummary:: | ||
|
||
dynamodb_encryption_sdk.identifiers | ||
dynamodb_encryption_sdk.structures | ||
dynamodb_encryption_sdk.transform |
This file contains hidden or 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,4 @@ | ||
Structures | ||
---------- | ||
|
||
.. automodule:: dynamodb_encryption_sdk.structures |
This file contains hidden or 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,4 @@ | ||
Transformers | ||
------------ | ||
|
||
.. automodule:: dynamodb_encryption_sdk.transform |
This file contains hidden or 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,4 +1,4 @@ | ||
"""DynamoDB Encryption SDK.""" | ||
"""DynamoDB Encryption Client for Python.""" | ||
import io | ||
import os | ||
import re | ||
|
@@ -31,12 +31,13 @@ def get_requirements(): | |
version=get_version(), | ||
packages=find_packages('src'), | ||
package_dir={'': 'src'}, | ||
url='http://dynamodb-encryption-sdk.readthedocs.io/en/latest/', | ||
url='https://github.com/awslabs/aws-dynamodb-encryption-python', | ||
author='Amazon Web Services', | ||
author_email='[email protected]', | ||
maintainer='Amazon Web Services', | ||
description='DynamoDB Encryption Client for Python', | ||
long_description=read('README.rst'), | ||
keywords='aws-encryption-sdk aws kms encryption dynamodb', | ||
keywords='dynamodb-encryption-sdk aws kms encryption dynamodb', | ||
data_files=[ | ||
'README.rst', | ||
'CHANGELOG.rst', | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to put an actual version and today's date there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#41, but yeah, I can add that into this PR since we know that date now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about it, since we need to update the version too, I think I'll keep that separate.