Skip to content

Commit

Permalink
base setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed May 29, 2023
1 parent 7b1da7a commit a757521
Show file tree
Hide file tree
Showing 74 changed files with 3,014 additions and 3,750 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,38 @@ name: Deploy to GitHub Pages
on:
push:
branches:
- hugo
- v4-alpha

jobs:
deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
fetch-depth: 0

- name: Build Link Index
uses: jackyzha0/[email protected]
- name: Setup Node
uses: actions/setup-node@v3
with:
index: true
input: content
output: assets/indices
root: .
node-version: '18'

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
- name: Cache dependencies
uses: actions/cache@v3
with:
hugo-version: '0.96.0'
extended: true
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build
run: hugo --minify
- run: npm ci

- name: Build Quartz
run: npx quartx build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: master # deploying branch
cname: quartz.jzhao.xyz
42 changes: 0 additions & 42 deletions .github/workflows/docker-publish.yaml

This file was deleted.

7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.DS_Store
node_modules
public
resources
.idea
content/.obsidian
assets/indices/linkIndex.json
assets/indices/contentIndex.json
linkmap
Empty file removed .hugo_build.lock
Empty file.
10 changes: 0 additions & 10 deletions Dockerfile

This file was deleted.

24 changes: 0 additions & 24 deletions Makefile

This file was deleted.

19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
# Quartz
# Quartz v4

Host your second brain and [digital garden](https://jzhao.xyz/posts/networked-thought) for free. Quartz features

1. Extremely fast natural-language search
2. Customizable and hackable design based on Hugo
3. Automatically generated backlinks, link previews, and local graph
4. Built-in CJK + Latex Support and Admonition-style callouts
5. Support for both Markdown Links and Wikilinks
> [One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming
Check out some of the [amazing gardens that community members](https://quartz.jzhao.xyz/notes/showcase/) have published with Quartz!
Quartz is a set of tools that helps you publish your [digital garden](https://jzhao.xyz/posts/networked-thought) and notes as a website for free.
Quartz v4 features a from-the-ground rewrite focussing on end-user extensibility and ease-of-use.

> [One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming
Please note that v4 is still beta software and *will* contain bugs. Use with caution!

🔗 Get Started: https://quartz.jzhao.xyz/
**If you are looking for Quartz v3, you can find it on the [`hugo` branch](https://github.com/jackyzha0/quartz/tree/hugo).**

![Quartz Example Screenshot](./screenshot.png)*Quartz Example Screenshot*
🔗 Read the documentation and setup instructions: https://quartz.jzhao.xyz/

[Join the Discord Community](https://discord.gg/cRFFHYye7t)
Empty file removed assets/indices/.gitkeep
Empty file.
6 changes: 0 additions & 6 deletions assets/js/callouts.js

This file was deleted.

45 changes: 0 additions & 45 deletions assets/js/clipboard.js

This file was deleted.

17 changes: 0 additions & 17 deletions assets/js/code-title.js

This file was deleted.

37 changes: 0 additions & 37 deletions assets/js/darkmode.js

This file was deleted.

61 changes: 0 additions & 61 deletions assets/js/full-text-search.js

This file was deleted.

Loading

0 comments on commit a757521

Please sign in to comment.