Skip to content

Commit 468c9af

Browse files
committed
📝 Updated main and docs README files and remove docs/sections_readme folder
1 parent 822e447 commit 468c9af

File tree

11 files changed

+21
-332
lines changed

11 files changed

+21
-332
lines changed

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ More information regarding the app and builds can be found in the
233233

234234
VueGen’s functionality is demonstrated through two case studies:
235235

236-
**1. Predefined Directory**
236+
### 1. Predefined Directory
237237

238238
This introductory case study uses a predefined directory with plots, dataframes, Markdown, and HTML components. Users can generate reports in different formats and modify the configuration file to customize the report structure.
239239

@@ -242,7 +242,7 @@ This introductory case study uses a predefined directory with plots, dataframes,
242242
> [!NOTE]
243243
> The [configuration file][predef-dir-config] is available in the `docs/example_config_files` folder, and the [directory][predef-dir] with example data is in the `docs/example_data` folder.
244244
245-
**2. Earth Microbiome Project Data**
245+
### 2. Earth Microbiome Project Data
246246

247247
This advanced case study demonstrates the application of VueGen in a real-world scenario using data from the [Earth Microbiome Project (EMP)][emp]. The EMP is an initiative to characterize global microbial taxonomic and functional diversity. The notebook process the EMP data, create plots, dataframes, and other components, and organize outputs within a directory to produce reports. Report content and structure can be adapted by modifying the configuration file. Each report consists of sections on exploratory data analysis, metagenomics, and network analysis.
248248

@@ -252,7 +252,7 @@ This advanced case study demonstrates the application of VueGen in a real-world
252252
> The EMP case study is available online as [HTML][emp-html-demo] and [Streamlit][emp-st-demo] reports.
253253
> The [configuration file][emp-config] is available in the `docs/example_config_files` folder, and the [directory][emp-dir] with example data is in the `docs/example_data` folder.
254254
255-
**3. ChatBot Component**
255+
### 3. ChatBot Component
256256

257257
This case study highlights VueGen’s capability to embed a chatbot component into a report subsection,
258258
enabling interactive conversations inside the report.
@@ -285,9 +285,17 @@ to support more flexible and general-purpose response formats in future releases
285285

286286
Once a Streamlit report is generated, it can be deployed as a web application to make it accessible online. There are multiple ways to achieve this:
287287

288-
- **Streamlit Community Cloud**: Deploy your report easily using [Streamlit Cloud][st-cloud], as demonstrated in the [EMP VueGen Demo][emp-st-demo]. The process involves moving the necessary scripts, data, and a requirements.txt file into a GitHub repository. Then, the app can be deployed via the Streamlit Cloud interface. The deployment example is available in the `streamlit-report-example` branch.
289-
- **Standalone Executables**: Convert your Streamlit application into a desktop app by packaging it as an executable file for different operating systems. A detailed explanation of this process can be found in this [Streamlit forum post][st-forum-exe].
290-
- **Stlite**: Run Streamlit apps directly in the browser with [stlite][stlite], a WebAssembly port of Streamlit powered by Pyodide, eliminating the need for a server. It also allows packaging apps as standalone desktop executables using stlite desktop.
288+
### Streamlit Community Cloud
289+
290+
Deploy your report easily using [Streamlit Cloud][st-cloud], as demonstrated in the [EMP VueGen Demo][emp-st-demo]. The process involves moving the necessary scripts, data, and a requirements.txt file into a GitHub repository. Then, the app can be deployed via the Streamlit Cloud interface. The deployment example is available in the `streamlit-report-example` branch.
291+
292+
### Standalone Executables
293+
294+
Convert your Streamlit application into a desktop app by packaging it as an executable file for different operating systems. A detailed explanation of this process can be found in this [Streamlit forum post][st-forum-exe].
295+
296+
### Stlite
297+
298+
Run Streamlit apps directly in the browser with [stlite][stlite_repo], a WebAssembly port of Streamlit powered by Pyodide, eliminating the need for a server. It also allows packaging apps as standalone desktop executables using stlite desktop.
291299

292300
These options provide flexibility depending on whether the goal is online accessibility, lightweight execution, or local application distribution.
293301

@@ -361,7 +369,7 @@ We appreciate your feedback! If you have any comments, suggestions, or run into
361369
[emp-config]: https://github.com/Multiomics-Analytics-Group/vuegen/blob/main/docs/example_config_files/Earth_microbiome_vuegen_demo_notebook_config
362370
[emp-dir]: https://github.com/Multiomics-Analytics-Group/vuegen/blob/main/docs/example_data/Earth_microbiome_vuegen_demo_notebook
363371
[st-cloud]: https://streamlit.io/cloud
364-
[stlite]: https://github.com/whitphx/stlite
372+
[stlite_repo]: https://github.com/whitphx/stlite
365373
[st-forum-exe]: https://discuss.streamlit.io/t/streamlit-deployment-as-an-executable-file-exe-for-windows-macos-and-android/6812
366374
[Mona]: https://multiomics-analytics-group.github.io/
367375
[Biosustain]: https://www.biosustain.dtu.dk/

docs/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
In order to build the docs you need to
44

5-
1. install sphinx and additional support packages
6-
2. build the package reference files
7-
3. run sphinx to create a local html version
5+
1. Install sphinx and additional support packages
6+
2. Build the package reference files
7+
3. Run sphinx to create a local html version
88

99
The documentation is build using readthedocs automatically.
1010

@@ -31,7 +31,9 @@ sphinx-apidoc --force --implicit-namespaces --module-first -o reference ../src/v
3131
sphinx-build -n -W --keep-going -b html ./ ./_build/
3232
```
3333

34-
## Include repo README.md into docs
34+
## Include repo README into docs
35+
36+
The README is included in the `Overview` section of the docs. We created a [Python script](https://github.com/Multiomics-Analytics-Group/vuegen/blob/split-readme-docs/docs/split_readme.py) to split the README sections into separate md files, stored in `docs/sections_readme`. The `index.md` file contains the structure of the docs with the generated sections and additional information.
3537

3638
Relative links are used in the main README, which need to be resolved when building. It's
3739
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

docs/sections_readme/about.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/sections_readme/case_studies.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

docs/sections_readme/citation.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/sections_readme/credits.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/sections_readme/execution.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

docs/sections_readme/gui.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)