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

docs : Cleaned up documentation #861

Closed
wants to merge 9 commits into from
Closed

docs : Cleaned up documentation #861

wants to merge 9 commits into from

Conversation

yash2189
Copy link

@yash2189 yash2189 commented Oct 26, 2020

Fixes #789

Description:

Previously , the information was scattered among different files. This PR organizes all the contents for the development documentation , contribution files under separate sections so that a better understanding of the entire project can be obtained for newcomers or the existing contributors for this project.

What has been added ?

  • Organized file sections under docs . Please find the changes here

  • Separate development docs section thus organized all the development docs . Please find the changes here

  • Improved the README.md and CONTRIBUTING.md so that they serve as an entry point for newcomers and existing contributors.

  • Reference to the correct files wherever required.

@vercel
Copy link

vercel bot commented Oct 26, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/kantord/libre-lingo/b2c159sat
✅ Preview: https://libre-lingo-git-fixing-doc.kantord.vercel.app

@yash2189
Copy link
Author

@kantord Can you please review the changes ?

@yash2189
Copy link
Author

@kantord there are some failing checks , can you please guide me?

@yash2189
Copy link
Author

@kantord Any updates please tell me.
Thanks

@kantord
Copy link
Collaborator

kantord commented Oct 27, 2020

Hi @yash2189, sorry for the slow response, I was with work and other stuff. Reviewing it now

@kantord
Copy link
Collaborator

kantord commented Oct 27, 2020

2020-10-27-084251_1315x386_scrot

the pipeline is failing because a couple of docs files are being referenced in the frontend code. This is because those are also exposed in the web app.

You can look at the failures here: https://kantord.semaphoreci.com/jobs/6b06233d-5d3c-4056a845-75fed2e73e7c

You simply have to make sure that the frontend loads the correct files. If you moved those markdown files, you simply have to update the import in each file that fails

@kantord
Copy link
Collaborator

kantord commented Oct 27, 2020

https://kantord.semaphoreci.com/jobs/d3ae816e-fde7-4284-a595-45793cddbaa8
the same goes for docs/image_attributions.csv

if you move it around, you'll have to update the path in the import/open usages. For this one file I recommend that if it can be avoided, don't move it around, because it's also used in some scripts

@kantord
Copy link
Collaborator

kantord commented Oct 27, 2020

docs/contribution_details/CODE_OF_CONDUCT.md

I would actually keep this file where it is, because it's it's standard place on GitHub projects. You can perhaps still link it from the main documentation

README.md Outdated
@@ -77,20 +77,12 @@ Here's a rough sketch of how I imagine the milestones of this project:

## Become a contributor

### Contribute to course material
If you are interested in contributing to course development, please fill the following form: https://danielkantor196881.typeform.com/to/V00Paz. The project is in a very early stage right now, so you might not be able to contribute right away. Your work will be released in this GitHub repository and you will show up as a contributor here.
We welcome contributions for course material as well development contributions.In order to know more regarding your contributions to our project please checkout the [contributing guide](https://github.com/yash2189/LibreLingo/blob/fixing-doc/docs/contribution_details/CONTRIBUTING_GUIDE.md)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We welcome contributions for course material as well as development contributions

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ns.In

Missing space here

I recommend running this through some spell checker that makes spotting these mistakes easy. Grammarly is one option that runs in the browser. There might be some plugin for your code editor

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/yash2189/LibreLingo/blob/fixing-doc/docs/contribution_details/CONTRIBUTING_GUIDE.md ◀️ that link doesn't seem right! It's linking to your fork. Perhaps the best would be to use a relative link?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Which makes me realize, that I also did the mistake of specifically linking my fork instead of using relative links)

Copy link
Author

@yash2189 yash2189 Oct 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/yash2189/LibreLingo/blob/fixing-doc/docs/contribution_details/CONTRIBUTING_GUIDE.md ◀️ that link doesn't seem right! It's linking to your fork. Perhaps the best would be to use a relative link?

Can you please tell me about this @kantord.I'm unable to link this file. As CONTRIBUTING_GUIDE.md is a file that is created under my branch(fixing-doc) how is it possible to give a relative link?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To learn more about relative links, consult the documentation I linked

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or is it wrong/confusing for some reason?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kantord when I tried doing the same it showed 404 error

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, what is the link that you tried that gave 404?

Copy link
Author

@yash2189 yash2189 Oct 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @kantord I have successfully provided the relative link you can check my changes in PR , all checks are passing now

README.md Show resolved Hide resolved
@@ -0,0 +1,28 @@
# Contributing to LibreLingo
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this file could just be docs/CONTRIBUTING_GUIDE.md, no need to put it in a folder


