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

TODO: Learn page #90

Open
3 of 5 tasks
caffeine-addictt opened this issue Jan 10, 2024 · 9 comments
Open
3 of 5 tasks

TODO: Learn page #90

caffeine-addictt opened this issue Jan 10, 2024 · 9 comments
Assignees
Labels
Type: Enhancement Suggest an improvement for an existing feature.

Comments

@caffeine-addictt
Copy link
Member

caffeine-addictt commented Jan 10, 2024

Feature Request

Your issue may already be reported!
Please check out our active issues before creating one.

Is Your Feature Request Related to an Issue?

Thread may appear overly confusing to use, especially for those unfamiliar with python's built-in threading library.
At present, there is no examples for usage of thread, providing these examples can help guide first-time developers.

Describe the Solution You'd Like

A '/learn' or equivalent route should be created to provide easy-to-follow and heavily documented examples for using thread.

  • Learn python threading module
  • Learn thread package
  • Threading examples page
  • Parallel Processing examples page
  • Cautions pages
@caffeine-addictt caffeine-addictt added Status: Waiting Waiting on something else to be ready. Type: Enhancement Suggest an improvement for an existing feature. labels Jan 10, 2024
@caffeine-addictt caffeine-addictt self-assigned this Jan 10, 2024
@ShiroTohu ShiroTohu self-assigned this Jan 19, 2024
@ShiroTohu ShiroTohu pinned this issue Jan 20, 2024
@ShiroTohu
Copy link
Contributor

Just a thought that I had in passing. Instead of an examples/ route we could implement a learn/ route instead that covers the basics of the python thread module and the thread module. Next.JS utilizes this same approach and I quite liked it when I was learning Next.JS for the website. What's also nice about it is that it covers React as well which reduced the knowledge of entry! so I think it could work wonderfully here as well.

See what I am talking about here.

I could also add a quiz component like seen in Next.JS course!

A '/examples' or equivalent route should be created to provide easy-to-follow and heavily documented examples for using thread.

We can probably cover more heavy concepts in the actual documentation for people more familiar with the base library and the utilities thread provides. We could probably put it under a sub-folder called examples or pair it with the relative methods, whichever is more convenient for reader.

What do you think?

@caffeine-addictt
Copy link
Member Author

Just a thought that I had in passing. Instead of an examples/ route we could implement a learn/ route instead that covers the basics of the python thread module and the thread module. Next.JS utilizes this same approach and I quite liked it when I was learning Next.JS for the website. What's also nice about it is that it covers React as well which reduced the knowledge of entry! so I think it could work wonderfully here as well.

Ah! I didn't think of that. Yes, I agree this would be a better approach. I'll update the initial issue.

We can probably cover more heavy concepts in the actual documentation for people more familiar with the base library and the utilities thread provides. We could probably put it under a sub-folder called examples or pair it with the relative methods, whichever is more convenient for reader.

I guess it would make more sense to keep the examples simple. We could instead provide links to the more in-depth documentation.

Perhaps something of this structure?

/
  -> /about
  -> ...
  -> /learn
      -> /[slug] (Links to [/slug])
  -> /[slug]

@ShiroTohu
Copy link
Contributor

I guess it would make more sense to keep the examples simple. We could instead provide links to the more in-depth documentation.

Yep! I think that idea. As for the structure you mentioned, take a look at the example pages below.

Example in the tutorial


More in-depth example

Important

Just want to point out that the documentation will not look like the second picture of course. Just a placeholder :)

@caffeine-addictt
Copy link
Member Author

Yea! I believe we are on the same page 👍🏻

@caffeine-addictt
Copy link
Member Author

Which library are you using for syntax highlighting? react-syntax-highlighter/prisma?

@ShiroTohu
Copy link
Contributor

Which library are you using for syntax highlighting? react-syntax-highlighter/prisma?

I'm unsure how to find out.

I haven't touched anything pertaining to syntax highlighting on my end. So I don't really know what to look for.

@caffeine-addictt
Copy link
Member Author

Ah!! I see.

@ShiroTohu ShiroTohu changed the title TODO: Examples page TODO: Learn page Jan 22, 2024
@caffeine-addictt caffeine-addictt added Status: WIP Currently being worked on. and removed Status: Waiting Waiting on something else to be ready. labels Feb 22, 2024
@caffeine-addictt
Copy link
Member Author

caffeine-addictt commented Feb 22, 2024

I'm thinking we should still include a /learn/examples route, but just have it be for getting a quick-start.

This way, we could encapsulate all the examples and learning within /learn without a /getting-started etc.

Something like this perhaps?

/
  -> ...
  -> /learn
      -> /examples
          -> /[slug]
      -> /[slug] (Links to [/slug])
  -> /[slug]

A mockup of what I have so far
image

@caffeine-addictt
Copy link
Member Author

I'll go ahead and abstract the cautions to its own /learn/cautions page.

@caffeine-addictt caffeine-addictt transferred this issue from python-thread/thread.ngjx.org May 25, 2024
@caffeine-addictt caffeine-addictt pinned this issue May 25, 2024
@caffeine-addictt caffeine-addictt removed the Status: WIP Currently being worked on. label Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Suggest an improvement for an existing feature.
Projects
No open projects
Status: In progress
Development

No branches or pull requests

2 participants