docs: Move the mkdocs pages to docs/pages
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
This commit is contained in:
parent
38a9481f04
commit
01fd49524b
|
@ -1,2 +1,2 @@
|
||||||
./build/
|
|
||||||
./resources/
|
./resources/
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
FROM busybox
|
||||||
|
|
||||||
|
COPY ./build/docs /app
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
@ -35,7 +35,7 @@ title: Resources
|
||||||
## Concurrency
|
## Concurrency
|
||||||
- [Scheduling In Go (Series)](https://www.ardanlabs.com/blog/2018/08/scheduling-in-go-part1.html)
|
- [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)
|
- [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)
|
- [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/)
|
- [Boehm GC](https://www.hboehm.info/gc/)
|
|
@ -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
|
|
@ -6,12 +6,17 @@ repo_name: Serene
|
||||||
copyright: Copyright © 2019 - 2023 Sameer Rahmani
|
copyright: Copyright © 2019 - 2023 Sameer Rahmani
|
||||||
edit_uri: edit/master/docs/
|
edit_uri: edit/master/docs/
|
||||||
|
|
||||||
|
docs_dir: ./docs/pages
|
||||||
site_dir: ./build/docs
|
site_dir: ./build/docs
|
||||||
|
|
||||||
|
# nav:
|
||||||
|
# - Home: 'index.md'
|
||||||
|
# - Resources: 'resources.md'
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
logo: /imgs/serene.png
|
logo: /images/serene.png
|
||||||
favicon: /imgs/serene.png
|
favicon: /images/serene.png
|
||||||
icon:
|
icon:
|
||||||
repo: fontawesome/brands/git-alt
|
repo: fontawesome/brands/git-alt
|
||||||
edit: material/pencil
|
edit: material/pencil
|
||||||
|
|
Loading…
Reference in New Issue