Commit ac9bf448 authored by Armin Bernstetter's avatar Armin Bernstetter

removed references to *-meta.yaml files

parent 75255479
......@@ -119,7 +119,7 @@ choice. Beware that file updates are not propagated into the container so
Prints information about the current project's directories, the targets
(files which will be generated) and the meta data options which are found in
top level `*-meta.yaml` files.
top level `decker.yaml` files.
- `decker html`
......
......@@ -24,7 +24,7 @@ Prints a help document to stdout in Markdown format.
# `decker info`
Prints information about the current project's directories, the targets (files which will be generated) and the meta data options which are found in top level `*-meta.yaml` files.
Prints information about the current project's directories, the targets (files which will be generated) and the meta data options which are found in the top level `decker.yaml` file.
# `decker example` and `decker tutorial`
......
......@@ -12,9 +12,9 @@ For further options which might not be included here see: [https://github.com/ha
# Meta files
- The meta configuration options shown here can also be included in any `*-meta.yaml` file located in the top level of the project directory. These options are then active per default for every slide deck but can be overwritten in a specific slide deck.
- The meta configuration options shown here can also be included in the `decker.yaml` file located in the top level of the project directory. These options are then active per default for every slide deck but can be overwritten in a specific slide deck.
- For example: The `date` and `menu: true` are added to the `tutorial-meta.yaml` file. If the header of a specific presentation deck includes `menu: false` the menu is not shown in this presentation.
- For example: The `date` and `menu: true` are added to the `decker.yaml` file. If the header of a specific presentation deck includes `menu: false` the menu is not shown in this presentation.
# Example Header
......@@ -40,7 +40,7 @@ On Windows, only `Copy` should be used as symlinks on Windows work differently f
The default setting (without having `provisioning` included in the meta) is `Copy`on Windows and `SymLink` on MacOS/Linux.
To be able to move the `public` folder to other devices (e.g. hold a presentation from a different computer) `provisioning: Copy` is necessary.
`provisioning` should be included in a `*-meta.yaml` file.
`provisioning` should be included in the `decker.yaml` file.
#
......
......@@ -5,31 +5,6 @@ chart: true
---
# Charts from Metadata
The first chart is included via an additional `chart-meta.yaml` file and is **always** the first slide after the title.
#
```yaml
chartName: Metadata Chart Example
chartId: "Metadata Chart Example"
data-chart: line
width:
height:
labels: ["January","February","March","April","May","June","July", "August", "September", "October", "November", "December"]
datasets:
- data: [65,59,80,81,56,55,40,45,49,58,68,70]
label: James Smith
- data: [28,48,40,19,86,27,90,65,60,45,40,35]
label: Derek Jones
options:
legend:
position: bottom
responsive: true
```
# Charts from JSON Strings
A chart can be included in a slide by adding a canvas element to the `*-deck.md` file with the data-chart attribute set to the desired chart type.
......
-- | Author: Henrik Tramberend <henrik@tramberend.de>
-- Author: Armin Bernstetter <armin.bernstetter@uni-wuerzburg.de>
-- This module is an interface that provides transparent access to the resources
-- Depending on specification in "decker-meta.yaml" the source of the resource folder is chosen
-- Depending on specification in "decker.yaml" the source of the resource folder is chosen
-- Everything that is copying or linking Resource folders needs to be moved here
--
module Text.Decker.Resource.Resource
......
import IncludeTests
import MetaTests
import SketchTests
import Test.Hspec
import WatchTests
import MetaTests
import IncludeTests
import ShortLinkTests
......@@ -14,11 +14,11 @@ import Data.Maybe
import Data.Text
import Data.Text.Encoding
import qualified Data.Yaml as Y
import Text.Decker.Project.Project as P
import Text.Decker.Resource.Resource
import qualified System.Directory as Dir
import System.FilePath
import System.FilePath.Glob
import Text.Decker.Project.Project as P
import Text.Decker.Resource.Resource
import Text.Pandoc
main = do
......@@ -26,7 +26,8 @@ main = do
--
deckTemplate <- B.readFile (dirs ^. project </> "resource/template/deck.html")
--
metaFiles <- globDir1 (compile "**/*-meta.yaml") (dirs ^. project)
-- metaFiles <- globDir1 (compile "**/*-meta.yaml") (dirs ^. project)
metaFile <- dirs ^. project </> "decker.yaml"
--
hspec $
--
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment