Skip to content

Commit

Permalink
Updated geekdoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtar committed Nov 10, 2024
1 parent 155626a commit 7b05708
Show file tree
Hide file tree
Showing 209 changed files with 19,135 additions and 5 deletions.
1 change: 1 addition & 0 deletions content/programming/go/useful-libs.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ tags: [go, программирование]

* [gocv](https://gocv.io/) - библиотека для работы с OpenCv из Go. [GitHub](https://github.com/hybridgroup/gocv).
* [Работа с открытой библиотека OpenCV](https://github.com/go-opencv/go-opencv) - wrapper для OpenCv на Go.
* [GoCV](https://github.com/hybridgroup/gocv) - ещё один wrapper. Поддерживает cuda.

---

Expand Down
4 changes: 4 additions & 0 deletions content/programming/go/useful-programs.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ tags: [go, программы]
* [Casbin forum](https://github.com/casbin/casbin-forum) - реализация форума на Go и ReactJS.
* [sftpgo](https://github.com/drakkan/sftpgo) - сервер, поддерживающий различные протоколы: SFTP, HTTP, FTP/S and WebDAV. И также различные системы хранения: local filesystem, encrypted local filesystem, S3 (compatible) Object Storage, Google Cloud Storage, Azure Blob Storage.

### Web-приложения

* [wasmVision](https://github.com/wasmvision/wasmvision) - wasm-приложения, использующее openCv для работы с камерой. Накладывает эффекты, типа размытия.

## Рисование графиков

[Chart](https://github.com/marianogappa/chart) - рисует график на основании данных из стандартного потока ввода. [Примеры отображения](https://marianogappa.github.io/chart). [Статья об использовании](https://movio.co/blog/improving-with-sql-and-charts).
Expand Down
36 changes: 36 additions & 0 deletions themes/hugo-geekdoc/.dictionary
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Geekdoc
Kaussow
Shpak
(S|s)hortcode[s]?
hugo-book
ToC
ToC-Tree
toc
macOS
SVG
HC-primary
pre-build
submodule
GPL
IcoMoon
YAML
ok
FontAwesome
Netlify
Makefile
prebuilt
(S|s)ubdirector(ies|y)
(M|m)inify
whitespace
relref
href
KaTeX
katex
Theming
Favicon[s]?
UI
webpack
pre-processor[s]?
propertylist
gists
spf13
60 changes: 60 additions & 0 deletions themes/hugo-geekdoc/.github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
repository:
name: hugo-geekdoc
description: Hugo theme made for documentation
homepage: https://geekdocs.de
topics: hugo, theme, hugo-theme, documentation

private: false
has_issues: true
has_projects: false
has_wiki: false
has_downloads: true

default_branch: main

allow_squash_merge: true
allow_merge_commit: true
allow_rebase_merge: true

labels:
- name: bug
color: d73a4a
description: Something isn't working
- name: documentation
color: 0075ca
description: Improvements or additions to documentation
- name: duplicate
color: cfd3d7
description: This issue or pull request already exists
- name: enhancement
color: a2eeef
description: New feature or request
- name: good first issue
color: 7057ff
description: Good for newcomers
- name: help wanted
color: 008672
description: Extra attention is needed
- name: invalid
color: e4e669
description: This doesn't seem right
- name: question
color: d876e3
description: Further information is requested
- name: wontfix
color: ffffff
description: This will not be worked on

branches:
- name: main
protection:
required_pull_request_reviews: null
required_status_checks:
strict: false
contexts:
- ci/woodpecker/pr/test
- ci/woodpecker/pr/build-package
- ci/woodpecker/pr/docs
enforce_admins: false
required_linear_history: true
restrictions: null
30 changes: 30 additions & 0 deletions themes/hugo-geekdoc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# local environments
.swp
.env*
/dist/
/build/
/node_modules/
/lhci_reports/
/exampleSite/themes/
/exampleSite/public/
/exampleSite/config/development/
CHANGELOG.md
VERSION

# translation envs
exampleSite/content/de

# auto-generated files
/data/
/static/
/assets/sprites/
/resources/
/exampleSite/resources/
/exampleSite/data/sprites/
VERSION

# hugo
.hugo_build.lock

# testing
.lighthouseci/
47 changes: 47 additions & 0 deletions themes/hugo-geekdoc/.gitsv/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
version: "1.1"

versioning:
update-major: []
update-minor: [feat]
update-patch: [fix, perf, refactor, chore, test, ci, docs]

tag:
pattern: "v%d.%d.%d"

release-notes:
sections:
- name: Features
commit-types: [feat]
section-type: commits
- name: Bug Fixes
commit-types: [fix]
section-type: commits
- name: Performance Improvements
commit-types: [perf]
section-type: commits
- name: Code Refactoring
commit-types: [refactor]
section-type: commits
- name: Others
commit-types: [chore]
section-type: commits
- name: Testing
commit-types: [test]
section-type: commits
- name: CI Pipeline
commit-types: [ci]
section-type: commits
- name: Documentation
commit-types: [docs]
section-type: commits
- name: BREAKING CHANGES
section-type: breaking-changes

commit-message:
footer:
issue:
key: issue
add-value-prefix: "#"
issue:
regex: "#?[0-9]+"
8 changes: 8 additions & 0 deletions themes/hugo-geekdoc/.htmlvalidate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": ["html-validate:standard"],
"rules": {
"element-required-content": "off",
"element-permitted-content": "off",
"no-raw-characters": "off"
}
}
8 changes: 8 additions & 0 deletions themes/hugo-geekdoc/.jsbeautifyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"indent_size": 4,
"indent_char": " ",
"preserve_newlines": false,
"unformatted" : ["svg"],
"content_unformatted": ["pre"],
"extra_liners": ["head", "body", "html", "main", "header", "footer", "section"]
}
52 changes: 52 additions & 0 deletions themes/hugo-geekdoc/.lighthouserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
ci:
collect:
numberOfRuns: 3
staticDistDir: exampleSite/public
url:
- http://localhost/
- http://localhost/404.html
- http://localhost/usage/getting-started/
settings:
chromeFlags: "--no-sandbox --headless --disable-dev-shm-usage"
onlyCategories: ["performance", "accessibility", "best-practices", "seo"]
skipAudits:
[
"color-contrast",
"uses-long-cache-ttl",
"csp-xss",
"bf-cache",
"is-crawlable",
"image-size-responsive",
"render-blocking-resources",
"largest-contentful-paint"
]
assert:
preset: "lighthouse:no-pwa"
assertions:
color-contrast: off
uses-long-cache-ttl: off
csp-xss: off
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/14957
bf-cache: off
is-crawlable: off
image-size-responsive: off
render-blocking-resources: off
largest-contentful-paint: off
total-byte-weight: warn
identical-links-same-purpose: warn
tap-targets: warn
unsized-images: warn
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460
categories:performance:
- warn
- minScore: 0.95
categories:accessibility:
- error
- minScore: 1
categories:seo:
- error
- minScore: 0.95
upload:
target: filesystem
outputDir: lhci_reports
4 changes: 4 additions & 0 deletions themes/hugo-geekdoc/.lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
https://github.com/thegeeklab/.+/edit/main/.*
https://unsplash.com.*
https://www.color-hex.com.*
https://geekdocs.de/
9 changes: 9 additions & 0 deletions themes/hugo-geekdoc/.markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
default: True
MD013: False
MD041: False
MD042: False
MD004:
style: dash
MD010:
code_blocks: False
3 changes: 3 additions & 0 deletions themes/hugo-geekdoc/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
loglevel=error
fund=false
engine-strict=true
1 change: 1 addition & 0 deletions themes/hugo-geekdoc/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
8 changes: 8 additions & 0 deletions themes/hugo-geekdoc/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
_normalize.css
list.json.json
/.lighthouseci/
/themes/
/static/js/
/src/favicon/
LICENSE
**/*.html
6 changes: 6 additions & 0 deletions themes/hugo-geekdoc/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 99,
"singleQuote": false,
"semi": false,
"trailingComma": "none"
}
25 changes: 25 additions & 0 deletions themes/hugo-geekdoc/.tarignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.envrc
.npmrc
.tarignore
.dictionary*
.git*
.woodpecker*
.lighthouse*
.markdownlint*
.jsbeautify*
.prettier*
.eslintrc*
.htmlvalidate*
.lycheeignore*
example*
webpack*
svgsprite*
package*
node*
local*
dist
src
build
renovate*
resources
CONTRIBUTING.md
52 changes: 52 additions & 0 deletions themes/hugo-geekdoc/.woodpecker/build-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}

steps:
- name: assets
image: docker.io/library/node:lts
commands:
- npm install --quiet --no-progress
- npm run build
- cat VERSION
environment:
FORCE_COLOR: "true"

- name: package
image: docker.io/library/node:lts
commands:
- npm run pack
environment:
FORCE_COLOR: "true"

- name: checksum
image: quay.io/thegeeklab/alpine-tools
commands:
- cd dist/ && sha256sum * > ../sha256sum.txt

- name: changelog
image: quay.io/thegeeklab/git-sv
commands:
- git sv current-version
- git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md
- cat CHANGELOG.md

- name: publish-github
image: docker.io/plugins/github-release
settings:
api_key:
from_secret: github_token
files:
- dist/*
- sha256sum.txt
note: CHANGELOG.md
overwrite: true
title: ${CI_COMMIT_TAG}
when:
- event: [tag]

depends_on:
- test
Loading

0 comments on commit 7b05708

Please sign in to comment.