### Development and other forms of contribution

Check the latest **Development documentation** on [Read the Docs](https://librelingo.readthedocs.io/en/latest/)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should not be necessary here, because the person will already be on that page almost certainly

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should not be necessary here, because the person will already be on that page almost certainly

I was thinking if a person could find the link for the development docs in the same file it might be easier for him to read the other contents inside the same file. Like over here if the person is under CONTRIBUTING GUIDE he can find all the necessary material under one file. Thoughts on this @kantord ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should just be able to link to that markdown file. mkdocs should take care of the rest.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mkdocs converts these .md files into a static webpage. that webpage is hosted at https://librelingo.readthedocs.io/en/latest, but since the person reading it is already on that page, we don't need to tell them.

@kantord
Copy link
Collaborator

kantord commented Oct 27, 2020

docs/contribution_details/LICENSE.md

don't move this file, it should be in the root folder

@kantord
Copy link
Collaborator

kantord commented Oct 27, 2020

docs/development_docs/attributions/attributions.md

no need to nest this into so many folders IMO. I'd just call it docs/attributions.md

@kantord
Copy link
Collaborator

kantord commented Oct 27, 2020

I would get rid of the docs/development_docs/ folder altogether. Everything under docs/ is already development docs

Copy link
Collaborator

@kantord kantord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address my comments

@yash2189
Copy link
Author

yash2189 commented Oct 27, 2020

@kantord Sure I'll work on the changes , apologies for the late response

@yash2189
Copy link
Author

@kantord I have removed the unnecessary directories that I had created , still the build is failing,Please tell me about the same.

@kantord
Copy link
Collaborator

kantord commented Oct 28, 2020

The build is failing, because the incorrect file is being imported on line 60 of this file: /src/routes/license.svelte

@yash2189
Copy link
Author

yash2189 commented Oct 28, 2020

@kantord Can you please check my comments on the above replies that you have made on changes?

@yash2189
Copy link
Author

@kantord all checks have passed please review whether I have done everything correctly
Thanks.

@yash2189
Copy link
Author

Also please tell me about relative link I'm not aware as how to provide the same

@yash2189
Copy link
Author

thanks @kantord I will work on this tomorrow and update you.

@sonarcloud
Copy link

sonarcloud bot commented Oct 30, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@yash2189
Copy link
Author

@kantord can you please review the changes?

@yash2189 yash2189 requested a review from kantord October 30, 2020 21:11
* Course editor, implemented using Django

The site is statically built and hosted on GitHub pages, therefore there's no real "backend" or API.
We welcome all contributions right from development to the course material.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
We welcome all contributions right from development to the course material.
We welcome contributions to our codebase as well as the course material.


The site is statically built and hosted on GitHub pages, therefore there's no real "backend" or API.
We welcome all contributions right from development to the course material.
In order to contribute to LibreLingo you can check our detailed [contributing guide](https://github.com/yash2189/LibreLingo/blob/fixing-doc/docs/CONTRIBUTING_GUIDE.md)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In order to contribute to LibreLingo you can check our detailed [contributing guide](https://github.com/yash2189/LibreLingo/blob/fixing-doc/docs/CONTRIBUTING_GUIDE.md)
Check out our detailed [contributing guide](https://github.com/yash2189/LibreLingo/blob/fixing-doc/docs/CONTRIBUTING_GUIDE.md)


## Getting started

Please check out our development documentation for instructions on
[setting up the development environment.](https://librelingo.readthedocs.io/en/latest/#setting-up-the-development-environment)

### Pick an issue
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please link the Pick an issue section from the development docs


Check the latest **Development documentation** on [Read the Docs](https://librelingo.readthedocs.io/en/latest/)

This project has 2 main components
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is rather out of place here now, this is technical documentation

Copy link
Author

@yash2189 yash2189 Oct 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't understand this @kantord can you please elaborate? Do you want me to create a separate technical contribution file or something else?


### Development and other forms of contribution
We follow certain guidelines in order to maintain this repository. Before you start contributing we highly urge you to read our guidelines [here](https://librelingo.readthedocs.io/en/latest/CODE_OF_CONDUCT/)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that link will (I hope) be broken, because CODE_OF_CONDUCT should be in the repo root, and hence will not be part of the dev docs. That's ok, becuase it's its standard place.

Also, this extra text adds little value I think. I would simply link Code of Conduct, but I'd rather link it from CONTRIBUTING.md, what do you think? If you really want to put some text around it, I think it's enough to say "Please read our Code of Conduct"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes @kantord I will link the code of conduct from CONTRIBUTING.md doc. Where should I place the code of conduct.md file?

@kantord kantord closed this Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up documentation
2 participants