v2.ocaml.org icon indicating copy to clipboard operation
v2.ocaml.org copied to clipboard

create a thread in discuss for each tutorial, add links on site

Open ghost opened this issue 3 years ago • 10 comments

For each tutorial, create a thread on discuss.ocaml.org, and display a link to the corresponding discussion at the bottom of each tutorial on this website.

ghost avatar Apr 10 '21 15:04 ghost

I'm interested in working on this.

dldisha avatar Apr 10 '21 18:04 dldisha

@dldisha You can go ahead and work on this, let us know if you have any questions.

gs0510 avatar Apr 13 '21 11:04 gs0510

@gs0510 I'd like to clarify the issue so that I understand it better. So first I need to create threads for each tutorial on discussion page(manually!?). And next, I need to add links to the discussion thread for each respective tutorial.

Am I on the right track?

dldisha avatar Apr 13 '21 23:04 dldisha

@gs0510 I created this issue as an outsider, simply speculating. Feel free to modify the approach if you see any problems with this idea. I think discuss would welcome such threads, but I haven't confirmed this with anyone.

ghost avatar Apr 13 '21 23:04 ghost

I opened a discuss thread here for more opinions :) https://discuss.ocaml.org/t/creating-a-discuss-thread-for-tutorials-on-ocaml-org/7677

gs0510 avatar Apr 14 '21 11:04 gs0510

I don't think anyone dislikes the idea, so you can go ahead @didisha. No, the idea is to write a script that can open a thread on discuss and that can add a link to the website. The script can also track if a discuss thread is not opened and then open a thread.

gs0510 avatar Apr 15 '21 10:04 gs0510

Let's not pre-create 100 threads on discuss though, please. That'll just create a lot of noise on the forums without any actual content at the start.

It might be best to trial this with a single discuss thread (point all the tutorials at the same one that @gs0510 just created), and then expand out by splitting those threads and updating links on the website as the traffic grows.

avsm avatar Apr 15 '21 15:04 avsm

@gs0510 being a beginner at OCaml, could you guide me once that how can I proceed with this issue? Do I need to create a new script?

dldisha avatar Apr 16 '21 09:04 dldisha

@dldisha Following the approach @avsm said, you don't require any ocaml. You just need to create a link in the tutorials section on the website, under External Links so if people run into issues, they can ask questions on the discuss link. We can perhaps also add it to the bottom of each tutorial.

gs0510 avatar Apr 16 '21 15:04 gs0510

@gs0510, please review my PR and if any other changes are required.

dldisha avatar Apr 16 '21 22:04 dldisha