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

Create documentation draft #6

Closed
cbeddow opened this issue Jun 23, 2021 · 4 comments · Fixed by #123
Closed

Create documentation draft #6

cbeddow opened this issue Jun 23, 2021 · 4 comments · Fixed by #123
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@cbeddow
Copy link
Member

cbeddow commented Jun 23, 2021

We need a folder in the main/root directory called "docs".

Sign up for an account at: https://readthedocs.org/

We should then use the following instructions to generate documentation with Mkdocs: https://docs.readthedocs.io/en/stable/intro/getting-started-with-mkdocs.html

We need to somehow create the docs then attempt to import to read the docs.

The generated documentation will go in the docs folder.

It should look similar to the setup in OSMnx library here: https://github.com/gboeing/osmnx

And we can model after the OSMnx library docs: https://osmnx.readthedocs.io/en/stable/

@cbeddow cbeddow added the documentation Improvements or additions to documentation label Jun 23, 2021
@Rubix982
Copy link
Contributor

Rubix982 commented Jun 24, 2021

I've been looking into "Read The Docs". I was able to successfully create an account, but after that, I tried finding the mapillary-python-sdk repository to no avail. I tried giving "Read The Docs" the link to the repository, but the build fails. There is a webhook integration I can try, but before that, I read the following excerpts from the documentation,

"Read the Docs is Open Source software. We have licensed the code base
as MIT, which provides almost no restrictions on the use of the code" - Read the Docs Open Source Philosophy

And,

"For private repositories, please use Read the Docs for Business" - Importing Your Documentation

I'll keep trying with the options I have and spend a bit more time on this, but maybe the primary issue is due to the private repository issue.

@cbeddow, should I send a PR with the base "Read The Docs" code for the docs/ folder?

@Rubix982
Copy link
Contributor

What a possible solution can be is that if it is feasible to dedicate another repository for the documentation, and then make that one public for users to read about. Having private repository documentation falls into having to pay, as most open source projects for documentation generation consider serving from private repositories as working under a for-profit organization.

On the other hand, a project that is public (open source) cannot really be restricted. This is more of a copyright and agreement issue, may be better answered with the specifics of the future LICENSE.md to be committed.

@Rubix982
Copy link
Contributor

Rubix982 commented Jul 29, 2021

In progress. The tool has been changed to Docusaurus. With this, the idea for the initial documentation draft is to have something that is,

  • Inviting and clear
  • Comprehensive, detailing all aspects of the project
  • Skimmable
  • Offers examples of how to use the software
  • Repetition, when useful
  • Up-to-date
  • Easy to contribute to
  • Easy to find

@Rubix982 Rubix982 reopened this Jul 29, 2021
@Rubix982
Copy link
Contributor

Assigning to @OmarMuhammedAli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Development

Successfully merging a pull request may close this issue.

3 participants