Skip to content
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

nodejs documentation command #1228

Open
almeidx opened this issue Oct 3, 2020 · 5 comments
Open

nodejs documentation command #1228

almeidx opened this issue Oct 3, 2020 · 5 comments
Labels
scope: commands New command(s) suggestion/addition type: idea New request

Comments

@almeidx
Copy link
Member

almeidx commented Oct 3, 2020

https://github.com/Snowflake107/nodejs-docs
https://api.github.com/repos/nodejs/node/contents/doc/api?ref=v12.x

@almeidx almeidx added the scope: commands New command(s) suggestion/addition label Oct 3, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label type: idea to this issue, with a confidence of 0.77. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the type: idea New request label Oct 3, 2020
@rubiin
Copy link

rubiin commented Oct 4, 2020

more info on this

@almeidx
Copy link
Member Author

almeidx commented Oct 4, 2020

more info on this

Simply a command that grabs info on a specific topic from https://nodejs.org/en/docs. Example: s!nodejs buffer alloc and it would send info from https://nodejs.org/dist/latest-v12.x/docs/api/buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding or whatever else version (the version could be specified using a flag)

@theGeekyLad
Copy link

The example command sends the link right? Also, does it fetch the anchored link (upto alloc function) specifically?

@almeidx
Copy link
Member Author

almeidx commented Oct 9, 2020

Just make a command similar to this, but using NodeJS documentation instead of mdn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: commands New command(s) suggestion/addition type: idea New request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants