docs: Move the mkdocs pages to docs/pages
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Sameer Rahmani 2023-05-27 17:15:12 +01:00
parent 38a9481f04
commit 01fd49524b
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
9 changed files with 63 additions and 4 deletions

View File

@ -1,2 +1,2 @@
./build/
./resources/

6
docs/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM busybox
COPY ./build/docs /app
WORKDIR /app
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -35,7 +35,7 @@ title: Resources
## Concurrency
- [Scheduling In Go (Series)](https://www.ardanlabs.com/blog/2018/08/scheduling-in-go-part1.html)
## Garbage collection :GC:
## Garbage collection
- [GC on V8](https://v8.dev/blog/high-performance-cpp-gc)
- [Perceus: Garbage Free Reference Counting with Reuse](https://www.microsoft.com/en-us/research/uploads/prod/2020/11/perceus-tr-v1.pdf)
- [Boehm GC](https://www.hboehm.info/gc/)

48
docs/service.yml Normal file
View File

@ -0,0 +1,48 @@
version: "3.9"
services:
serene-docs:
image: lxsameer/serene-docs
environment:
USER_UID: 1100
USER_GID: 1100
security_opt:
- no-new-privileges:true
networks:
- public_lb
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.serene-lang.rule=Host(`serene-lang.org`)"
- "traefik.http.routers.serene-lang.entrypoints=websecure"
- "traefik.http.routers.serene-lang.tls=true"
- "traefik.http.routers.serene-lang.tls.certresolver=default"
- "traefik.http.services.serene-lang-web.loadbalancer.server.port=3000"
- "traefik.http.services.serene-lang-web.loadbalancer.server.scheme=http"
- "traefik.http.routers.serene-lang.service=serene-lang-web"
- "traefik.docker.network=public_lb"
- "traefik.http.middlewares.serene-lang-ratelimit.ratelimit.average=50"
- "traefik.http.middlewares.serene-lang-ratelimit.ratelimit.burst=10"
- "traefik.http.routers.serene-lang.middlewares=serene-lang-ratelimit"
mode: replicated
replicas: 1
restart_policy:
condition: on-failure
max_attempts: 3
update_config:
parallelism: 1
delay: 5s
order: stop-first
logging:
options:
max-size: "10m"
max-file: "3"
networks:
public_lb:
external: true
name: public_lb

View File

@ -6,12 +6,17 @@ repo_name: Serene
copyright: Copyright © 2019 - 2023 Sameer Rahmani
edit_uri: edit/master/docs/
docs_dir: ./docs/pages
site_dir: ./build/docs
# nav:
# - Home: 'index.md'
# - Resources: 'resources.md'
theme:
name: material
logo: /imgs/serene.png
favicon: /imgs/serene.png
logo: /images/serene.png
favicon: /images/serene.png
icon:
repo: fontawesome/brands/git-alt
edit: material/pencil