Skip to content

Commit

Permalink
docs: migrate to astro (#33)
Browse files Browse the repository at this point in the history
* docs: migrate to astro

* fix: fixed astro config

* chore: never gonna let you down

* fix: disable cloudflare adapter

* docs: regenerate docs without formatting

* feat: add wrangler config

* fix: wrangler specify output dir

* chore: remove compression

* chore: remove generated markdown files from git

* fix: update wrangler file

* chore: fix typechecking

* fix: changed vercel urls

* chore: better linting setup

* chore: trying to fake a conflict

* chore: trying to do something right!
  • Loading branch information
favna committed Apr 27, 2024
1 parent 7e1c1df commit 0f5d2c8
Show file tree
Hide file tree
Showing 86 changed files with 7,116 additions and 13,974 deletions.
17 changes: 13 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"extends": ["@sapphire"],
"rules": {
"no-case-declarations": "off"
}
"extends": ["@sapphire"],
"rules": {
"no-case-declarations": "off"
},
"overrides": [
{
"files": ["documentation/src/env.d.ts"],
"rules": {
"@typescript-eslint/triple-slash-reference": "off",
"spaced-comment": "off"
}
}
]
}
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
node_modules/

# Generated data
documentation/docs/Documentation/
documentation/.docusaurus/
documentation/src/content/api/
7 changes: 7 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import sapphirePrettierConfig from '@sapphire/prettier-config';

export default {
...sapphirePrettierConfig,
plugins: ['prettier-plugin-astro'],
overrides: [
...sapphirePrettierConfig.overrides,
{
Expand All @@ -12,6 +13,12 @@ export default {
printWidth: 120,
proseWrap: 'always'
}
},
{
files: ['*.astro'],
options: {
parser: 'astro'
}
}
]
};
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">

<a href="https://www.npmjs.com/package/nintendo-switch-eshop"><img src="https://nintendo-switch-eshop.vercel.app/img/nintendoeshop.png" height="100" alt="logo"/></a>
<a href="https://www.npmjs.com/package/nintendo-switch-eshop"><img src="https://nintendo-switch-eshop.pages.dev/nintendoeshop.png" height="100" alt="logo"/></a>

## nintendo-switch-eshop

Expand Down Expand Up @@ -41,7 +41,7 @@ Copyright © `2021` `favna` & `lmmfranco`

## Documentation

For the documentation go to https://nintendo-switch-eshop.vercel.app
For the documentation go to https://nintendo-switch-eshop.pages.dev

## Contributors

Expand Down
7 changes: 0 additions & 7 deletions documentation/.eslintignore

This file was deleted.

138 changes: 0 additions & 138 deletions documentation/.eslintrc

This file was deleted.

28 changes: 8 additions & 20 deletions documentation/.gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
# Dependencies
/node_modules
# build output
dist/

# Production
/build
# generated types
.astro/

# Generated files
.docusaurus
.cache-loader
# dependencies
node_modules/

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# TypeDoc output
docs/Documentation/
# Autogenerated documentation
src/content/docs/api/
Loading

0 comments on commit 0f5d2c8

Please sign in to comment.