-
-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
2,133 additions
and
1,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ on: | |
- ".github/workflows/**" | ||
jobs: | ||
build: | ||
name: shalzz/zola-deploy-action | ||
name: Build mdBook | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
|
@@ -24,9 +24,14 @@ jobs: | |
- run: deno run --allow-read --allow-write gen-docs.ts ./src/widgets/widget_definitions.rs ./src/config/inbuilt.rs | ||
|
||
# Build & deploy | ||
- name: shalzz/zola-deploy-action | ||
uses: shalzz/[email protected] | ||
env: | ||
PAGES_BRANCH: gh-pages | ||
BUILD_DIR: docs | ||
TOKEN: ${{ secrets.TOKEN }} | ||
- name: build mdBook page | ||
uses: peaceiris/actions-mdbook@v1 | ||
with: | ||
mdbook-version: '0.4.8' | ||
- run: mdbook build docs | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs/book/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
public | ||
book |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[book] | ||
authors = ["elkowar"] | ||
language = "en" | ||
multilingual = false | ||
src = "src" | ||
title = "eww documentation" | ||
|
||
|
||
[output.html] | ||
default-theme = "ayu" | ||
no-section-label = true | ||
git-repository-url = "https://github.com/elkowar/eww/tree/master/docs" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Summary | ||
|
||
- [Eww - Widgets for everyone!](./eww.md) | ||
- [Configuration](./configuration.md) | ||
- [Theming with GTK](./working_with_gtk.md) | ||
- [Magic Variables](./magic-vars.md) | ||
- [Widgets](./widgets.md) | ||
- [Troubleshooting](./troubleshooting.md) | ||
- [Eww expressions](./expression_language.md) | ||
- [Examples](./examples.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
+++ | ||
title = "Examples" | ||
slug = "Sample configs" | ||
weight = 6 | ||
+++ | ||
|
||
## Example Configurations | ||
|
||
These configurations of eww are available in the `examples/` directory of the [repo](https://github.com/elkowar/eww). | ||
|
||
An eww bar configuration: | ||
![Example 1](./examples/eww-bar/eww-bar.png) | ||
![Example bar](https://github.com/elkowar/eww/raw/master/examples/eww-bar/eww-bar.png) |
6 changes: 0 additions & 6 deletions
6
docs/content/main/expression_language.md → docs/src/expression_language.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
+++ | ||
title = "Magic Variables" | ||
slug = "magic variables documenation" | ||
weight = 3 | ||
+++ | ||
# Magic variables | ||
|
||
These are variables that are always there, without you having to import them. | ||
|
||
The delay between the updating variables is always 2s. | ||
|
||
|
||
## Updating magic variables | ||
|
24 changes: 9 additions & 15 deletions
24
docs/content/main/troubleshooting.md → docs/src/troubleshooting.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Widgets | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.