Skip to content

Conversation

Holzhaus
Copy link

This might come in handy if the user has custom docsets installed, that are not tracked by Kapeli's feed.

This might come in handy if the user has custom docsets installed, that
are not tracked by Kapeli's feed.
@sunaku
Copy link
Owner

sunaku commented Dec 5, 2018

Good idea. 👍 I hadn't considered custom docsets for this feature. 🤔 I'll merge this after some clean up.

@@ -241,6 +253,14 @@ dasht-docsets "$@" | while read -r docset; do
fragment_by_docset["jQuery"] = "#content"
fragment_by_docset["jQuery_Mobile"] = "#content"
fragment_by_docset["jQuery_UI"] = "#content"

if (fragments_conf != "") {
while (getline < fragments_conf)
Copy link
Owner

Choose a reason for hiding this comment

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

We might avoid reading the fragments file here if it contents are passed in through -v option for awk.

Copy link
Author

Choose a reason for hiding this comment

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

Unfortunately, my awk skills are really bad, so I have no idea how to archieve that. Sorry :(

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.

2 participants