-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is now generic helper from snippy.plugins module to parse the attributes. The snippy.plugins does not contain tldr man page specific parsers, only generic parsers. The attributes that contain tldr specific data parsing are in the Snippy-tldr plugin. Refactored the code to fix the brief to have limited length for it. Also removed extra characters like Markdown block quote token [>] from description and brief attributes. Signed-off-by: Heikki Laaksonen <laaksonen.heikki.j@gmail.com>
- Loading branch information
Showing
2 changed files
with
84 additions
and
29 deletions.
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 |
---|---|---|
@@ -1,17 +1,16 @@ | ||
## WORKING | ||
- [ ] Initial implementation to read and format tldr man pages for Snippy. | ||
- [ ] Add only the first sentence from tldr description to brief. | ||
- [ ] Add max of 80 (?) characters from tldr description to brief. | ||
- [ ] Parse the tldr pages (/tldr/pages/linux) OS to groups (and tags?). | ||
- [ ] Add initial implementation to read and format tldr man pages for Snippy. | ||
- [ ] Add the tldr pages (/tldr/pages/linux) OS to groups (and tags?). | ||
- [ ] Add snippy.plugins parser for source and parse the source in the plugin. | ||
|
||
## FEATURES | ||
|
||
- [ ] Parallel requests for tldr man pages from GitHub. | ||
|
||
## FIX | ||
- [ ] Fix mocks and import failures when Snippy is released with the Plugins module. | ||
|
||
## PACKAGING | ||
- [ ] none | ||
|
||
## DOCUMENTS | ||
|
||
- [ ] Autogenerate the docstrings from code to Sphinx documents. |
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