Skip to content
Snippets Groups Projects
Commit 33c52277 authored by Gorka Fraga Gonzalez's avatar Gorka Fraga Gonzalez :seedling:
Browse files

cleaned up old references

parent 137e945e
No related branches found
No related tags found
No related merge requests found
Pipeline #407768 failed
......@@ -19,7 +19,7 @@ pages:
script:
- mkdir -p public/
- cp -r ./contents/ORD_index/Images* public/
- cp -r ./ORD_index/Images* public/
- R -e "quarto::quarto_render(); sessionInfo()"
- mkdir public
- mv ./_site/* ./public/
......
......@@ -14,7 +14,7 @@ format:
---
This is a demo of a data index that allows to navigate through a table with metadata and thumbnail images. The idea is to facilitate finding and sharing your data. Visit our [Tutorials page](https://crsuzh.pages.uzh.ch/AFFORD_website/contents/tutorials/) for more details on the workflow of producing such a data index. In short, for the index you need: (1) a source table of structured metadata (2) if you are to display thumbnails you need the picture files (3) some R code to render the table interactive with the package [DT](https://rstudio.github.io/DT/) and (4) R Quarto to output the table as an HTML page.
This is a demo of a data index that allows to navigate through a table with metadata and thumbnail images. The idea is to facilitate finding and sharing your data. Visit our [Tutorials page](https://crsuzh.pages.uzh.ch/AFFORD_website/tutorials/) for more details on the workflow of producing such a data index. In short, for the index you need: (1) a source table of structured metadata (2) if you are to display thumbnails you need the picture files (3) some R code to render the table interactive with the package [DT](https://rstudio.github.io/DT/) and (4) R Quarto to output the table as an HTML page.
::: {.callout-note collapse=true}
#### More information about this example
......@@ -27,10 +27,7 @@ This demo uses a dummy dataset, i.e., the source metadata table and images have
- Adding some HTML code to a column value (in this case filenames) to render the images (the same approach would be done to render hyperlinks).
:::
::: {.callout-important collapse=false}
You will find the documentation of the dummy data in the repository [Wiki](https://gitlab.uzh.ch/crsuzh/AFFORD_website/-/wikis/home)
:::
```{r readtable}
#| include: false
library(dplyr)
......@@ -65,7 +62,7 @@ tbl_joined <- full_join(x=tbl,
```{r addhtml}
#| include: false
# define image paths
pic_folder <- 'https://gitlab.uzh.ch/crsuzh/afford_website/-/tree/master/Docs/contents/ORD_index/Images'
pic_folder <- 'https://gitlab.uzh.ch/crsuzh/afford_website/-/tree/master/Docs/ORD_index/Images'
pic_fullpath <- file.path(pic_folder,tbl_joined$fname)
pic_relpath <- file.path('..','..','Images',tbl_joined$fname)
......
%% Cell type:markdown id:87ea20e7 tags:
# Let us know {.unnumbered}
```{html}
<iframe width="640px" height="480px" src="https://forms.office.com/Pages/ResponsePage.aspx?id=2zjkx2LkIkypCsNYsWmAswUwJW7ZD0ZKoSLvAZeFwxRURTk1Rkc3T1BGWFpJNDRJWVNZRkJZN081QSQlQCN0PWcu&embed=true" frameborder="0" marginwidth="0" marginheight="0" style="border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>
```
......@@ -59,7 +59,7 @@ page-layout: article
::: {#main-listing}
:::
[Learn more about us](contents/about/index.html)
[Learn more about us](/about/index.html)
::: {.callout-note appearance="minimal" collapse="true"}
......
......@@ -27,10 +27,9 @@ pages:
- R -e "remotes::install_version('crosstalk', version = '1.2.1')"
- R -e "remotes::install_version('DT', version = '0.32')"
- mkdir -p public/
- cp -r ./Docs/contents/ORD_index/Images* public/
- cp -r ./contents/ORD_index/Images* public/
script:
- cd Docs
script:
- R -e "quarto::quarto_render(); sessionInfo()"
- mv ./_site/* ../public/
......
......@@ -38,7 +38,7 @@ website:
left: |
Created by the [YOURTEAM](URL to your team's website)
center: |
[About Us](contents/about/index.html)
[About Us](about/index.html)
right: |
This is a website under the [LICENSE NAME](URL to license web)
......@@ -87,7 +87,7 @@ website:
left: |
Created by the [YOURTEAM](URL to your team's website)
center: |
[About Us](contents/about/index.html)
[About Us](about/index.html)
right: |
This is a website under the [LICENSE NAME](URL to license web)
......
%% Cell type:raw id:d3c6bb5e tags:
---
listing:
categories: true
type: table
id: main-listing
fields: [title, subtitle, date]
sort-ui: true
filter-ui: true
contents: Tutorial*.qmd
---
%% Cell type:markdown id:2151479f tags:
# Tutorials {.unnumbered}
A series of practical tutorials for managing Open Research Data.
Use the table below or the left side bar to navigate through all tutorials.
:::{#main-listing}
:::
## Version control
:::{#git-listing}
:::
```{yml}
---
listing:
categories: true
type: table
id: git-listing
fields: [title, subtitle, date]
sort-ui: true
filter-ui: true
contents: Tutorial*.Git.qmd
---
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment