From 09259f1ad5badc1bd0eb910776417f07fdc62c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kilchenmann?= Date: Tue, 8 Jun 2021 18:00:46 +0200 Subject: [PATCH] docs: prepare documentation for docs.dasch.swiss (DSP-1721) (#458) --- docs/assets/icons/dasch-icon-white.svg | 42 +++++++++++++++++++++----- docs/assets/style/theme.css | 5 +++ docs/how-to-use/project.md | 2 +- mkdocs.yml | 2 +- 4 files changed, 41 insertions(+), 10 deletions(-) diff --git a/docs/assets/icons/dasch-icon-white.svg b/docs/assets/icons/dasch-icon-white.svg index 396dd5358d..12ef7de7f2 100644 --- a/docs/assets/icons/dasch-icon-white.svg +++ b/docs/assets/icons/dasch-icon-white.svg @@ -1,8 +1,34 @@ - - - - - - - - \ No newline at end of file + + + + + + + image/svg+xml + + + + + + + + + diff --git a/docs/assets/style/theme.css b/docs/assets/style/theme.css index 3ed149c4ac..8342a1979f 100644 --- a/docs/assets/style/theme.css +++ b/docs/assets/style/theme.css @@ -3,6 +3,11 @@ background-color: rgb(89, 73, 167) !important; } +.md-header-nav__button.md-logo img { + width: 1.5rem; + height: auto; +} + em { font-size: smaller; text-align: center; diff --git a/docs/how-to-use/project.md b/docs/how-to-use/project.md index 96f517aac2..67a74e3c4b 100644 --- a/docs/how-to-use/project.md +++ b/docs/how-to-use/project.md @@ -107,7 +107,7 @@ There are two possibilites to add properties to a resource class: If you have already created some properties in another resource classes or in the property section you can select one of them to add it to the resource class. This way you have to define — for example — a "Title" property only once. -![Data model editor | Step 3: Add properties to your resource class by selecting from list of already existing properties](/assets/images/data-model-property-select-existing.png)*Data model editor | Step 3: Add properties to your resource class by selecting from list of already existing properties* +![Data model editor | Step 3: Add properties to your resource class by selecting from list of already existing properties](../assets/images/data-model-property-select-existing.png)*Data model editor | Step 3: Add properties to your resource class by selecting from list of already existing properties* In both cases it will open the property form where you have to define a label and optional a comment. If you have selected an existing property, you can also change the label and comment. Be careful in this case, because it can have an effect on other resource classes that use the same property! diff --git a/mkdocs.yml b/mkdocs.yml index 6b969cc112..9c27baaf53 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DSP-APP documentation +site_name: DSP-APP repo_url: https://github.com/dasch-swiss/dsp-app repo_name: dasch-swiss/dsp-app