-
Notifications
You must be signed in to change notification settings - Fork 867
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
Add API docs #1379
Merged
+1,980
−1,065
Merged
Add API docs #1379
Changes from 8 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
9fad090
Create API docs
pawamoy 8e406cd
fixup! Create API docs
pawamoy 5c510cb
fixup! Create API docs
pawamoy 7af5634
fixup! Create API docs
pawamoy 42cec09
fixup! Create API docs
pawamoy 4166503
fixup! Create API docs
pawamoy d388012
fixup! Create API docs
pawamoy 2e06483
fixup! Create API docs
pawamoy cb70465
fixup! Create API docs
pawamoy 1140876
100% covergae of patch
waylan c78dacf
remove core.py from documented modules it is repeated
waylan 6947744
refactor doc strings in core.py
waylan 236ecd2
update spelling dictionary
waylan 26383c2
Normalize docs of extension argument
waylan 6b4810a
cleanup
waylan e40bd43
Added a bunch of internal links
waylan fc8dc2d
fix line length
waylan eb5c596
document attributes on markdown.Markdown.
waylan 3757ed8
cleanup Markdown.references attribute
waylan d25f0ad
add output_format attribute
waylan 6757ed7
add serializer attribute
waylan 14823e6
CLean up autoref link styles for consistency
waylan dfa6944
some text cleanup
waylan f7b06d5
Update pre/tree/postprocessors
waylan d040b24
Update blockparser
waylan f53c551
Update util
waylan 14e3850
update test_tools
waylan 58f2e20
Cleanup
waylan 290cf0d
more Cleanup
waylan ef34df7
Order objects by source
waylan 6d2a365
Update serializers
waylan a22f3db
Add styles for labels
waylan cecec29
Update extensions
waylan 8a0d9db
Update inlinepatterns
waylan 72cb6e0
Update various extensions
waylan a4cff19
Some cleanup
waylan bcfd78e
more cleanup
waylan 5388f83
Add changelog entry
waylan 6f0f4a8
Update spelling dict
waylan 09e152d
Add custom template for proper admonitions (no more details elements).
waylan 92dfdcd
Coverage
waylan 3448847
Add support for deprecated decorator
pawamoy 2dacbed
Don't show inherited members in extension subclasses
pawamoy 7f7648c
CLeanup deprecations and style label
waylan af74150
Add details to various extensions
waylan 326b56f
spelling cleanup
waylan 13e6254
Force attributes to always have separate signature
waylan 9198aa5
Ensure attribute name is wrapped in code tag.
waylan fdbcd4f
Use attribute.source to preserve formatting in signature
waylan 0d26314
preserve annotations in attrs, move source to end of content, & only …
waylan d36a222
Add a section header for the attr source
waylan 87153b4
cleanup attributes
waylan 1620acb
lint cleanup
waylan 7e7242a
ext config requires list not tuple
waylan 29debb4
document all regexes for inlinepatterns
waylan c5d8c0d
Add priority table to each build* function via an extention
waylan dea1158
wrap names in code spans
waylan cb78d4f
Some tweaks to styling
waylan 675858a
build_block_parser returns a BlockParser not a Registry
waylan 59c1299
finish documenting inlinepatterns
waylan c9bbb68
Add links to source on Github
waylan 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 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 |
---|---|---|
|
@@ -64,6 +64,7 @@ target/ | |
.python-version | ||
|
||
# virtualenv | ||
.venv/ | ||
venv/ | ||
ENV/ | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* Indentation. */ | ||
div.doc-contents:not(.first) { | ||
padding-left: 25px; | ||
} | ||
|
||
/* Mark external links as such. */ | ||
a.external::after, | ||
a.autorefs-external::after { | ||
/* https://primer.style/octicons/arrow-up-right-24 */ | ||
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>'); | ||
-webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>'); | ||
content: ' '; | ||
|
||
display: inline-block; | ||
vertical-align: middle; | ||
position: relative; | ||
|
||
height: 1em; | ||
width: 1em; | ||
background-color: #005b81; | ||
} | ||
|
||
a.external:hover::after, | ||
a.autorefs-external:hover::after { | ||
background-color: #e32e00; | ||
} | ||
|
||
/* Customize symbol names. */ | ||
code.doc-symbol-attribute::after { | ||
content: "Attr"; | ||
} | ||
|
||
code.doc-symbol-function::after { | ||
content: "Func"; | ||
} | ||
|
||
code.doc-symbol-method::after { | ||
content: "Method"; | ||
} | ||
|
||
code.doc-symbol-class::after { | ||
content: "Class"; | ||
} | ||
|
||
code.doc-symbol-module::after { | ||
content: "Module"; | ||
} |
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.
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.
No strong feeling about this. We should just try and be consistent. Or not, it's not super important.
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.
Sorry, I'm not sure what you are referring to here.
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.
I meant, whether to keep trailing new lines in docstrings.
Currently it seems the project follows these rules: