From: Bastien Wirtz Date: Thu, 28 May 2020 03:58:20 +0000 (-0700) Subject: Remove config.yml from versionning. X-Git-Tag: 120405250^2~5 X-Git-Url: https://git.immae.eu/?p=github%2Fbastienwirtz%2Fhomer.git;a=commitdiff_plain;h=e11427508a89cddb114b7955a2273fc7b5e33ca5 Remove config.yml from versionning. --- diff --git a/.gitignore b/.gitignore index a0dddc6..26547c2 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ yarn-error.log* *.njsproj *.sln *.sw? + +# App configuration +public/config.yml diff --git a/README.md b/README.md index 1abce2f..763e1e6 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,9 @@ npm install npm run serve ``` -### themes +### Themes -Theme are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)). +Themes are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)). To addd a new theme, just add a file in the theme directory, and put all style in the `body #app.theme-` scope. Then import it in the main style file. ```scss @@ -81,7 +81,7 @@ body #app.theme-my-awesome-theme. { ... } ## Configuration -Title, icons, links, colors, and services can be configured in the `config.yml` file, using [yaml](http://yaml.org/) format. +Title, icons, links, colors, and services can be configured in the `config.yml` file (located in project root directory once built, or in the `public/` directory in developement mode), using [yaml](http://yaml.org/) format. ```yaml --- @@ -142,7 +142,7 @@ links: - name: "ansible" icon: "fab fa-github" url: "https://github.com/xxxxx/ansible/" - target: "_blank" # optional html a tag target attribute + target: "_blank" # optional html tag target attribute - name: "Wiki" icon: "fas fa-book" url: "https://wiki.xxxxxx.com/" @@ -161,7 +161,7 @@ services: subtitle: "Continuous integration server" tag: "CI" url: "#" - target: "_blank" # optional html a tag target attribute + target: "_blank" # optional html tag target attribute - name: "RabbitMQ Management" logo: "/assets/tools/rabbitmq.png" subtitle: "Manage & monitor RabbitMQ server" diff --git a/public/config.yml b/public/config.yml.dist similarity index 98% rename from public/config.yml rename to public/config.yml.dist index 0e0310e..849b391 100644 --- a/public/config.yml +++ b/public/config.yml.dist @@ -65,7 +65,7 @@ services: items: - name: "Awesome app" logo: "assets/tools/sample.png" - subtitle: "Bookmark exemple" + subtitle: "Bookmark example" tag: "app" url: "https://www.reddit.com/r/selfhosted/" target: "_blank" # optionnal html a tag target attribute diff --git a/public/config.yml.sample-sui b/public/config.yml.dist.sample-sui similarity index 100% rename from public/config.yml.sample-sui rename to public/config.yml.dist.sample-sui