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

Initial documentation #20

Merged
merged 13 commits into from Apr 22, 2021
Merged

Initial documentation #20

merged 13 commits into from Apr 22, 2021

Conversation

manjavacas
Copy link
Collaborator

Energym documentation is out!

imagen

Here is a first version of the documentation, with some important changes:

  • The vast majority of the current source code have been documented using Sphinx. I've followed Google standard due to its readability, but it can be changed to any format we want by simply using Sphinx plugins.
  • The README has been updated with additional information (ie. VS container).
  • Part of the code has been cleaned up and reformatted.

In this first version, the documentation is organized similarly to the README and contains almost the same content. The objective will be to complete the documentation with more sections as we come up with.

In order to compile the documentation and use the ReadTheDocs theme you need to install:

pip install sphinx
pip install sphinx_rtd_theme

These dependencies could be added to the container.

In the build folder you will find the last html files associated with the documentation. To view them open: doc/build/html/index.html (here).

Here is a preview:

imagen

imagen

imagen

The project documentation should be ready to be exported to ReadTheDocs as soon as we have this first version in the master branch.

I look forward to your comments!

Cheers

@manjavacas manjavacas added the documentation Improvements or additions to documentation label Apr 22, 2021
@miguems
Copy link
Collaborator

miguems commented Apr 22, 2021

Great job! As the readme is quickly growing in size, we should add a table of contents at the beginning.
Apparently cannot be done automatically in Github, but vscode can help

@jgromero
Copy link
Collaborator

Looks very good!

@jajimer jajimer merged commit e0e187c into main Apr 22, 2021
@jajimer
Copy link
Collaborator

jajimer commented Apr 22, 2021

Awesome! :)

@miguems miguems deleted the documentation branch April 24, 2021 09:52
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
None yet
Development

Successfully merging this pull request may close these issues.

Document the use with vscode Documentation
4 participants