Test documentation by DEKHTIARJonathan · Pull Request #511 · tensorlayer/TensorLayer · GitHub
Skip to content

Test documentation#511

Merged
zsdonghao merged 36 commits into
masterfrom
test_documentation
Apr 21, 2018
Merged

Test documentation#511
zsdonghao merged 36 commits into
masterfrom
test_documentation

Conversation

@DEKHTIARJonathan

Copy link
Copy Markdown
Member

This PR add a unittest for the documentation.

Warning before merging

Wait for PR #510 and #509 to be merged upfront.

Comment thread tensorlayer/activation.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we keep the code reference here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no opinion on this, not my code.

Comment thread docs/index.rst
modules/activation
modules/models
modules/distributed
modules/db

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luomai should we release db now?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't found how to deactivate Sphinx from trying to build it. I had an error, maybe there is a way ;)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are currently refactoring the DB module.To avoid this error, a possible way is to keep the DB doc and highlight this module is under construction.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was actually very nicely done. We can hardly make it any clearer

image

image

@tensorlayer tensorlayer deleted a comment Apr 19, 2018
@tensorlayer tensorlayer deleted a comment Apr 19, 2018
@tensorlayer tensorlayer deleted a comment Apr 19, 2018
@luomai luomai changed the title Test documentation [WIP] Test documentation Apr 19, 2018
@tensorlayer tensorlayer deleted a comment Apr 19, 2018
@tensorlayer tensorlayer deleted a comment Apr 19, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
DEKHTIARJonathan added 3 commits April 21, 2018 02:51
# Conflicts:
#	example/tutorial_binarynet_cifar10_tfrecord.py
#	example/tutorial_cifar10.py
#	example/tutorial_cifar10_tfrecord.py
#	example/tutorial_dorefanet_cifar10_tfrecord.py
#	example/tutorial_generate_text.py
#	example/tutorial_mnist.py
#	example/tutorial_mnist_float16.py
#	example/tutorial_ptb_lstm.py
#	example/tutorial_ptb_lstm_state_is_tuple.py
#	example/tutorial_ternaryweight_cifar10_tfrecord.py
#	example/tutorial_vgg16.py
#	example/tutorial_vgg19.py
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
# Conflicts:
#	example/tutorial_binarynet_cifar10_tfrecord.py
#	example/tutorial_dorefanet_cifar10_tfrecord.py
#	example/tutorial_generate_text.py
#	example/tutorial_mnist.py
#	example/tutorial_mnist_float16.py
#	example/tutorial_ptb_lstm_state_is_tuple.py
#	example/tutorial_ternaryweight_cifar10_tfrecord.py
@DEKHTIARJonathan

Copy link
Copy Markdown
Member Author

@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@tensorlayer tensorlayer deleted a comment Apr 21, 2018
@luomai luomai changed the title [WIP] Test documentation Test documentation Apr 21, 2018
@zsdonghao zsdonghao merged commit f4a0572 into master Apr 21, 2018
@zsdonghao zsdonghao deleted the test_documentation branch April 21, 2018 12:01
luomai pushed a commit that referenced this pull request Nov 21, 2018
* Activation Cleaning Docstring Test

* Requirements Pinned with range to insure tested versions are used. Range are used to prevent updating requirements all the time.

* setup.cfg file added with PEP8 configuration

* activation.py refactored

* docstring fixed - ready for documentation unittest

* Yapf correction for max_line_length: 120

* test yapf refactored

* test documentation added

* Missing requirement added: sphinx

* Allow test on documentation to pass on warning

* Fix travis dependencies install

* Travis install script fixed

* Travis install command fixed

* Requirements conflict solved

* Yapf Style modified and merged in file "setup.cfg"

* Yapf Confiuguration Updated

* Code Refactored with new YAPF formating style

* Code Refactored with new YAPF formating style

* Code Refactored with new YAPF formating style

* shorten codes

* Various Cleaning

* Trailing Slashes removed

* Test Recurrent Fixed

* Line Width Fix

* docs requirements updated

* fix example docs style

* Codacy Issue Fixed

* Merge Errors fixed

* YAPF Style Applied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants