mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 05:09:09 +02:00
docs: fix page build
This commit is contained in:
parent
a0144322bc
commit
ca7392b341
3 changed files with 12 additions and 5 deletions
10
.github/workflows/build-and-deploy.yml
vendored
10
.github/workflows/build-and-deploy.yml
vendored
|
|
@ -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
3
.gitignore
vendored
|
|
@ -7,5 +7,4 @@ result
|
||||||
*.bak
|
*.bak
|
||||||
.pre-commit-config.yaml
|
.pre-commit-config.yaml
|
||||||
.direnv
|
.direnv
|
||||||
/index.html
|
/site/
|
||||||
/style.css
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue