-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Improvements to the manual #6844
Comments
Been intending to update the WebAssembly page of the manual, I'll get on that part. |
The biggest omission is a search bar, it is impossible to find what you are looking for. |
@David-Else That's a website issue. |
@nayeemrmn Somewhat of a semantic issue when the 'manual' only exists as a website :) |
@David-Else No? The |
@nayeemrmn I agree with you technically, I was just looking at it from a user perspective and making the point 'the manual' and the 'manual on the website' are the same thing for most people. I was also keen to point out there is not much point in fantastic docs with no search, which in retrospect was off-topic, so sorry about that. |
Search is a valid issue, but should be over at the presentation side https://github.com/denoland/deno_website2 |
We're working on it. |
Question on examples section do we think it should be broken down into basic and advanced? Currently most of the examples strike me as advanced, for instance the A basic example might be something like, "How to read a JSON file". I'm sure we could come up with 8 basic examples to go along with the current examples? |
@RobDWaller I agree we need more basic topics covered, but I think the problem is more nuanced than just adding more examples. In the cat example:
The actual example is basic, but then it immediately goes into advanced subjects with no references to enable users to look up the required info to understand the concepts. My thoughts on the above sentence:
This is the first example that the user clicks on. It may be the very first page of the manual that the user clicks on. Immediately in one single sentence, they are expected to know about |
Good points. I think it was the first and only example for a while. I'm open to reordering them. |
I've started writing up some basic examples and I should have it finished by next week. https://github.com/RobDWaller/deno-basic-examples Hopefully it will be acceptable and can form a good set of basic examples which will help new developers get going with Deno. Once I've done this I'm happy to move onto expanding the advanced examples. I've kept it as a separate repo for now so I don't pollute the Deno repo with lots of changes, will transfer it over if people are happy with the finished product. |
So I've created a draft pull request for the examples documentation changes, if the basic format is acceptable I will submit it for formal review. Let me know your feedback. |
Regarding a FAQ, i think it would be good front and center, for example as a new li item in the website header. And maybe even a readonly #FAQ channel in the discord that links to the FAQ, so it's a breeze for users to navigate to it, and makes it highly visible |
What is needed in the typescript chapter? |
Based on some discussion in Discord, it looks like several people are looking for guidance for calling Javascript code from Rust, and this is rather complex given the current API. If appreciated, I could gladly write some examples for simple use cases such as the following ones:
|
This is done in #6859 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@ry Which of this issue's other bullet points are still unaddressed? |
And that is why I dislike the stale bot |
I added issues in https://github.com/denoland/manual repository with chapters that are still missing |
WebAssembly
TypeScript
IO model
Comparison with Node.js
Plugins
Examples
Tools
Deploying your code
Architecture
Building from source
Update
Style guide - ask @piscisaureus to update it
Provide special markers for Deno version and corresponding std version and automatically insert in all examples - eg.
$DENO_VERSION$
/$STD_VERSION$
Links to API reference, std library should be visible on every page of the manual
Testing
Std:
The text was updated successfully, but these errors were encountered: