v4-alpha -> v4

This commit is contained in:
Jacky Zhao 2023-08-18 18:24:09 -07:00
parent 3c47e877b9
commit 0b53e9eaac
5 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ However, if you'd like to publish your site to the world, you need a way to host
| Configuration option | Value | | Configuration option | Value |
| ---------------------- | ------------------ | | ---------------------- | ------------------ |
| Production branch | `v4-alpha` | | Production branch | `v4` |
| Framework preset | `None` | | Framework preset | `None` |
| Build command | `npx quartz build` | | Build command | `npx quartz build` |
| Build output directory | `public` | | Build output directory | `public` |
@ -38,7 +38,7 @@ name: Deploy Quartz site to GitHub Pages
on: on:
push: push:
branches: branches:
- v4-alpha - v4
permissions: permissions:
contents: read contents: read

View File

@ -13,7 +13,7 @@ Then, in your terminal of choice, enter the following commands line by line:
```shell ```shell
git clone https://github.com/jackyzha0/quartz.git git clone https://github.com/jackyzha0/quartz.git
cd quartz cd quartz
git checkout v4-alpha git checkout v4
npm i npm i
npx quartz create npx quartz create
``` ```

View File

@ -5,8 +5,8 @@ title: "Migrating from Quartz 3"
As you already have Quartz locally, you don't need to fork or clone it again. Simply just checkout the alpha branch, install the dependencies, and import your old vault. As you already have Quartz locally, you don't need to fork or clone it again. Simply just checkout the alpha branch, install the dependencies, and import your old vault.
```bash ```bash
git checkout v4-alpha git checkout v4
git pull upstream v4-alpha git pull upstream v4
npm i npm i
npx quartz create npx quartz create
``` ```

View File

@ -16,4 +16,4 @@ Want to see what Quartz can do? Here are some cool community gardens:
- [Abhijeet's Math Wiki](https://abhmul.github.io/quartz/Math-Wiki/) - [Abhijeet's Math Wiki](https://abhmul.github.io/quartz/Math-Wiki/)
- [Mike's AI Garden 🤖🪴](https://mwalton.me/) - [Mike's AI Garden 🤖🪴](https://mwalton.me/)
If you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/v4-alpha/content/showcase.md)! If you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/v4/content/showcase.md)!

View File

@ -19,7 +19,7 @@ import { randomUUID } from "crypto"
const ORIGIN_NAME = "origin" const ORIGIN_NAME = "origin"
const UPSTREAM_NAME = "upstream" const UPSTREAM_NAME = "upstream"
const QUARTZ_SOURCE_BRANCH = "v4-alpha" const QUARTZ_SOURCE_BRANCH = "v4"
const cwd = process.cwd() const cwd = process.cwd()
const cacheDir = path.join(cwd, ".quartz-cache") const cacheDir = path.join(cwd, ".quartz-cache")
const cacheFile = "./.quartz-cache/transpiled-build.mjs" const cacheFile = "./.quartz-cache/transpiled-build.mjs"