-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incrementally update documentation (#142)
- Loading branch information
Showing
14 changed files
with
168 additions
and
36 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
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
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-Agent: * | ||
Disallow: /v/* |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,6 +1,11 @@ | ||
export default { | ||
index: { | ||
title: "Home", | ||
title: "OberonCMS", | ||
type: "page", | ||
display: "hidden", | ||
}, | ||
developers: { | ||
title: "Developers", | ||
type: "page", | ||
}, | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export default { | ||
"quick-start": "Quick Start", | ||
roadmap: "Roadmap", | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Quick Start Guide | ||
### Create a new project | ||
```sh npx2yarn copy | ||
npx create-oberon-app my-app | ||
``` | ||
Prompts will guide you through the process of selecting core plugins and setting some sane defaults. | ||
|
||
|
||
### Manual installation | ||
|
||
This is not docemented yet. | ||
|
||
```sh npm2yarn copy | ||
npm i @oberoncms/core | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Roadmap | ||
|
||
We are currently under heavy development. | ||
|
||
Please post bug reports and feature requests on our [github issues board](https://github.com/tohuhono/oberon/issues). | ||
|
||
You can also see an overview of planned features on our [project board](https://github.com/orgs/Tohuhono/projects/1/views/1). |
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
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,38 +1,71 @@ | ||
/* eslint-disable react-hooks/rules-of-hooks */ | ||
import { useConfig } from "nextra-theme-docs" | ||
import Image from "next/image" | ||
import { useRouter } from "next/router" | ||
|
||
export default { | ||
logo: <Image src="/icon.svg" width="30" height="30" alt="OberonCMS logo" />, | ||
logo: ( | ||
<div className="flex flex-row items-center gap-2"> | ||
<Image src="/icon.svg" width="30" height="30" alt="OberonCMS logo" /> | ||
<div className="text-xl font-extrabold text-logo">OberonCMS</div> | ||
</div> | ||
), | ||
project: { | ||
link: "https://github.com/tohuhono/oberon", | ||
}, | ||
docsRepositoryBase: | ||
"https://github.com/tohuhono/oberon/tree/main/apps/documentation/", | ||
"https://github.com/tohuhono/oberon/tree/main/apps/documentation", | ||
useNextSeoProps() { | ||
return { | ||
titleTemplate: "%s – SWR", | ||
titleTemplate: "%s - OberonCMS", | ||
} | ||
}, | ||
head: () => { | ||
// eslint-disable-next-line react-hooks/rules-of-hooks | ||
const { frontMatter } = useConfig() | ||
const { asPath, defaultLocale, locale } = useRouter() | ||
const { frontMatter, title } = useConfig() | ||
|
||
const siteUrl = "https://tohuhono.com" | ||
const url = | ||
siteUrl + (defaultLocale === locale ? asPath : `/${locale}${asPath}`) | ||
|
||
const defaultTitle = `OberonCMS - The NextJS Content Management System` | ||
const description = | ||
frontMatter.description || | ||
`A CMS for developers, designers and content creators. Get started quickly, build beautiful performant websites.` | ||
|
||
return ( | ||
<> | ||
<link rel="canonical" href={`${siteUrl}${asPath}`} /> | ||
<meta property="og:url" content={url} /> | ||
<meta property="description" content={description} /> | ||
<meta property="og:description" content={description} /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:image" content={`${siteUrl}/social.png`} /> | ||
<meta property="og:image:height" content="675" /> | ||
<meta property="og:image:width" content="1200" /> | ||
<meta property="og:image:alt" content="OberonCMS" /> | ||
<meta property="og:image:type" content="image/png" /> | ||
<meta property="og:locale" content="en" /> | ||
<meta property="og:site_name" content={defaultTitle} /> | ||
<meta name="image" content={`${siteUrl}/social.png`} /> | ||
<meta itemProp="image" content={`${siteUrl}/social.png`} /> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta name="twitter:image" content={`${siteUrl}/social.png`} /> | ||
<meta name="twitter:description" content={description} /> | ||
<meta name="twitter:image:alt" content="OberonCMS" /> | ||
<meta name="twitter:image:height" content="675" /> | ||
<meta name="twitter:image:type" content="image/png" /> | ||
<meta name="twitter:image:width" content="1200" /> | ||
<meta | ||
property="og:title" | ||
content={frontMatter.title || "OberonCMS Documentation"} | ||
/> | ||
<meta | ||
property="og:description" | ||
name="twitter:title" | ||
content={ | ||
frontMatter.description || | ||
"A CMS for developers, designers and content creators." | ||
title !== defaultTitle ? `${title} - OberonCMS` : defaultTitle | ||
} | ||
/> | ||
|
||
<link rel="icon" href="/favicon.ico" sizes="48x48" /> | ||
<link rel="icon" href="/icon.svg" type="image/svg+xml" /> | ||
</> | ||
) | ||
}, | ||
|
||
// ... other theme options | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.