Skip to content

Commit 9558a7d

Browse files
committed
🎨 format markdowns
1 parent f90e4a5 commit 9558a7d

File tree

2 files changed

+172
-171
lines changed

2 files changed

+172
-171
lines changed

docs/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Docs creation
22

3-
In order to build the docs you need to
3+
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

@@ -18,12 +18,13 @@ poetry install --with docs
1818

1919
## Build docs using Sphinx command line tools
2020

21-
Command to be run from `path/to/docs`, i.e. from within the `docs` package folder:
21+
Command to be run from `path/to/docs`, i.e. from within the `docs` package folder:
2222

2323
Options:
24-
- `--separate` to build separate pages for each (sub-)module
2524

26-
```bash
25+
- `--separate` to build separate pages for each (sub-)module
26+
27+
```bash
2728
# pwd: docs
2829
# apidoc
2930
sphinx-apidoc --force --implicit-namespaces --module-first -o reference ../src/vuegen
@@ -38,4 +39,3 @@ The README is included in the `Overview` section of the docs. We created a [Pyth
3839
Relative links are used in the main README, which need to be resolved when building. It's
3940
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
4041
with `href` links, only native markdown links.
41-
Lines changed: 164 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Predefined Directory Case Study - Configuration File
22

3-
The [configuration file](https://github.com/Multiomics-Analytics-Group/vuegen/blob/main/docs/example_config_files/Basic_example_vuegen_demo_notebook_config.yaml) of the basic case study using a predefined directory is presented below:
3+
The [configuration file](https://github.com/Multiomics-Analytics-Group/vuegen/blob/main/docs/example_config_files/Basic_example_vuegen_demo_notebook_config.yaml) of the basic case study using a predefined directory is presented below:
44

55
```yaml
66
report:
@@ -9,168 +9,169 @@ report:
99
graphical_abstract: https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_logo.svg
1010
logo: https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_logo.svg
1111
sections:
12-
- title: Plots
13-
description: This section contains example plots.
14-
subsections:
15-
- title: Interactive Plots
16-
description: Optional description for section.
17-
components:
18-
- title: Top Species Plot By Biome Plotly
19-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/1_top_species_plot_by_biome_plotly.json
20-
description: ''
21-
caption: ''
22-
component_type: plot
23-
plot_type: plotly
24-
- title: Multiline Plot Altair
25-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/2_multiline_plot_altair.json
26-
description: ''
27-
caption: ''
28-
component_type: plot
29-
plot_type: altair
30-
- title: Pie Plot Countries Plotly
31-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/3_pie_plot_countries_plotly.json
32-
description: ''
33-
caption: ''
34-
component_type: plot
35-
plot_type: plotly
36-
- title: Pie Plots Biomes Plotly
37-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/4_pie_plots_biomes_plotly.json
38-
description: ''
39-
caption: ''
40-
component_type: plot
41-
plot_type: plotly
42-
- title: Saline Metagenomics Samples Map Altair
43-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/5_saline_metagenomics_samples_map_altair.json
44-
description: ''
45-
caption: ''
46-
component_type: plot
47-
plot_type: altair
48-
- title: Description
49-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/description.md
50-
description: ''
51-
caption: ''
52-
component_type: markdown
53-
- title: Static Plots
54-
description: ''
55-
components:
56-
- title: Number Samples Per Study
57-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/2_Static_plots/1_number_samples_per_study.png
58-
description: ''
59-
caption: ''
60-
component_type: plot
61-
plot_type: static
62-
- title: Animal Metagenomics Samples Map
63-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/2_Static_plots/2_animal_metagenomics_samples_map.png
64-
description: ''
65-
caption: ''
66-
component_type: plot
67-
plot_type: static
68-
- title: Alpha Diversity Host Associated Samples
69-
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/2_Static_plots/3_alpha_diversity_host_associated_samples.png
70-
description: ''
71-
caption: ''
72-
component_type: plot
73-
plot_type: static
74-
- title: "Graphical overview of VueGen workflow and components"
75-
file_path: https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_graph_abstract.png
76-
description: ''
77-
caption: The diagram illustrates the processing pipeline of VueGen, starting
78-
from either a directory or a YAML configuration file. Reports consist of hierarchical
79-
sections and subsections, each containing various components such as plots,
80-
dataframes, Markdown, HTML, and data retrieved via API calls.
81-
component_type: plot
82-
plot_type: static
83-
- title: Dataframes
84-
description: ''
85-
subsections:
86-
- title: All Formats
87-
description: This subsection contains example dataframes.
88-
components:
89-
- title: Phyla Correlation Network Csv
90-
file_path: example_data/Basic_example_vuegen_demo_notebook/2_Dataframes/1_All_formats/1_phyla_correlation_network_csv.csv
91-
description: ''
92-
caption: ''
93-
component_type: dataframe
94-
file_format: csv
95-
delimiter: ','
96-
- title: Abundance Table Example Xls
97-
file_path: example_data/Basic_example_vuegen_demo_notebook/2_Dataframes/1_All_formats/2_abundance_table_example_xls.xls
98-
description: ''
99-
caption: ''
100-
component_type: dataframe
101-
file_format: xls
102-
- title: Sample Info Example Txt
103-
file_path: example_data/Basic_example_vuegen_demo_notebook/2_Dataframes/1_All_formats/3_sample_info_example_txt.txt
104-
description: ''
105-
caption: ''
106-
component_type: dataframe
107-
file_format: txt
108-
delimiter: \t
109-
- title: Sample Info Example Parquet
110-
file_path: example_data/Basic_example_vuegen_demo_notebook/2_Dataframes/1_All_formats/4_sample_info_example_parquet.parquet
111-
description: ''
112-
caption: ''
113-
component_type: dataframe
114-
file_format: parquet
115-
- title: Networks
116-
description: ''
117-
subsections:
118-
- title: Interactive Networks
119-
description: Optional description for subsection
120-
components:
121-
- title: Man Example
122-
file_path: example_data/Basic_example_vuegen_demo_notebook/3_Networks/1_Interactive_networks/1_man_example.graphml
123-
description: ''
124-
caption: ''
125-
component_type: plot
126-
plot_type: interactive_network
127-
- title: Description
128-
file_path: example_data/Basic_example_vuegen_demo_notebook/3_Networks/1_Interactive_networks/description.md
129-
description: ''
130-
caption: ''
131-
component_type: markdown
132-
- title: Static Networks
133-
description: ''
134-
components:
135-
- title: Phyla Correlation Network
136-
file_path: example_data/Basic_example_vuegen_demo_notebook/3_Networks/2_Static_networks/1_phyla_correlation_network.png
137-
description: ''
138-
caption: ''
139-
component_type: plot
140-
plot_type: static
141-
- title: Html
142-
description: ''
143-
subsections:
144-
- title: All Html
145-
description: ''
146-
components:
147-
- title: Plot
148-
file_path: example_data/Basic_example_vuegen_demo_notebook/4_Html/1_All_html/1_plot.html
149-
description: ''
150-
caption: ''
151-
component_type: html
152-
- title: Ckg Network
153-
file_path: example_data/Basic_example_vuegen_demo_notebook/4_Html/1_All_html/2_ckg_network.html
154-
description: ''
155-
caption: ''
156-
component_type: plot
157-
plot_type: interactive_network
158-
- title: Multiqc Report
159-
file_path: example_data/Basic_example_vuegen_demo_notebook/4_Html/1_All_html/3_multiqc_report.html
160-
description: ''
161-
caption: ''
162-
component_type: html
163-
- title: Markdown
164-
description: ''
165-
subsections:
166-
- title: All Markdown
167-
description: ''
168-
components:
169-
- title: Readme
170-
file_path: example_data/Basic_example_vuegen_demo_notebook/5_Markdown/1_All_markdown/README.md
171-
description: ''
172-
caption: ''
173-
component_type: markdown
12+
- title: Plots
13+
description: This section contains example plots.
14+
subsections:
15+
- title: Interactive Plots
16+
description: Optional description for section.
17+
components:
18+
- title: Top Species Plot By Biome Plotly
19+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/1_top_species_plot_by_biome_plotly.json
20+
description: ""
21+
caption: ""
22+
component_type: plot
23+
plot_type: plotly
24+
- title: Multiline Plot Altair
25+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/2_multiline_plot_altair.json
26+
description: ""
27+
caption: ""
28+
component_type: plot
29+
plot_type: altair
30+
- title: Pie Plot Countries Plotly
31+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/3_pie_plot_countries_plotly.json
32+
description: ""
33+
caption: ""
34+
component_type: plot
35+
plot_type: plotly
36+
- title: Pie Plots Biomes Plotly
37+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/4_pie_plots_biomes_plotly.json
38+
description: ""
39+
caption: ""
40+
component_type: plot
41+
plot_type: plotly
42+
- title: Saline Metagenomics Samples Map Altair
43+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/5_saline_metagenomics_samples_map_altair.json
44+
description: ""
45+
caption: ""
46+
component_type: plot
47+
plot_type: altair
48+
- title: Description
49+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/1_Interactive_plots/description.md
50+
description: ""
51+
caption: ""
52+
component_type: markdown
53+
- title: Static Plots
54+
description: ""
55+
components:
56+
- title: Number Samples Per Study
57+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/2_Static_plots/1_number_samples_per_study.png
58+
description: ""
59+
caption: ""
60+
component_type: plot
61+
plot_type: static
62+
- title: Animal Metagenomics Samples Map
63+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/2_Static_plots/2_animal_metagenomics_samples_map.png
64+
description: ""
65+
caption: ""
66+
component_type: plot
67+
plot_type: static
68+
- title: Alpha Diversity Host Associated Samples
69+
file_path: example_data/Basic_example_vuegen_demo_notebook/1_Plots/2_Static_plots/3_alpha_diversity_host_associated_samples.png
70+
description: ""
71+
caption: ""
72+
component_type: plot
73+
plot_type: static
74+
- title: "Graphical overview of VueGen workflow and components"
75+
file_path: https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_graph_abstract.png
76+
description: ""
77+
caption:
78+
The diagram illustrates the processing pipeline of VueGen, starting
79+
from either a directory or a YAML configuration file. Reports consist of hierarchical
80+
sections and subsections, each containing various components such as plots,
81+
dataframes, Markdown, HTML, and data retrieved via API calls.
82+
component_type: plot
83+
plot_type: static
84+
- title: Dataframes
85+
description: ""
86+
subsections:
87+
- title: All Formats
88+
description: This subsection contains example dataframes.
89+
components:
90+
- title: Phyla Correlation Network Csv
91+
file_path: example_data/Basic_example_vuegen_demo_notebook/2_Dataframes/1_All_formats/1_phyla_correlation_network_csv.csv
92+
description: ""
93+
caption: ""
94+
component_type: dataframe
95+
file_format: csv
96+
delimiter: ","
97+
- title: Abundance Table Example Xls
98+
file_path: example_data/Basic_example_vuegen_demo_notebook/2_Dataframes/1_All_formats/2_abundance_table_example_xls.xls
99+
description: ""
100+
caption: ""
101+
component_type: dataframe
102+
file_format: xls
103+
- title: Sample Info Example Txt
104+
file_path: example_data/Basic_example_vuegen_demo_notebook/2_Dataframes/1_All_formats/3_sample_info_example_txt.txt
105+
description: ""
106+
caption: ""
107+
component_type: dataframe
108+
file_format: txt
109+
delimiter: \t
110+
- title: Sample Info Example Parquet
111+
file_path: example_data/Basic_example_vuegen_demo_notebook/2_Dataframes/1_All_formats/4_sample_info_example_parquet.parquet
112+
description: ""
113+
caption: ""
114+
component_type: dataframe
115+
file_format: parquet
116+
- title: Networks
117+
description: ""
118+
subsections:
119+
- title: Interactive Networks
120+
description: Optional description for subsection
121+
components:
122+
- title: Man Example
123+
file_path: example_data/Basic_example_vuegen_demo_notebook/3_Networks/1_Interactive_networks/1_man_example.graphml
124+
description: ""
125+
caption: ""
126+
component_type: plot
127+
plot_type: interactive_network
128+
- title: Description
129+
file_path: example_data/Basic_example_vuegen_demo_notebook/3_Networks/1_Interactive_networks/description.md
130+
description: ""
131+
caption: ""
132+
component_type: markdown
133+
- title: Static Networks
134+
description: ""
135+
components:
136+
- title: Phyla Correlation Network
137+
file_path: example_data/Basic_example_vuegen_demo_notebook/3_Networks/2_Static_networks/1_phyla_correlation_network.png
138+
description: ""
139+
caption: ""
140+
component_type: plot
141+
plot_type: static
142+
- title: Html
143+
description: ""
144+
subsections:
145+
- title: All Html
146+
description: ""
147+
components:
148+
- title: Plot
149+
file_path: example_data/Basic_example_vuegen_demo_notebook/4_Html/1_All_html/1_plot.html
150+
description: ""
151+
caption: ""
152+
component_type: html
153+
- title: Ckg Network
154+
file_path: example_data/Basic_example_vuegen_demo_notebook/4_Html/1_All_html/2_ckg_network.html
155+
description: ""
156+
caption: ""
157+
component_type: plot
158+
plot_type: interactive_network
159+
- title: Multiqc Report
160+
file_path: example_data/Basic_example_vuegen_demo_notebook/4_Html/1_All_html/3_multiqc_report.html
161+
description: ""
162+
caption: ""
163+
component_type: html
164+
- title: Markdown
165+
description: ""
166+
subsections:
167+
- title: All Markdown
168+
description: ""
169+
components:
170+
- title: Readme
171+
file_path: example_data/Basic_example_vuegen_demo_notebook/5_Markdown/1_All_markdown/README.md
172+
description: ""
173+
caption: ""
174+
component_type: markdown
174175
```
175176
176177
The directory with he example data is available in the [GitHub repository](https://github.com/Multiomics-Analytics-Group/vuegen/blob/main/docs/example_data/Basic_example_vuegen_demo_notebook).

0 commit comments

Comments
 (0)