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

Setup readthedocs.org documentation #148

Merged
merged 6 commits into from
Jan 17, 2016
Merged

Setup readthedocs.org documentation #148

merged 6 commits into from
Jan 17, 2016

Conversation

ddemidov
Copy link
Member

This was branched off version-updates so as not to loose any recent work by @WasabiFan. Hence the first three commits here.

This PR does a couple of things:

  1. Switches from markdown to reStructured text for the READMEs.
  2. Creates the docs folder with Sphinx configuration and a couple of reStructured text files. Some of them just import the original READMEs, some (actually, just classes.rst) are generated from spec.json, and others contain supporting hand-written text (mostly split out from the removed human-readable-spec.md).

I've also created a project on readthedocs.org, and added the corresponding webhook to this repo. This way documentation on readthedocs.org will be autoupdated after each commit here. I have already added @rhempel as a maintainer of readthedocs project; @WasabiFan, if you tell me your username there, I'll add you as well.

The result looks like this: http://ev3dev-lang.readthedocs.org.

In order to generate the documentation locally, one needs to install Sphinx and Sphinx Bootstrap Theme, and then do

cd docs
sphinx-build -b html . /path/to/generated/html

The html documentation will be created in the specified folder, which will be created if necessary.

Also see #146.

A fair amount of content has been temporarily deleted. We will need to go
back through the history to carry forward tbe parts that we want and
re-implement them with these new templates.

This includes:
  - Updates of some text
  - New autogen template to generate class definitions

Still TODO:
  - Constructors
  - Special properties
  - Methods
  - Special sensor classes
@ddemidov ddemidov force-pushed the rtfd branch 3 times, most recently from e67c4d1 to 1c31cc9 Compare January 16, 2016 08:12
@ddemidov ddemidov mentioned this pull request Jan 16, 2016
4 tasks
@WasabiFan
Copy link
Member

Looks good to me; feel free to merge if you believe it's ready.

Can you post a list of the information that isn't included yet? I can't quite tell from the diff.

@ddemidov
Copy link
Member Author

This has the same TODO list as the one in #146. All I did was convert to the new format. I'll merge this anyway, so that new work may be done in the new format.

ddemidov added a commit that referenced this pull request Jan 17, 2016
Setup readthedocs.org documentation
@ddemidov ddemidov merged commit b96f357 into develop Jan 17, 2016
@ddemidov ddemidov deleted the rtfd branch January 17, 2016 05:28
@WasabiFan
Copy link
Member

OK, that's how it looked, I just wasn't sure. I'll update it when I can.

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.

2 participants