Drifty icon indicating copy to clipboard operation
Drifty copied to clipboard

[FEATURE] Add docs for the Website

Open SaptarshiSarkar12 opened this issue 1 year ago • 62 comments

Is your feature request related to a problem? Please describe.

The README file currently lacks examples and use cases for both Drifty CLI and GUI. It also does not mention the custom issue labels that the project uses. Before testing their changes, the contributors need to run some commands. The addition of Dockerfiles to this project via #218 will require some notes and advices, but the README file is already too crowded and lengthy.

Describe the solution you'd like.

I would like to have a docs section for Drifty with sections like - Quickstart, Getting Started, Contributing, FAQ and Troubleshooting.

  • Quickstart: A brief introduction to the main features of Drifty, with a simple example to get users up and running in minutes.
  • Getting Started: A more detailed guide on how to install, configure, and use Drifty, with explanations of the core components and options.
  • Contributing: A section for developers who want to help make Drifty better, with instructions on how to set up a development environment, submit pull requests, and report bugs and new ideas.
  • FAQ: A collection of common questions and answers about Drifty, covering topics such as compatibility, performance, security, and customization.
  • Troubleshooting: This subsection helps to resolve common issues and errors that users may encounter while using Drifty and suggests possible solutions and workarounds.

The docs should be in markdown files and will be rendered by next js. You can read more about this here.

If you have any suggestions to add more suggestions, please let me know.

Screenshots

The docs page can have a look like this -

Image

You can see the live version of the docs homepage here.

Additional information

Skills you need to solve this issue - NextJS, TailwindCSS, MD / MDX in Nextjs. Those who wish to work on this issue, please leave a comment below and I will assign you with the task.

SaptarshiSarkar12 avatar Sep 23 '23 08:09 SaptarshiSarkar12

Hi SaptarshiSarkar12,

I'm interested in working on this issue. I've reviewed the problem and your proposed solution, and I'd like to contribute to improving the documentation for Drifty as described.

Here's what I plan to do:

  • Create separate Markdown files for each documentation section (Quickstart, Getting Started, Contributing, FAQ, and Troubleshooting).
  • Populate these files with clear and detailed content, including examples and code snippets where necessary.
  • Update the main README file to link to the newly created documentation files.
  • Test the changes locally to ensure they work as expected.
  • Open a pull request (PR) once the changes are ready for review.

Please let me know if you have any specific requirements, guidelines, or additional information I should be aware of before I start working on this. And also let me know if i can submit PR on the master branch itself or some other branch . I'm excited to contribute to the project and help improve its documentation.

Thank you! Sathvik N G

sathvik-ng-07 avatar Sep 24 '23 05:09 sathvik-ng-07

Thank you @sathvik-ng-07 for your interest in this issue! Yes, I agree with your plan. Looks good to me. :+1: You need to open the PR to the master branch (the default branch). Please do not open any PR against other branches. I am assigning you with the task. You can start working on it.

SaptarshiSarkar12 avatar Sep 24 '23 05:09 SaptarshiSarkar12

@sathvik-ng-07 no longer wants to work on it.

If anyone else wants to work on this issue, please comment below and I will assign you with the task.

SaptarshiSarkar12 avatar Sep 24 '23 08:09 SaptarshiSarkar12

I would like to work on this issue.

chauhansumitdev avatar Sep 24 '23 10:09 chauhansumitdev

I would like to work on this issue.

Thank you for your interest in this issue! I am assigning you with the task.

SaptarshiSarkar12 avatar Sep 24 '23 10:09 SaptarshiSarkar12

Hello @SaptarshiSarkar12 , I would like to work on this issue and resolve it.

markandey1414 avatar Oct 02 '23 12:10 markandey1414

@markandey1414 Yes, you can work on this issue. Assigning the task to you.

You can discuss this issue in our Discord server.

SaptarshiSarkar12 avatar Oct 02 '23 16:10 SaptarshiSarkar12

hello @SaptarshiSarkar12, can you assign this issue to me i would like to work on this issue.

Neel-07 avatar Oct 03 '23 02:10 Neel-07

If @markandey1414 no longer wants to work on this issue, then, I can assign you (@Neel-07 ). Let's wait for his (@markandey1414 ) reply.

SaptarshiSarkar12 avatar Oct 03 '23 06:10 SaptarshiSarkar12

Yes @SaptarshiSarkar12 I'm working on it. Thanks for assigning me this.

markandey1414 avatar Oct 03 '23 06:10 markandey1414

Okay @markandey1414.

