Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions README.md
Copy link
Collaborator

@sayalaruano sayalaruano Dec 13, 2024

Choose a reason for hiding this comment

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

In the README, should we just keep one of the ways of loading the images, either the md or html?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, we can if that is okay with you. I did not yet wanted to delete it, but I could not get it to work with the div section. You can try to find out if you want

Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<div align="center">
<img width="300px" src="docs/images/vuegen_logo.svg">
</div>

<!-- <div align="center">
<img width="300px" src="images/vuegen_logo.svg">
</div> -->
![VueGen Logo](docs/images/vuegen_logo.svg)
-----------------

<p align="center">
VueGen is a Python library that automates the creation of scientific reports.
</p>
Expand All @@ -19,19 +18,22 @@ VueGen automates the creation of scientific reports based on a YAML configuratio

An overview of the VueGen workflow is shown in the figure below:

<p align="center">
<!-- <p align="center">
<figure>
<img width="650px" src="docs/images/vuegen_graph_abstract.png" alt="VueGen overview"/>
<img width="650px" src="images/vuegen_graph_abstract.png" alt="VueGen overview"/>
</figure>
</p>
</p> -->
![VueGen Abstract](docs/images/vuegen_graph_abstract.png)

Also, the class diagram for the project is presented below to illustrate the architecture and relationships between classes:

<p align="center">
<!-- <p align="center">
<figure>
<img width="650px" src="docs/images/vuegen_classdiagram_noattmeth.png" alt="VueGen class diagram"/>
<img width="650px" src="images/vuegen_classdiagram_noattmeth.png" alt="VueGen class diagram"/>
</figure>
</p>
</p> -->

![VueGen Class Diagram](docs/images/vuegen_classdiagram_noattmeth.png)

## Installation

Expand Down
7 changes: 7 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ sphinx-apidoc --force --implicit-namespaces --module-first -o reference ../vuege
# build docs
sphinx-build -n -W --keep-going -b html ./ ./_build/
```

## Include repo README.md into docs

Relative links are used in the main README, which need to be resolved when building. It's
possible to include the a `relative-docs` option if one uses `index.md` ([see docs](https://myst-parser.readthedocs.io/en/latest/faq/index.html#include-a-file-from-outside-the-docs-folder-like-readme-md)). This does not work
with `href` links, only native markdown links.

25 changes: 25 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Overview

<!-- https://myst-parser.readthedocs.io/en/latest/faq/index.html
#include-a-file-from-outside-the-docs-folder-like-readme-md -->
```{include} ../README.md
:start-line: 0
:relative-docs: docs
:relative-images:
```

```{toctree}
:maxdepth: 2
:caption: Modules
:hidden:
reference/vuegen
```

```{toctree}
:maxdepth: 1
:caption: MISC:
:hidden:
README.md
```
19 changes: 0 additions & 19 deletions docs/index.rst

This file was deleted.

Loading