forked from saberhaoren/haoren
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
74 changed files
with
3,014 additions
and
3,750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.