SaptarshiSarkar12 avatar Oct 03 '23 06:10 SaptarshiSarkar12

@SaptarshiSarkar12 permission to access the repo is denied, not able to issue pr

markandey1414 avatar Oct 03 '23 10:10 markandey1414

@markandey1414 Why? Can you please show the exact error?

SaptarshiSarkar12 avatar Oct 03 '23 10:10 SaptarshiSarkar12

@markandey1414 I think you have not made changes in your forked repo. I can't see your fork. You should fork this repo, make changes there and then, open the Pull Request.

SaptarshiSarkar12 avatar Oct 03 '23 10:10 SaptarshiSarkar12

@SaptarshiSarkar12 I cloned the repo locally, made a branch, added a few files then tried to push it in the branch, but it says that permission is denied

markandey1414 avatar Oct 03 '23 11:10 markandey1414

You should clone your forked repo not this one. Otherwise, you will not be able to create a PR.

SaptarshiSarkar12 avatar Oct 03 '23 11:10 SaptarshiSarkar12

Read here

SaptarshiSarkar12 avatar Oct 03 '23 11:10 SaptarshiSarkar12

As @markandey1414 is not responding and has been inactive, I am removing the assignment from @markandey1414. This issue is now open for all contributors and newcomers. So, if anyone wants to work on this issue, please comment below.

SaptarshiSarkar12 avatar Oct 30 '23 11:10 SaptarshiSarkar12

Hey @SaptarshiSarkar12 is anyone in queue for solving this issue, if no one's there then I would Like to try my hands on this issue

hasnainmakada-99 avatar Nov 26 '23 17:11 hasnainmakada-99

@hasnainmakada-99 No, there's no one willing to work on this issue. @hasnainmakada-99 Yes, you can work on this issue. I would be happy to assign you with the task. Thank you for your interest in the issue :smile:!

SaptarshiSarkar12 avatar Nov 26 '23 17:11 SaptarshiSarkar12

Alright then, Let's do this 🔥

hasnainmakada-99 avatar Nov 27 '23 04:11 hasnainmakada-99

Hey @SaptarshiSarkar12 Did I need to complete the docs section whole from the markdown itself or do I have to just create the individual files for it, like the getting started, FaQ and so on ?

And also do I have to write the files in Markdown or in MDx format as provided by NextJS ?

hasnainmakada-99 avatar Nov 27 '23 05:11 hasnainmakada-99

@hasnainmakada-99 Yes, you need to create separate pages for each sections of the docs like Getting Started, Contributing, FAQ, etc. @hasnainmakada-99 You can use either of the two - Your wish :smile:. I think MDx is better of the two, what do you say :thinking:?

SaptarshiSarkar12 avatar Nov 27 '23 08:11 SaptarshiSarkar12

@hasnainmakada-99 Yes, you need to create separate pages for each sections of the docs like Getting Started, Contributing, FAQ, etc. @hasnainmakada-99 You can use either of the two - Your wish 😄. I think MDx is better of the two, what do you say 🤔?

Yeah sure @SaptarshiSarkar12 I will create the files as you said and coming from the flutter ecosystem, I am more familiar with Markdown and less with MDx although I know the basics of React but that would be not enough so can I proceed with General Markdown?

hasnainmakada-99 avatar Nov 27 '23 08:11 hasnainmakada-99

@hasnainmakada-99 Yes, you can proceed.

Please note that the data should be fetched from the Markdown - simply displaying/rendering the Markdown will not solve the issue.

SaptarshiSarkar12 avatar Nov 27 '23 09:11 SaptarshiSarkar12

Like which data @SaptarshiSarkar12, can you please provide more context to the note

hasnainmakada-99 avatar Nov 27 '23 09:11 hasnainmakada-99

You can check this branch to see how I have tried to implement a portion of the docs. It clearly shows how the work needs to be done. Suggestions to that approach are welcomed :smile:. @hasnainmakada-99 Were you planning to do something like this?

SaptarshiSarkar12 avatar Nov 27 '23 10:11 SaptarshiSarkar12

Ohh I thought that I just have to provide the markdown files and the rest will be implemented by the dev team @SaptarshiSarkar12

hasnainmakada-99 avatar Nov 27 '23 10:11 hasnainmakada-99

@hasnainmakada-99 No, nothing like that :laughing:.

SaptarshiSarkar12 avatar Nov 27 '23 10:11 SaptarshiSarkar12

I think that will be quite difficult for me to work on @SaptarshiSarkar12 as having no prior experience with next

hasnainmakada-99 avatar Nov 27 '23 10:11 hasnainmakada-99