Skip to content

Commit

Permalink
code highlight via highlight.js (#18)
Browse files Browse the repository at this point in the history
* code highlight via highlight.js

* ci: 🎡 gh-pages

close #17

chore: 🤖 0.2.8

.nojekyll

fix: docs: No such file or directory

fix: ci
  • Loading branch information
ThaddeusJiang committed Jan 12, 2024
1 parent 2c03734 commit 54cf361
Show file tree
Hide file tree
Showing 18 changed files with 68 additions and 3,926 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Deploy

on:
push:
branches: ["main"]

permissions:
contents: write

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install and Build 🔧
run: |
sh build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

.DS_Store
output
docs
Empty file added .nojekyll
Empty file.
7 changes: 3 additions & 4 deletions build
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!/bin/bash

rm -rf ./docs/*
rm -rf docs && mkdir docs

tiddlywiki --build index
npx tiddlywiki --build index

mv ./output/index.html ./docs/wiki.html
cp ./output/index.html ./docs/wiki.html

tiddlywiki --build tiddlyjam

mv ./output/* ./docs/
69 changes: 0 additions & 69 deletions docs/404.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/tiddlyjam.min.css

This file was deleted.

3 changes: 0 additions & 3 deletions docs/css/vanilla.css

This file was deleted.

82 changes: 0 additions & 82 deletions docs/customizing-your-tiddlyjam-website.html

This file was deleted.

82 changes: 0 additions & 82 deletions docs/getting-started-with-tiddlyjam.html

This file was deleted.

148 changes: 0 additions & 148 deletions docs/index.html

This file was deleted.

Loading

0 comments on commit 54cf361

Please sign in to comment.