diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-27 20:58:20 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-27 20:58:20 -0700 |
commit | e11427508a89cddb114b7955a2273fc7b5e33ca5 (patch) | |
tree | c74ecf942afda6c1b18dab80a985d09cc967e959 | |
parent | b9c5fcf085bed9c6100283133531b36bfbb06cf0 (diff) | |
download | homer-e11427508a89cddb114b7955a2273fc7b5e33ca5.tar.gz homer-e11427508a89cddb114b7955a2273fc7b5e33ca5.tar.zst homer-e11427508a89cddb114b7955a2273fc7b5e33ca5.zip |
Remove config.yml from versionning.
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | public/config.yml.dist (renamed from public/config.yml) | 2 | ||||
-rw-r--r-- | public/config.yml.dist.sample-sui (renamed from public/config.yml.sample-sui) | 0 |
4 files changed, 9 insertions, 6 deletions
@@ -19,3 +19,6 @@ yarn-error.log* | |||
19 | *.njsproj | 19 | *.njsproj |
20 | *.sln | 20 | *.sln |
21 | *.sw? | 21 | *.sw? |
22 | |||
23 | # App configuration | ||
24 | public/config.yml | ||
@@ -61,9 +61,9 @@ npm install | |||
61 | npm run serve | 61 | npm run serve |
62 | ``` | 62 | ``` |
63 | 63 | ||
64 | ### themes | 64 | ### Themes |
65 | 65 | ||
66 | Theme are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)). | 66 | Themes are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)). |
67 | To addd a new theme, just add a file in the theme directory, and put all style in the `body #app.theme-<name>` scope. Then import it in the main style file. | 67 | To addd a new theme, just add a file in the theme directory, and put all style in the `body #app.theme-<name>` scope. Then import it in the main style file. |
68 | 68 | ||
69 | ```scss | 69 | ```scss |
@@ -81,7 +81,7 @@ body #app.theme-my-awesome-theme. { ... } | |||
81 | 81 | ||
82 | ## Configuration | 82 | ## Configuration |
83 | 83 | ||
84 | Title, icons, links, colors, and services can be configured in the `config.yml` file, using [yaml](http://yaml.org/) format. | 84 | 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. |
85 | 85 | ||
86 | ```yaml | 86 | ```yaml |
87 | --- | 87 | --- |
@@ -142,7 +142,7 @@ links: | |||
142 | - name: "ansible" | 142 | - name: "ansible" |
143 | icon: "fab fa-github" | 143 | icon: "fab fa-github" |
144 | url: "https://github.com/xxxxx/ansible/" | 144 | url: "https://github.com/xxxxx/ansible/" |
145 | target: "_blank" # optional html a tag target attribute | 145 | target: "_blank" # optional html tag target attribute |
146 | - name: "Wiki" | 146 | - name: "Wiki" |
147 | icon: "fas fa-book" | 147 | icon: "fas fa-book" |
148 | url: "https://wiki.xxxxxx.com/" | 148 | url: "https://wiki.xxxxxx.com/" |
@@ -161,7 +161,7 @@ services: | |||
161 | subtitle: "Continuous integration server" | 161 | subtitle: "Continuous integration server" |
162 | tag: "CI" | 162 | tag: "CI" |
163 | url: "#" | 163 | url: "#" |
164 | target: "_blank" # optional html a tag target attribute | 164 | target: "_blank" # optional html tag target attribute |
165 | - name: "RabbitMQ Management" | 165 | - name: "RabbitMQ Management" |
166 | logo: "/assets/tools/rabbitmq.png" | 166 | logo: "/assets/tools/rabbitmq.png" |
167 | subtitle: "Manage & monitor RabbitMQ server" | 167 | subtitle: "Manage & monitor RabbitMQ server" |
diff --git a/public/config.yml b/public/config.yml.dist index 0e0310e..849b391 100644 --- a/public/config.yml +++ b/public/config.yml.dist | |||
@@ -65,7 +65,7 @@ services: | |||
65 | items: | 65 | items: |
66 | - name: "Awesome app" | 66 | - name: "Awesome app" |
67 | logo: "assets/tools/sample.png" | 67 | logo: "assets/tools/sample.png" |
68 | subtitle: "Bookmark exemple" | 68 | subtitle: "Bookmark example" |
69 | tag: "app" | 69 | tag: "app" |
70 | url: "https://www.reddit.com/r/selfhosted/" | 70 | url: "https://www.reddit.com/r/selfhosted/" |
71 | target: "_blank" # optionnal html a tag target attribute | 71 | target: "_blank" # optionnal html a tag target attribute |
diff --git a/public/config.yml.sample-sui b/public/config.yml.dist.sample-sui index 71eaef0..71eaef0 100644 --- a/public/config.yml.sample-sui +++ b/public/config.yml.dist.sample-sui | |||