Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upkeras docs: long <code> lines need to be rearranged to short lines to be easier to read #13701
Labels
Comments
JustinL42
added a commit
to JustinL42/keras
that referenced
this issue
Jan 28, 2020
…ltiple lines in the docs. The arguments are listed on the initial line and each keyword argument is then printed on its own indented line (keras-team#13701).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some lines in the code block of the keras docs is too long, the result of which is, there will be a horizonal scroll bar at the bottom of the code block. That is hard to read. The long lines should be rearranged to multiple short lines to improve readibility.
Example:

The docs for the SimpleRNN class (https://keras.io/layers/recurrent/#simplernn). The initializer of SimpleRNN has many arguments, but the docs put them in just a single long line. That makes it very hard to read.
The single long line should be rearranged to multiple short lines, just like what was did in the source code for the init function of SimpleRNN.