-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
1 parent
31aca4a
commit 26fd455
Showing
198 changed files
with
1,222 additions
and
2,479 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 |
---|---|---|
|
@@ -13,36 +13,63 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Fetch the albert repo | ||
run: git clone --recursive --depth 1 https://github.com/albertlauncher/albert.git | ||
- run: git clone --depth 1 https://github.com/albertlauncher/albert.git | ||
|
||
- name: Run doxygen | ||
uses: mattnotmitt/[email protected] | ||
- uses: mattnotmitt/[email protected] | ||
|
||
- name: Build site | ||
uses: actions/jekyll-build-pages@v1 | ||
- run: find . | ||
|
||
# - run: make build | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
source: "src" | ||
destination: "src/_site" | ||
ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions` | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
working-directory: ./src | ||
|
||
#- run: gem install bundler | ||
|
||
#- run: bundle install | ||
|
||
- run: cd src && JEKYLL_ENV=production bundle exec jekyll build | ||
|
||
- run: find . | ||
|
||
# - uses: ruby/setup-ruby@v1 | ||
# with: | ||
# ruby-version: '3.3' | ||
# bundler-cache: true | ||
# | ||
# - run: bundle install | ||
# | ||
# - name: Build site | ||
# uses: actions/jekyll-build-pages@v1 | ||
# with: | ||
# source: "src" | ||
# destination: "src/_site" | ||
|
||
- name: Deploy | ||
run: | | ||
sudo chown -R runner:docker . | ||
mv html src/_site/reference | ||
cd src/_site | ||
git init | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add . | ||
git commit -m "Auto-commit from GitHub Action" | ||
git remote add origin "https://${{ secrets.PAT }}@github.com/albertlauncher/albertlauncher.github.io" | ||
git branch -M master | ||
git push --force origin master | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
personal_token: ${{ secrets.PAT }} | ||
external_repository: albertlauncher/albertlauncher.github.io | ||
publish_branch: master | ||
publish_dir: ./src/_site | ||
|
||
# - name: Deploy | ||
# run: | | ||
# sudo chown -R runner:docker . | ||
# cd src/_site | ||
# git init | ||
# git config --local user.email "[email protected]" | ||
# git config --local user.name "GitHub Action" | ||
# git add . | ||
# git commit -m "Auto-commit from GitHub Action" | ||
# git remote add origin "https://${{ secrets.PAT }}@github.com/albertlauncher/albertlauncher.github.io" | ||
# git branch -M master | ||
# git push --force origin master | ||
|
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,14 @@ | ||
FROM ruby:3-slim | ||
|
||
WORKDIR /srv/jekyll | ||
COPY src/Gemfile . | ||
EXPOSE 4000 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update \ | ||
&& apt-get -y install build-essential \ | ||
&& bundle install \ | ||
&& apt-get -y clean \ | ||
&& apt-get -y purge build-essential \ | ||
&& apt-get -y autoremove \ | ||
&& rm -rf /var/lib/apt/lists/* |
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,32 +1,24 @@ | ||
#all: doxygen jekyll-build jekyll-deploy | ||
# | ||
#release: all | ||
# | ||
#doxygen: | ||
# rm -rf albert | ||
# git clone --depth 1 https://github.com/albertlauncher/albert.git | ||
# doxygen | ||
# rm -rf src/reference | ||
# mv albert/output/html src/reference | ||
# | ||
#jekyll-build: | ||
# docker run -t --rm -v "$(shell pwd)/src:/srv/jekyll" jekyll/jekyll jekyll build | ||
# | ||
#jekyll-serve: | ||
# docker run -t --rm -v "$(shell pwd)/src:/srv/jekyll" -p "4000:4000" jekyll/jekyll jekyll serve --host 0.0.0.0 | ||
# | ||
#jekyll-check: | ||
# docker run -t --rm -v "$(shell pwd)/src/_site:/src" klakegg/html-proofer:3.17.0 --allow-hash-href --check-html --empty-alt-ignore || true | ||
# | ||
#jekyll-deploy: | ||
# git -C ./src/_site init | ||
# git -C ./src/_site add . | ||
# git -C ./src/_site commit -m "Build `date`" | ||
# git -C ./src/_site push --force "https://github.com/albertlauncher/albertlauncher.github.io.git" master | ||
# | ||
#clean: | ||
# rm -rf output albert | ||
# | ||
# | ||
# | ||
#.PHONY: doxygen | ||
info: | ||
less Makefile | ||
|
||
doxygen: | ||
rm -rf albert src/reference | ||
git clone --depth 1 https://github.com/albertlauncher/albert.git | ||
doxygen | ||
|
||
build: | ||
docker-compose up jekyll-build | ||
|
||
serve: | ||
docker-compose up jekyll-serve | ||
|
||
html-proofer: | ||
docker-compose up html-proofer | ||
|
||
deploy: doxygen html-proofer build | ||
git -C ./src/_site init | ||
git -C ./src/_site add . | ||
git -C ./src/_site commit -m "Build `date`" | ||
git -C ./src/_site push --force "https://github.com/albertlauncher/albertlauncher.github.io.git" master | ||
|
||
.PHONY: doxygen |
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,31 @@ | ||
version: "3.5" | ||
|
||
services: | ||
|
||
jekyll: &jekyll | ||
build: | ||
dockerfile: Dockerfile | ||
image: jekyll | ||
volumes: | ||
- ./src:/srv/jekyll | ||
stdin_open: true | ||
tty: true | ||
entrypoint: bundle exec jekyll | ||
command: --version | ||
|
||
jekyll-build: | ||
<<: *jekyll | ||
command: build | ||
|
||
jekyll-serve: | ||
<<: *jekyll | ||
ports: | ||
- 4000:4000 | ||
command: serve --host 0.0.0.0 --trace | ||
|
||
html-proofer: | ||
image: klakegg/html-proofer:3.17.0 | ||
volumes: | ||
- ./src/_site:/src | ||
command: --allow-hash-href --check-html --empty-alt-ignore | ||
|
Submodule doxygen-awesome-css
updated
16 files
+177 −68 | Doxyfile | |
+38 −31 | README.md | |
+15 −9 | docs/customization.md | |
+64 −16 | docs/extensions.md | |
+12 −9 | docs/tricks.md | |
+14 −4 | doxygen-awesome-interactive-toc.js | |
+23 −3 | doxygen-awesome-tabs.js | |
+219 −72 | doxygen-awesome.css | |
+0 −44 | doxygen-custom/custom.css | |
+1 −1 | doxygen-custom/header.html | |
+117 −0 | img/theme-variants-base.drawio.svg | |
+102 −0 | img/theme-variants-sidebar-only.drawio.svg | |
+0 −250 | img/theme-variants.drawio.svg | |
+53 −40 | include/MyLibrary/example.hpp | |
+14 −0 | package-lock.json | |
+1 −1 | package.json |
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,6 +1,6 @@ | ||
--- | ||
layout: page | ||
title: Oops… | ||
nav_exclude: true | ||
--- | ||
|
||
Nothing found here. Visit [home](/) |
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,20 +1,86 @@ | ||
|
||
|
||
# https://github.com/just-the-docs/just-the-docs-template/blob/main/README.md | ||
|
||
title: Albert | ||
email: [email protected] | ||
|
||
description: > # this means to ignore newlines until "baseurl:" | ||
Albert is a unified and efficient access to your machine. Technically it is a keyboard launcher | ||
written in C++/Qt. The plugin based architecture makes it extremely flexible and powerful. Plugins | ||
can be used to create frontends or functional extensions. Extensions can also be implemented | ||
using embedded Python modules or via a CGI approach in any language you want. | ||
baseurl: "" # the subpath of your site, e.g. /blog | ||
url: https://albertlauncher.github.io | ||
github_username: manuelschneid3r | ||
repository: https://github.com/albertlauncher | ||
exclude: [vendor] | ||
future: true | ||
|
||
collections: | ||
pages: | ||
output: true | ||
|
||
plugins: | ||
- jekyll-spaceship | ||
url: "https://albertlauncher.github.io" | ||
repository: "https://github.com/albertlauncher" | ||
|
||
theme: just-the-docs | ||
color_scheme: custom | ||
|
||
defaults: | ||
- | ||
scope: | ||
path: "" # an empty string here means all files in the project | ||
values: | ||
layout: "page" | ||
|
||
favicon_ico: "/img/favicon.ico" | ||
#aux_links: | ||
# Albert on GitHub: | ||
# - "https://github.com/albertlauncher/albert" | ||
#aux_links_new_tab: true | ||
last_edit_timestamp: true | ||
heading_anchors: true | ||
|
||
enable_copy_code_button: true | ||
|
||
permalink: pretty # no html extension | ||
|
||
nav_external_links: | ||
- title: API reference | ||
url: /reference/namespacealbert.html | ||
- title: GitHub | ||
url: https://github.com/albertlauncher/albert | ||
|
||
callouts: | ||
callout-blue: | ||
color: blue | ||
callout-yellow: | ||
color: yellow | ||
callout-red: | ||
color: red | ||
note: | ||
title: Note | ||
color: blue | ||
warning: | ||
title: Warning | ||
color: yellow | ||
|
||
## Footer "Edit this page on GitHub" link text | ||
gh_edit_link: true # show or hide edit this page link | ||
gh_edit_link_text: "Edit this page on GitHub" | ||
gh_edit_repository: "https://github.com/albertlauncher/documentation" # the github URL for your repo | ||
gh_edit_source: src # the source that your files originate from | ||
gh_edit_branch: "master" # the branch that your docs is served from | ||
gh_edit_view_mode: "edit" # "tree" or "edit" if you want the user to jump into the editor immediately | ||
|
||
mermaid: | ||
# Version of mermaid library | ||
# Pick an available version from https://cdn.jsdelivr.net/npm/mermaid/ | ||
version: "9.1.3" | ||
# | ||
|
||
#email: [email protected] | ||
#github_username: manuelschneid3r | ||
#exclude: [vendor] | ||
#future: true | ||
|
||
|
||
|
||
|
||
|
||
#plugins: | ||
#- jekyll-spaceship | ||
# - jekyll-default-layout | ||
|
||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
--- | ||
layout: page | ||
title: "Albert __version__ released" | ||
date: __YAML_DATE__ | ||
--- | ||
|
Oops, something went wrong.