-
Notifications
You must be signed in to change notification settings - Fork 899
feat: add offline docs #8527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: add offline docs #8527
Changes from 7 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
3e023af
feat: add offline docs
BrunoQuaresma 9e42f29
chore: setup ga for offline docs
BrunoQuaresma 7072ebc
tar docs
BrunoQuaresma 056f1dc
Remove extra folder
BrunoQuaresma 4a07143
Add offline docs to release yaml
BrunoQuaresma e58adb3
Fix formatting
BrunoQuaresma 6d2f65a
Merge branch 'main' into bq/offline-docs
BrunoQuaresma 0ec912f
Fix prettier roles
BrunoQuaresma b34947b
Fix offlinedocs release workflow
deansheather b9ef4dd
fixup! Fix offlinedocs release workflow
deansheather 42e8b8c
Remove app from docs folder
BrunoQuaresma a9c0bb7
Update makefile
BrunoQuaresma 95a9901
fix lint
BrunoQuaresma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
This file contains hidden or 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,38 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
# content | ||
public/images/ |
This file contains hidden or 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,5 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
This file contains hidden or 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 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
trailingSlash: true, | ||
} | ||
|
||
module.exports = nextConfig |
This file contains hidden or 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,37 @@ | ||
{ | ||
"name": "coder-docs-generator", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "yarn copy-images && next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"export": "yarn copy-images && next build && next export", | ||
"copy-images": "sh ./scripts/copyImages.sh" | ||
}, | ||
"dependencies": { | ||
"@chakra-ui/react": "2.7.1", | ||
"@emotion/react": "11", | ||
"@emotion/styled": "11", | ||
"archiver": "5.3.1", | ||
"framer-motion": "6", | ||
"front-matter": "4.0.2", | ||
"fs-extra": "10.1.0", | ||
"lodash": "4.17.21", | ||
"next": "12.1.6", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-icons": "4.4.0", | ||
"react-markdown": "8.0.3", | ||
"rehype-raw": "6.1.1", | ||
"remark-gfm": "3.0.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "18.0.0", | ||
"@types/react": "18.0.14", | ||
"@types/react-dom": "18.0.5", | ||
"eslint": "8.17.0", | ||
"eslint-config-next": "12.1.6", | ||
"typescript": "4.7.3" | ||
} | ||
} |
This file contains hidden or 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,29 @@ | ||
import { ChakraProvider, extendTheme } from "@chakra-ui/react" | ||
import type { AppProps } from "next/app" | ||
import Head from "next/head" | ||
|
||
const theme = extendTheme({ | ||
styles: { | ||
global: { | ||
body: { | ||
bg: "gray.50", | ||
}, | ||
}, | ||
}, | ||
}) | ||
|
||
const MyApp: React.FC<AppProps> = ({ Component, pageProps }) => { | ||
return ( | ||
<> | ||
<Head> | ||
<link rel="mask-icon" href="/favicon.svg" color="#000000" /> | ||
<link rel="alternate icon" type="image/png" href="/favicon.png" /> | ||
</Head> | ||
<ChakraProvider theme={theme}> | ||
<Component {...pageProps} /> | ||
</ChakraProvider> | ||
</> | ||
) | ||
} | ||
|
||
export default MyApp |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.