Skip to content

Commit d23b1b9

Browse files
authored
Merge pull request #1396 from dodona-edu/docs/update-v2.5
Update documentation website
2 parents 8ac2dac + e95fe88 commit d23b1b9

File tree

19 files changed

+578
-397
lines changed

19 files changed

+578
-397
lines changed

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,13 @@ Dolos is a [web app](https://dolos.ugent.be) that analyses source code files for
3333
In addition, it offers a command-line interface to run an analysis locally, showing the interactive user interface in your browser by launching a local webserver.
3434
The analysis results are available in machine readable CSV files and Dolos can be integrated as a [JavaScript library](https://www.npmjs.com/package/@dodona/dolos-lib) in other applications empowering users to integrate plagiarism detection in their personal workflow.
3535

36-
Try Dolos on <https://dolos.ugent.be>.
36+
You can use our free to use instance of Dolos on <https://dolos.ugent.be>.
3737

3838
## Self-hosting Dolos
3939

40-
We provide an instance of the Dolos web app free of charge at <https://dolos.ugent.be>.
41-
There are no hidden costs and we do not sell, distribute or abuse data in it in any way.
40+
As Dolos is open source, it is also possible to host the Dolos web app.
4241

43-
Dolos is fully open-source and you can self-host your own instance.
44-
The simplest way to self-host dolos, is by using the `docker-compose.yml` configuration in the root of this repository:
45-
46-
1. Ensure [Docker Engine](https://docs.docker.com/engine/install/) and [Docker Compose](https://docs.docker.com/compose/install/) are installed on the system where you will be running Dolos on.
47-
2. The compose-file is configured to run on localhost only. If you want to host Dolos publicly, change the corresponding configuration in the compose file.
48-
3. Run `docker-compose build` in this directory to pull and fetch all needed container images.
49-
4. Run `docker-compose up` to start the services.
50-
51-
If you encounter any issues during the setup, please get in touch.
42+
Follow our instructions on <https://dolos.ugent.be/docs>.
5243

5344
## Local installation with Dolos CLI
5445

docs/.vitepress/components/PublicationsPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const props = defineProps<{
1010
<template>
1111
<div class="hero">
1212
<h1 class="hero-title">Publications</h1>
13-
<p class="hero-lead">Dolos is developed by <a href="https://dodona.ugent.be/en/about/">Team Dodona</a> at Ghent University in Belgium. Our research is published in the following journals and conferences.</p>
13+
<p class="hero-lead">Dolos is developed by <a href="https://dodona.be/en/about/">Team Dodona</a> at Ghent University in Belgium. Our research is published in the following journals and conferences.</p>
1414
</div>
1515
<slot />
1616
</template>

docs/.vitepress/config.ts

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,31 @@ export default defineConfig({
1010
],
1111

1212
themeConfig: {
13-
// https://vitepress.dev/reference/default-theme-config
14-
1513
nav: [
16-
{ text: 'Documentation', link: '/guide/' },
17-
{ text: 'Examples', link: '/try/' },
14+
{ text: 'Documentation', link: '/docs/' },
15+
{ text: 'Examples', link: '/demo/' },
1816
{ text: 'Use Dolos', link: 'https://dolos.ugent.be/server' },
1917
],
2018

2119
sidebar: [
22-
{ text: "Introduction", link: "/guide/" },
20+
{ text: "Introduction", link: "/docs/" },
2321
{
2422
text: 'Dolos',
2523
items: [
26-
{ text: 'Use Dolos', link: '/guide/server' },
27-
{ text: 'Use case: Dodona', link: '/guide/dodona' },
24+
{ text: 'Use Dolos', link: '/docs/server' },
25+
{ text: 'Use case: Dodona', link: '/docs/dodona' },
26+
{ text: 'Self-host Dolos', link: '/docs/hosting-dolos' },
2827
]
2928
},
3029
{
3130
text: 'Dolos CLI & Library',
3231
items: [
33-
{ text: 'Install Dolos CLI', link: '/guide/installation' },
34-
{ text: 'Use Dolos CLI', link: '/guide/running' },
35-
{ text: 'Run Dolos CLI using docker', link: '/guide/docker' },
36-
{ text: 'Add metadata', link: '/guide/adding-metadata' },
37-
{ text: 'Add new languages', link: '/guide/adding-languages' },
38-
{ text: 'Use the Dolos library', link: '/guide/library' },
32+
{ text: 'Install Dolos CLI', link: '/docs/installation' },
33+
{ text: 'Use Dolos CLI', link: '/docs/running' },
34+
{ text: 'Run Dolos CLI using docker', link: '/docs/docker' },
35+
{ text: 'Add metadata', link: '/docs/adding-metadata' },
36+
{ text: 'Add new languages', link: '/docs/adding-languages' },
37+
{ text: 'Use the Dolos library', link: '/docs/library' },
3938
]
4039
},
4140
{
@@ -44,10 +43,10 @@ export default defineConfig({
4443
{ text: 'How Dolos works', link: '/about/algorithm' },
4544
{ text: 'Supported programming languages', link: '/about/languages' },
4645
{ text: 'Research publications', link: '/about/publications' },
46+
{ text: 'Contact us', link: '/about/contact' },
4747
]
4848
}
4949
],
50-
5150
socialLinks: [
5251
{ icon: 'github', link: 'https://github.com/dodona-edu/dolos' }
5352
],

docs/about/contact.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Contact us
2+
3+
We would love to hear from you how you are using Dolos and we stand by to help should any problem arise.
4+
5+
Dolos is developed by [Team Dodona](https://dodona.be/en/about/), you can contact us by choosing one of the options below:
6+
7+
- [Open a discussion on GitHub](https://github.com/dodona-edu/dolos/discussions) for general questions and support.
8+
- [Create an issue on GitHub](https://github.com/dodona-edu/dolos/issues/new/choose) for bug reports, feature requests or language requests.
9+
- [Send us a message](https://dodona.be/en/contact/) if you have a private question, security issue, or to say hi.
10+
11+
We welcome pull requests, invitations for research contributions, and [donations](https://dodona.be/en/support-us/).

docs/about/languages.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@ Dolos and Dolos CLI have out-of-the-box support for the most commonly used progr
3838
## Requesting support for a new language
3939

4040
If you're using Dolos and your programming language of choice is not in the above list, you can request support
41-
on our [issue tracker on GitHub](https://github.com/dodona-edu/dolos/issues/1029) or [by sending us an email](mailto:dodona@ugent.be).
41+
on our [issue tracker on GitHub](https://github.com/dodona-edu/dolos/issues/1029) or [by contacting us](/about/contact).
4242

4343
## Adding a language locally
4444

45-
If you don't want to wait on our support to add a new language, you can also add it yourself by running the [Dolos CLI](/guide/installation) and [installing additional parsers locally](/guide/adding-languages.md).
45+
If you don't want to wait on our support to add a new language, you can also add it yourself by running the [Dolos CLI](/docs/installation) and [installing additional parsers locally](/docs/adding-languages.md).
4646

47-
Please let us know if you've been successful, so we can officially add support for the language in our next release of Dolos.
48-
If you need help, contact us [on GitHub](https://github.com/dodona-edu/dolos/issues/1029) or [by sending us an email](mailto:dodona@ugent.be).
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ On this page you can find the results of a plagiarism analysis for a few differe
77

88
## Try on your own data!
99

10-
If you want to run Dolos yourself, you can follow our [quick start guide](/guide/server.md).
10+
If you want to run Dolos yourself, you can follow our [quick start guide](/docs/server.md).
1111

1212
## Classroom dataset
1313

@@ -46,7 +46,7 @@ Analysis performed on all 392 submissions for a mandatory assignment. Communicat
4646

4747
## Benchmark dataset
4848

49-
These reports shows how Dolos performs on the [SOCO dataset](https://pan.webis.de/fire14/pan14-web/soco.html). The inputs of Dolos were enhanced by adding [labels](../guide/running.html#adding-metadata)
49+
These reports shows how Dolos performs on the [SOCO dataset](https://pan.webis.de/fire14/pan14-web/soco.html). The inputs of Dolos were enhanced by adding [labels](../docs/running.html#adding-metadata)
5050
indicating whether a file is involved in plagiarism (orange) or not (blue).
5151

5252
Note that these labels were added manually by experts, but they might not be fully accurate. Some submissions look very similar although they are not labeled as plagiarism.
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
Dolos is built on top of a [generic parser model](/about/languages.md) to achieve loose coupling with specific programming languages.
44
As a result, it is fairly easy to add support for additional programming languages if a suitable parser is available.
55

6-
Dolos automatically discovers the available [Tree-sitter parsers](https://tree-sitter.github.io/tree-sitter/) on the local system at runtime.
7-
As such, adding support for a new language comes down to installing a Tree-sitter parser for that language in the `node_modules` on your system (Dolos searches `NODE_PATH`).
6+
Dolos bundles officially supported parsers in the [`dolos-parsers`](https://www.npmjs.com/package/@dodona/dolos-parsers) module.
7+
[Let us know](https://github.com/dodona-edu/dolos/issues/1029) if you want to use a language that is not supported yet.
8+
9+
In addition, Dolos can automatically discover available [Tree-sitter parsers](https://tree-sitter.github.io/tree-sitter/) on the local system at runtime.
10+
As such, if you are running Dolos locally, you can quickly add support for a new language by installing a Tree-sitter parser for that language in the `node_modules` on your system (Dolos searches `NODE_PATH`).
811

912
As an example, we demonstrate how the **Rust** programming language can be supported.
1013

@@ -32,7 +35,7 @@ There exists a Rust parser named [`tree-sitter-rust`](https://github.com/tree-si
3235

3336
::: tip
3437
If the language you are looking for is not listed on either the website or GitHub, it might be that there is no parser available.
35-
If that is the case, you can [contact us](mailto:dodona@ugent.be) and we will see if we can help.
38+
If that is the case, you can [contact us](/about/contact) and we will see if we can help.
3639

3740
It is possible to [create a new parser](https://tree-sitter.github.io/tree-sitter/creating-parsers), but this quickly becomes complicated.
3841
:::
File renamed without changes.
File renamed without changes.
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Use case: Dodona
22

3-
To illustrate how Dolos can be used in education practice, we show how teachers can perform plagiarism detection on submissions exported from the coding platform [Dodona](https://dodona.ugent.be).
3+
To illustrate how Dolos can be used in education practice, we show how teachers can perform plagiarism detection on submissions exported from the coding platform [Dodona](https://dodona.be).
4+
5+
View the video or **follow the instructions below**:
6+
7+
<iframe src="https://player.vimeo.com/video/917504935?h=27230fe835" style="width:100%; aspect-ratio: 16 / 9;" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>
48

59
## Export submissions from Dodona
610

7-
Export submissions for a programming exercise in a [Dodona](https://dodona.ugent.be) course:
11+
Export submissions for a programming exercise in a [Dodona](https://dodona.be) course:
812

913
1. In the series that contains the exercise, open the series menu and choose _Export student submissions_. ![Series menu showing "Export student submissions" as option](/images/dodona-export-0.png)
1014
2. Select the exercise and click _Next step_. ![Export wizard showing a selection of exercises](/images/dodona-export-1.png)
@@ -26,11 +30,11 @@ Open the [Dolos web app](https://dolos.ugent.be/server) in your browser. Upload
2630

2731
Within a few seconds, the plagiarism detection report will be ready and you will be able to explore the results.
2832

29-
[Read more about how to use Dolos](/guide/server).
33+
[Read more about how to use Dolos](/docs/server).
3034

3135
## Run Dolos CLI (offline)
3236

33-
[Installing Dolos CLI](/guide/installation) on your computer if you haven't done so. Run Dolos on the ZIP-file you just downloaded from Dodona:
37+
[Installing Dolos CLI](/docs/installation) on your computer if you haven't done so. Run Dolos on the ZIP-file you just downloaded from Dodona:
3438

3539
```shell
3640
dolos run -f web -l ${LANGUAGE} dodona-exported.zip

0 commit comments

Comments
 (0)