-
Notifications
You must be signed in to change notification settings - Fork 229
[MRG][DOC] Fixes almost all warnings in the docs #338
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
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8679fdc
Update API names, unuse depretaed html4
8ea2c52
Fixes a lot of warning. Add Methods doctree
99ce4c5
More warnings solved
2ec95f7
Fix docs dependencies
0920e07
Merge remote-tracking branch 'upstream/master' into fix-docs
fc58411
New style for Example Code and References
1147745
Add all Methods to all classes in docstrings, in alphabetical order
4937e05
Add MetricTransformer and MahalanobisMixin to auto-docs
c85515d
Delete unused vars in docs. Use simple quotes
da7838c
Fix identation
72e4c86
Fix Github CI instead of old Travis CI
e53153b
References Lists are now numbered
0712cb2
Merge remote-tracking branch 'upstream/master' into fix-docs
5b081f8
RemoveExample Code body almost everywhere
ec5e996
Removed Methods directive. Kept warnings
407486e
Deprecated directive now is red as in sklearn
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.hatnote { | ||
border-color: #e1e4e5 ; | ||
border-style: solid ; | ||
border-width: 1px ; | ||
font-size: x-small ; | ||
font-style: italic ; | ||
margin-left: auto ; | ||
margin-right: auto ; | ||
margin-bottom: 24px; | ||
padding: 12px; | ||
} | ||
.hatnote-gray { | ||
background-color: #f5f5f5 | ||
} | ||
.hatnote li { | ||
list-style-type: square; | ||
margin-left: 12px !important; | ||
} | ||
.hatnote ul { | ||
list-style-type: square; | ||
margin-left: 0px !important; | ||
margin-bottom: 0px !important; | ||
} | ||
.deprecated { | ||
color: #b94a48; | ||
background-color: #F3E5E5; | ||
border-color: #eed3d7; | ||
margin-top: 0.5rem; | ||
padding: 0.5rem; | ||
border-radius: 0.5rem; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.deprecated p { | ||
margin-bottom: 0 !important; | ||
} |
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
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.
it would be nice it there was a way to define a custom rubric or something so we only need to write something like
.. rubric:: References
and the appropriate CSS style would be automatically applied
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.
(no big deal if there is no easy way to do this)
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.
After researching for while, there is not a clear path to this at all. Also, I think that even if its possible all
.. rubric::
stuff will have the same CSS, including the Examples, so I guess its not a good idea to have this CSS globally, because we don't want grey boxes everywhere, just in the references.