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
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/kantord/libre-lingo/b2c159sat |
@kantord Can you please review the changes ? |
@kantord there are some failing checks , can you please guide me? |
@kantord Any updates please tell me. |
Hi @yash2189, sorry for the slow response, I was with work and other stuff. Reviewing it now |
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 |
https://kantord.semaphoreci.com/jobs/d3ae816e-fde7-4284-a595-45793cddbaa8 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 |
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) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
@@ -0,0 +1,28 @@ | |||
# Contributing to LibreLingo |
There was a problem hiding this comment.
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/) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
don't move this file, it should be in the root folder |
no need to nest this into so many folders IMO. I'd just call it docs/attributions.md |
I would get rid of the |
There was a problem hiding this 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
@kantord Sure I'll work on the changes , apologies for the late response |
@kantord I have removed the unnecessary directories that I had created , still the build is failing,Please tell me about the same. |
The build is failing, because the incorrect file is being imported on line 60 of this file: /src/routes/license.svelte |
@kantord Can you please check my comments on the above replies that you have made on changes? |
@kantord all checks have passed please review whether I have done everything correctly |
Also please tell me about relative link I'm not aware as how to provide the same |
thanks @kantord I will work on this tomorrow and update you. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
@kantord can you please review the changes? |
* 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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/) |
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
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?
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 hereSeparate
development docs
section thus organized all the development docs . Please find the changes hereImproved the
README.md
andCONTRIBUTING.md
so that they serve as an entry point for newcomers and existing contributors.Reference to the correct files wherever required.