api-docs icon indicating copy to clipboard operation
api-docs copied to clipboard

Adding additional doc sources

Open jaredtconnor opened this issue 7 years ago • 2 comments

Would it be possible to add additional sources? For example, I was attempting to use scikit-learn docs, which are hosted on Devdocs here.

jaredtconnor avatar Aug 26 '17 03:08 jaredtconnor

While it's not possible to add sources in the package settings, you can do this manually:

  1. In "Packages / Api Docs" press the "View source" button
  2. Open "src/library.js" file and navigate to the "Library" class declaration
  3. Add a new item into the "DEFAULT_DOCSETS_" set ('scikit_learn' or another one)
  4. Save and restart Atom

yar85 avatar Jan 18 '18 19:01 yar85

I tried to add some PHP docs from Devdocs, but without success. When I highlight something and press Ctrl-d the text appears in a search box with the message 'No matches found.' I have no option on the settings page to add/manage doc sources, even after reinstalling the plugin. Suggestions?

SafetyFast avatar Dec 30 '18 17:12 SafetyFast