docs: fix page build

This commit is contained in:
Leon Schwarzäugl 2025-12-31 11:16:07 +01:00 committed by Leon Schwarzäugl
parent a0144322bc
commit ca7392b341
3 changed files with 12 additions and 5 deletions

View file

@ -27,6 +27,14 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y emacs-nox elpa-htmlize sudo apt-get install -y emacs-nox elpa-htmlize
- name: Tangle Org files
run: |
emacs --batch \
--eval "(require 'org)" \
--eval "(setq org-confirm-babel-evaluate nil)" \
--visit=SwarselSystems.org \
--funcall org-babel-tangle
- name: Export Org to HTML - name: Export Org to HTML
run: | run: |
emacs --batch \ emacs --batch \
@ -43,7 +51,7 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3
with: with:
path: '.' path: 'site'
deploy: deploy:
environment: environment:

3
.gitignore vendored
View file

@ -7,5 +7,4 @@ result
*.bak *.bak
.pre-commit-config.yaml .pre-commit-config.yaml
.direnv .direnv
/index.html /site/
/style.css

View file

@ -3,7 +3,7 @@
#+PROPERTY: header-args:nix :mkdirp yes #+PROPERTY: header-args:nix :mkdirp yes
#+PROPERTY: header-args:nix-ts :mkdirp yes #+PROPERTY: header-args:nix-ts :mkdirp yes
#+PROPERTY: header-args:shell :mkdirp yes #+PROPERTY: header-args:shell :mkdirp yes
#+EXPORT_FILE_NAME: index.html #+EXPORT_FILE_NAME: site/index.html
#+OPTIONS: toc:6 author:nil creator:nil timestamp:nil validate:nil html-postamble:nil html-preamble:nil broken-links:mark #+OPTIONS: toc:6 author:nil creator:nil timestamp:nil validate:nil html-postamble:nil html-preamble:nil broken-links:mark
#+HTML_HEAD: <link rel="stylesheet" href="style.css"> #+HTML_HEAD: <link rel="stylesheet" href="style.css">
#+macro: revision-date (eval (format-time-string "%F %T %z")) #+macro: revision-date (eval (format-time-string "%F %T %z"))
@ -30949,7 +30949,7 @@ This is the stylesheet used by waybar.
This is the stylesheet used by waybar. This is the stylesheet used by waybar.
#+begin_src css :tangle style.css #+begin_src css :tangle site/style.css :mkdirp yes
html, body { html, body {
margin: 0; margin: 0;
padding: 0; padding: 0;