You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,7 +233,7 @@ More information regarding the app and builds can be found in the
233
233
234
234
VueGen’s functionality is demonstrated through two case studies:
235
235
236
-
**1. Predefined Directory**
236
+
### 1. Predefined Directory
237
237
238
238
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.
239
239
@@ -242,7 +242,7 @@ This introductory case study uses a predefined directory with plots, dataframes,
242
242
> [!NOTE]
243
243
> 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.
244
244
245
-
**2. Earth Microbiome Project Data**
245
+
### 2. Earth Microbiome Project Data
246
246
247
247
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.
248
248
@@ -252,7 +252,7 @@ This advanced case study demonstrates the application of VueGen in a real-world
252
252
> The EMP case study is available online as [HTML][emp-html-demo] and [Streamlit][emp-st-demo] reports.
253
253
> 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.
254
254
255
-
**3. ChatBot Component**
255
+
### 3. ChatBot Component
256
256
257
257
This case study highlights VueGen’s capability to embed a chatbot component into a report subsection,
258
258
enabling interactive conversations inside the report.
@@ -285,9 +285,17 @@ to support more flexible and general-purpose response formats in future releases
285
285
286
286
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:
287
287
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.
291
299
292
300
These options provide flexibility depending on whether the goal is online accessibility, lightweight execution, or local application distribution.
293
301
@@ -361,7 +369,7 @@ We appreciate your feedback! If you have any comments, suggestions, or run into
sphinx-build -n -W --keep-going -b html ./ ./_build/
32
32
```
33
33
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.
35
37
36
38
Relative links are used in the main README, which need to be resolved when building. It's
37
39
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
0 commit comments