[1/2] Move docs to brivate (#1640)

This PR moves the docs site to the private repo while keeping the docs
content on the public repo.

### Change Type

- [x] `documentation`
This commit is contained in:
Steve Ruiz 2023-06-23 15:23:14 +01:00 committed by GitHub
parent 245f74010c
commit 096df3209b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
638 changed files with 64004 additions and 2983 deletions

View file

@ -8,7 +8,7 @@ import { nicelog } from './nicelog'
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
const isBublic = basename(join(__dirname, '../..')) === 'bublic'
export const REPO_ROOT = join(__dirname, isBublic ? '../../..' : '../..')
export const REPO_ROOT = join(__dirname, isBublic ? '../../../' : '../..')
export const BUBLIC_ROOT = join(__dirname, '../..')
export async function readJsonIfExists(file: string) {