Skip to content

Commit 558660c

Browse files
authored
Squash move docs to main branch and add update instructions
Move docs to main branch and add update instructions
1 parent 9ea2baa commit 558660c

File tree

182 files changed

+10275
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+10275
-2
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "documentation/source/themes/hugo-book"]
2+
path = documentation/source/themes/hugo-book
3+
url = https://github.com/alex-shpak/hugo-book

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# **Executor - Gnome Shell Extension**
2-
![Maintenance](https://img.shields.io/maintenance/yes/2023)
2+
![Maintenance](https://img.shields.io/maintenance/yes/2024)
33
![GitHub release (latest by date)](https://img.shields.io/github/v/release/raujonas/executor)
44
![GitHub Release Date](https://img.shields.io/github/release-date/raujonas/executor)
55
![GitHub Repo stars](https://img.shields.io/github/stars/raujonas/executor?style=social)
@@ -10,6 +10,6 @@ Execute multiple shell commands periodically with separate intervals and display
1010

1111
[<img src="https://raw.githubusercontent.com/andyholmes/gnome-shell-extensions-badge/master/get-it-on-ego.svg?sanitize=true" alt="Get it on GNOME Extensions" height="100" width="220">](https://extensions.gnome.org/extension/2932/executor/)
1212

13-
<img src="docs/result.png" alt="result" width="967">
13+
<img src="readme/result.png" alt="result" width="967">
1414

1515
## Documentation: [here](https://raujonas.github.io/executor/)

documentation/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.hugo_build.lock

documentation/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
See [here](https://raujonas.github.io/executor/docs/documentation/).
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

documentation/source/config.toml

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# hugo server --minify --themesDir ... --baseURL=http://0.0.0.0:1313/theme/hugo-book/
2+
3+
baseURL = 'https://raujonas.github.io/executor/'
4+
title = 'Executor Documentation'
5+
theme = 'hugo-book'
6+
7+
# hugo server --minify --theme hugo-book
8+
# hugo --minify --theme hugo-book
9+
publishDir = "../target"
10+
# git submodule update --remote --merge
11+
# git commit -m ''
12+
# git push
13+
14+
# Book configuration
15+
disablePathToLower = true
16+
17+
# Needed for mermaid/katex shortcodes
18+
[markup]
19+
[markup.goldmark.renderer]
20+
unsafe = true
21+
22+
[markup.tableOfContents]
23+
startLevel = 1
24+
25+
# Multi-lingual mode config
26+
# There are different options to translate files
27+
# See https://gohugo.io/content-management/multilingual/#translation-by-filename
28+
# And https://gohugo.io/content-management/multilingual/#translation-by-content-directory
29+
[languages]
30+
[languages.en]
31+
languageName = 'English'
32+
contentDir = 'content'
33+
weight = 1
34+
35+
[menu]
36+
# [[menu.before]]
37+
[[menu.after]]
38+
name = "Github"
39+
url = "https://github.com/raujonas/executor"
40+
weight = 10
41+
42+
[params]
43+
# (Optional, default light) Sets color theme: light, dark or auto.
44+
# Theme 'auto' switches between dark and light modes based on browser/os preferences
45+
BookTheme = 'light'
46+
47+
# (Optional, default true) Controls table of contents visibility on right side of pages.
48+
# Start and end levels can be controlled with markup.tableOfContents setting.
49+
# You can also specify this parameter per page in front matter.
50+
BookToC = false
51+
52+
# (Optional, default none) Set the path to a logo for the book. If the logo is
53+
# /static/logo.png then the path would be logo.png
54+
BookLogo = 'icons/icon.png'
55+
56+
# (Optional, default docs) Specify root page to render child pages as menu.
57+
# Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/
58+
# For backward compatibility you can set '*' to render all sections to menu. Acts same as '/'
59+
BookSection = 'docs'
60+
61+
# Set source repository location.
62+
# Used for 'Last Modified' and 'Edit this page' links.
63+
#BookRepo = 'https://github.com/raujonas/executor'
64+
65+
# (Optional, default 'commit') Specifies commit portion of the link to the page's last modified
66+
# commit hash for 'doc' page type.
67+
# Requires 'BookRepo' param.
68+
# Value used to construct a URL consisting of BookRepo/BookCommitPath/<commit-hash>
69+
# Github uses 'commit', Bitbucket uses 'commits'
70+
# BookCommitPath = 'commit'
71+
72+
# Enable "Edit this page" links for 'doc' page type.
73+
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
74+
# Edit path must point to root directory of repo.
75+
# BookEditPath = 'edit/main/exampleSite'
76+
77+
# Configure the date format used on the pages
78+
# - In git information
79+
# - In blog posts
80+
BookDateFormat = 'January 2, 2006'
81+
82+
# (Optional, default true) Enables search function with flexsearch,
83+
# Index is built on fly, therefore it might slowdown your website.
84+
# Configuration for indexing can be adjusted in i18n folder per language.
85+
BookSearch = true
86+
87+
# (Optional, default true) Enables comments template on pages
88+
# By default partals/docs/comments.html includes Disqus template
89+
# See https://gohugo.io/content-management/comments/#configure-disqus
90+
# Can be overwritten by same param in page frontmatter
91+
# BookComments = true
92+
93+
# /!\ This is an experimental feature, might be removed or changed at any time
94+
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
95+
# Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
96+
# Theme will print warning if page referenced in markdown does not exists.
97+
BookPortableLinks = true
98+
99+
# /!\ This is an experimental feature, might be removed or changed at any time
100+
# (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use.
101+
BookServiceWorker = true
102+
103+
# /!\ This is an experimental feature, might be removed or changed at any time
104+
# (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present.
105+
BookTranslatedOnly = false
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
weight: 1
3+
title: "Overview"
4+
---
5+
6+
# **Executor - Gnome Shell Extension**
7+
![Maintenance](https://img.shields.io/maintenance/yes/2024)
8+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/raujonas/executor)
9+
![GitHub Release Date](https://img.shields.io/github/release-date/raujonas/executor)
10+
![GitHub Repo stars](https://img.shields.io/github/stars/raujonas/executor?style=social)
11+
12+
Execute multiple shell commands periodically with separate intervals and display the output in gnome top bar.
13+
14+
[<img src="https://raw.githubusercontent.com/andyholmes/gnome-shell-extensions-badge/master/get-it-on-ego.svg?sanitize=true" alt="Get it on GNOME Extensions" height="100" width="220">](https://extensions.gnome.org/extension/2932/executor/)
15+
16+
<img src="docs/combined.png" alt="result" width="967">
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
bookCollapseSection: true
3+
weight: 2
4+
---
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
weight: 1
3+
title: "Basic"
4+
---
5+
6+
# **Configuration**
7+
8+
## **Basic**
9+
10+
The commands and the interval for each command can be set for each location (left, center, right) separately in the settings view. It is also possible to deactivate single commands without deleting them.
11+
12+
<img src="../../../docs/settings.png" alt="settings" width="500">
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
weight: 4
3+
title: "Combine css and markup"
4+
---
5+
6+
# **Configuration**
7+
8+
## **Combine css and markup**
9+
10+
Combination of css and markup is also possible. In this case the setting for markup **`<executor.markup.true>`** must be located after all css settings. Here is an example:
11+
12+
```
13+
echo " <span font_family='monospace' foreground='blue'>Blue text</span> is <i>cool</i>! <span foreground='red'>Red text</span><executor.css.green><executor.markup.true> is cool too"
14+
```
15+
16+
This produces the following output:
17+
18+
<img src="../../../docs/css-and-markup.png" alt="settings">

0 commit comments

Comments
 (0)