Skip to content
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

Feat/website rewrite #1276

Open
wants to merge 72 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
16dd6bf
Init
Feb 10, 2024
a554c51
Format and add CNAME
Feb 10, 2024
45fffd9
Delete Book_table_of_contents.md
Feb 10, 2024
0ee374b
Update deps
Feb 10, 2024
4799ce5
Fix link
Feb 10, 2024
9eefc56
Updated some outputs
Feb 10, 2024
b84a157
Complete all book files
Feb 11, 2024
7ea7d2f
Update custom_completions.md
Feb 11, 2024
63d5154
Update getting_started.md
Feb 11, 2024
3c0365d
Update astro.config.mjs
Feb 11, 2024
36a85ae
Add command reference
Feb 11, 2024
ee716bb
Get commands
Feb 11, 2024
daf2cf2
Format
Feb 11, 2024
b60c7ba
Fix links
Feb 12, 2024
efe4e15
Format
Feb 12, 2024
1c829c1
Add blog
Feb 12, 2024
758f099
Update GetBlogPosts.astro
Feb 12, 2024
00b616e
Update caution block
Feb 12, 2024
23a072a
Set up blog
Feb 14, 2024
0a011a6
Update deps
Feb 14, 2024
5298b59
Update blog.mdx
Feb 14, 2024
688fc7b
Update astro
Feb 15, 2024
97b60b4
Format blog posts
Feb 15, 2024
2b1f19b
Update blog.mdx
Feb 15, 2024
b96f21f
Fix code blocks
Feb 15, 2024
92dc9cc
Fix note blocks
Feb 15, 2024
6080fc6
Update 2023-04-25-nushell_0_79.md
Feb 15, 2024
5d6d183
Fix blog posts
Feb 16, 2024
2b5293e
Fix titles
Feb 16, 2024
2c95d1b
Fix headings
Feb 16, 2024
c7503ae
Fix caution block
Feb 16, 2024
f579349
Replace blog
Feb 17, 2024
339e49f
Remove table of content
Feb 17, 2024
3c3a1df
Update starlight
Feb 17, 2024
7fa4d97
Add other langs
Feb 17, 2024
8a3b572
Fix de titles
Feb 17, 2024
91241de
Fix readme titles
Feb 17, 2024
d93334b
Fix es titles
Feb 17, 2024
d63d134
Fix ja titles
Feb 17, 2024
cfa861f
fix pt titles
Feb 17, 2024
437cedf
Fix zh titles
Feb 17, 2024
8c6aff5
English
Feb 22, 2024
f055118
Update starlight
Feb 23, 2024
b604861
Replace ```nushell with ```nu
Feb 23, 2024
3cc1274
Remove `frame="terminal"`
Feb 23, 2024
5183dad
Remove nushell-grammar file
Feb 25, 2024
d5a5407
Move book out of blog
Feb 25, 2024
7a0f565
Update astro.config.mjs
Feb 25, 2024
9842640
Update starlight
Feb 25, 2024
0f094e0
Fix es content
Feb 25, 2024
9e8b97d
.sh to .nu
Feb 26, 2024
a5f6de9
Fix docs
Feb 26, 2024
4539752
Update index
Feb 26, 2024
6fdf25f
Fix imports and variables
Feb 26, 2024
7cabccd
Add i18n
Feb 26, 2024
2d80944
Update deps
Feb 27, 2024
d5d759d
Simplify astro config using autogenerate
Feb 28, 2024
fd26f25
Order files
Feb 28, 2024
c9c31bb
translate files names
Feb 28, 2024
36201f5
Update deps
Mar 4, 2024
be4cbbd
Update docs
Mar 4, 2024
7ed427f
Update thinking_in_nu.mdx
Mar 4, 2024
457b678
Fix code component
Mar 4, 2024
9b607e7
Update plugins.mdx
Mar 4, 2024
3127a41
Update docs
Mar 5, 2024
f3c48ee
Update installation.mdx
Mar 5, 2024
dc6ea60
More fixes
Mar 5, 2024
bc26337
Fix more imports/exports
Mar 5, 2024
24da579
Fix cookbook nav
Mar 5, 2024
eb94db8
Update CONTRIBUTING.md
Mar 5, 2024
e25f2e8
Create .typos.toml
Mar 5, 2024
1dc8572
Update .prettierignore
Mar 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 20 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
.temp/
.cache/
.DS_Store
node_modules
npm-debug.log
.vuepress/dist/
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# ignore the git mailmap file
.mailmap

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
41 changes: 31 additions & 10 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
# build output
dist

# generated types
.astro

# dependencies
node_modules
package-lock.json

operators.md
dataframes.md
nushell_map.md
*_bash*.md
commands/docs/*.md
.vuepress/.temp
.vuepress/.cache
.vuepress/dist/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

# files
**/*.js
**/*.ts
Comment on lines +24 to +25
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should they all be ignored during formatting?

**/*.cjs
**/*.mjs
**/*.json
**/*.yaml
**/*.yml
!package.json
!tsconfig.json
!src/content/docs/book/coming-to-nu/coming_from_bash.md
3 changes: 0 additions & 3 deletions .prettierrc

This file was deleted.

12 changes: 12 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import("prettier").Config} */
export default {
plugins: ["prettier-plugin-astro"],
overrides: [
{
files: "*.astro",
options: {
parser: "astro",
},
},
],
};
7 changes: 6 additions & 1 deletion .typos.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@

[files]
extend-exclude = ["pt-BR", "de", "ja", "es", "book/commands"]
extend-exclude = ["pt-BR", "de", "ja", "es", "blog/202[0-3]*"]

[default.extend-words]
# Avoid the false positive in book/commands/str_replace.md
ons = "ons"
# Avoid false positive for json placeholder in cookbook/http.md
optio = "optio"
ratatui = "ratatui"
doas = "doas"
iterm = "iterm"
nushell = "nushell"
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": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
14 changes: 0 additions & 14 deletions .vuepress/client.js

This file was deleted.

76 changes: 0 additions & 76 deletions .vuepress/components/BlogPosts.vue

This file was deleted.

Loading