-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New Website #12127
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
Closed
+34,675
−0
Closed
New Website #12127
Changes from 99 commits
Commits
Show all changes
160 commits
Select commit
Hold shift + click to select a range
8454dcd
Initial commit from Astro
astrobot-houston 0131dd2
feat: setup helix color themes
nik-rev cdb9ab2
feat: update landing page
nik-rev f8a7d46
feat: add Installation page
nik-rev bebdfd1
feat: add building from source instructions
nik-rev be6f5b7
feat: add custom theme
nik-rev 6e6d733
feat: add custom theme
nik-rev 6094fad
feat: add custom helix theme
nik-rev b28ee25
feat: update to use newest theme
nik-rev f2e15f5
feat: use brand colors for admonitions
nik-rev 68dd06c
feat: make admonition styles more monochrome
nik-rev bb68bf6
feat: add empty pages to be filled later
nik-rev f9860eb
feat: write content for Introduction
nik-rev 4eb8402
feat: sensible order for Getting Started section
nik-rev e3e8c4e
feat: add instructions on using gnome terminal
nik-rev c6c3534
feat: add better instructions for Basics
nik-rev 5c2e285
feat: add all theme.astro files
nik-rev 1618e4b
feat: improve themes reference section
nik-rev 8dcd711
feat: add custom theme docs information
nik-rev 8242e3f
feat: add terminal-support.mdx
nik-rev ab63b32
feat: add faq.mdx
nik-rev dd69398
feat: add troubleshooting.mdx
nik-rev feb65be
feat: add from-vim.mdx
nik-rev 5cae39b
feat: add debuggers.mdx
nik-rev 0cf49d1
feat: add languages.mdx
nik-rev 423564f
feat: add Contributing section
nik-rev 390462a
feat: add information on why i made this site in the README
nik-rev b420418
docs: add info about visualizations
nik-rev 2fef36b
docs: add note that this is a work in progress
nik-rev ec0c04e
feat: add Asciinema support
nik-rev e414a95
feat: add overview mdx document
nik-rev 9322607
feat: add section on surrounds
nik-rev 873f8b8
feat: simplify wording around surrounds
nik-rev c12756b
feat: add textobject info about word, WORD and surrounds
nik-rev f3a7638
feat: finalize text-manipulation document
nik-rev 463b13f
feat: add keymaps reference section
nik-rev 85f8dc9
feat: add commands and formatters page
nik-rev ac9c0c5
feat: use a theme which better matches helix color theme
nik-rev 6dbbe40
feat: transform faq, keymap and debuggers pages for consistency
nik-rev f4cf395
feat: add architecture.mdx and releases.mdx
nik-rev cc5716c
feat: update title
nik-rev 1695577
feat: add vision.mdx
nik-rev c96dad7
feat: add open collective link
nik-rev f0be289
feat: add components for Master and Latest version
nik-rev 193fa0c
feat: prettier editor config option reference page
nik-rev 201240a
feat: complete languages.md usage document
nik-rev bccc12b
feat: add recipes document
nik-rev caf3185
feat: update languages.mdx with links to references
nik-rev cdddfc6
feat: add a very comprehensive tutorial for using macros and multiple…
nik-rev 00bc332
feat: rewrite multiple cursors section
nik-rev bab3376
feat: clean up by removing unused mdx files
nik-rev 991c747
feat: add instructions for adding language server support for astro
nik-rev 7b057de
feat: update multiple cursors and macros document
nik-rev 53773c5
feat: improve wording in language support document
nik-rev b604b4c
feat: add better explanations to Picker docs
nik-rev 56a4118
feat: human formatting for typed command docs
nik-rev fe9d679
feat: fix broken links
nik-rev e6629da
feat: add registers document
nik-rev a3cc55d
feat: remove link-validator
nik-rev 0b3c637
feat: add termshots for multiple-cursors
nik-rev 3451eb2
feat: add display termshots for javascript example object -> array
nik-rev cf6ce12
feat: create termshots for textobjects
nik-rev f35159e
feat: add termshots for surround.mdx
nik-rev 15e9171
feat: add termshots for pickers
nik-rev d197144
feat: call to action to send PR if they figure it out
nik-rev 8019c48
feat: update styling for Master component
nik-rev d773ed3
feat: add key-remapping docs
nik-rev b95d406
feat: create sub-section Configuration
nik-rev 360d4a5
fix: broken links
nik-rev ae6eeab
feat: add support for News section
nik-rev 6ced208
feat: custom asciinema theme
nik-rev 0419207
feat: add background decoration hexagons
nik-rev 8258b40
feat: add background pattern to hero secton
nik-rev b0b25c8
feat: add second get started button
nik-rev 2a83b74
feat: move all termshots to dedicated folder
nik-rev fd004b4
feat: add doc page explaining this site
nik-rev b7c4003
feat: migrate away from tailwind
nik-rev 1fe916d
feat: add instructions on how to use site
nik-rev 4157b77
feat: update README with new instructions and map of Old -> New docs
nik-rev 79939bb
fix: rename duplicated filenames
nik-rev 945eff5
fix: termshots script searched in wrong directory
nik-rev 84e0d08
feat: add sitemap plugin
nik-rev a2b9d2e
feat: add sitemap
nik-rev 6bde18e
feat: add sitemap to every <head> on website
nik-rev 41075e2
feat: move every file into a subdirectory
nik-rev 1c4ad5b
Merge remote-tracking branch 'new-website/main' into new-website
nik-rev a4b0459
feat: update url
nik-rev 8ceca02
fix: correct url for view source
nik-rev ee1dc29
feat: add github action to deploy project
nik-rev 42f115e
build: trigger deployment
nik-rev 2035a16
fix: move deployment script to root directory
nik-rev 5d28b00
fix: specify pnpm package manager
nik-rev 8d61450
fix: specify latest pnpm version
nik-rev 47d528a
fix: typo
nik-rev dc8b3a3
feat: exclude contributing pages from pagefind
nik-rev d73de68
feat: add autolink hover indicator
nik-rev c387284
feat: add indicator for external links
nik-rev 543f205
feat: add opengraph image support
nik-rev db6a9dd
feat: add description frontmatter to each page for SEO
nik-rev 5989dfb
fix: spelling mistake
nik-rev f8ab359
fix: spelling mistake
nik-rev 92b0cd5
fix: do not force description
nik-rev dbae7f1
feat: specify that clipboard provider is for Linux
nik-rev c31b764
fix: cut description in each post to under 100 chars
nik-rev 67e1906
feat: improve wording
nik-rev 3386a45
feat: add starlight-image-zoom for accessibility on mobile devices
nik-rev 69554f8
feat: use master branch for github pages deployment
nik-rev 48f274e
fix: correct "Edit this page" URL
nik-rev f741d23
fix: broken link used localhost
nik-rev 93ccb25
feat: show "News" link in documentation
nik-rev b8e23fc
feat: make installation commands directly copy-pasteable into terminal
nik-rev ab9707d
feat: use steps component for pre-built binaries
nik-rev 04b01ad
feat: add healthcheck section to troubleshooting
nik-rev 91c98d9
feat: improve installation page
nik-rev 078b71d
feat: move note to building from source section
nik-rev c4724c2
feat: format arrow keys into a bulleted list
nik-rev f84f2f0
feat: add recipe to remap caps lock to escape
nik-rev 7a408c7
feat: mention caps lock recipe in Basics section
nik-rev 1985569
feat(basics): move Registers section later in the page
nik-rev b64b660
feat(multiple-cursors): improve document flow
nik-rev 93ea125
feat: split up Multpile Cursors and Macros and rename Usage section
nik-rev d144c3c
feat: rename Getting Started to Start Here
nik-rev f36d58b
feat: rename Guides back to Usage
nik-rev fc5fc70
feat: add updates from GyuKlaassen code review
nik-rev 134e7b2
feat: display up to level 5 headings on the table of contents
nik-rev 3fd50b2
feat: reword congratulation statement
nik-rev d38b520
feat: improve formatting for text objects section
nik-rev f4171ba
feat: add next step section to text objects
nik-rev dc5f267
feat: improve usage/language support docs with concrete examples
nik-rev be35cc8
feat: overhaul picker page
nik-rev fc5ba05
fix: broken links
nik-rev 9716279
fix: use h3 headings separately from the ConfigOption component
nik-rev f97a570
feat: add recipe to map Ctrl + Z
nik-rev 86b1e00
feat: improve surround docs
nik-rev 4f1df44
feat: add doc on buffers
nik-rev 12c4b0a
feat: add additional information on how to use --vimgrep with buffers
nik-rev bb1cbfc
fix: dozens of spelling errors
nik-rev b8b6d9f
feat: add new plugin information to this-site
nik-rev 69fe424
feat: add instructions for this specific pull request
nik-rev 282eacf
fix: second get started link not working
nik-rev 9208f44
fix: reduce layout shift by specifying a height for the logo
nik-rev e3dcdb5
fix: spacing for second call to action button
nik-rev fec2547
feat: improve landing page design
nik-rev e186f7d
feat: change icon for landing page item
nik-rev 979b3d0
feat: add free and privacy focused Cloudflare web analytics
nik-rev efddf5e
fix: spelling
nik-rev 6788c48
feat: use js comment instead of html in ThemeProvider
nik-rev cca5297
feat: add alt text to logo
nik-rev 5bac178
feat: remove hero image
nik-rev 4278bc4
feat: update xmodmap mention to keyd
nik-rev 2e7e532
feat: basic implementation for theme
nik-rev 2ac320d
feat: progress on theme generator
nik-rev b832a64
feat: complete syntax highlighting for generated themes
nik-rev a97d2fd
feat: use accessible aria-label
nik-rev 726fd49
feat: create utility function to begin abstracting away the termshots
nik-rev c458004
refactor: line 1 and 2 of the theme script
nik-rev 68ebb79
feat: complete refactoring of custom solution for theme generation
nik-rev 7a7651d
feat: basic implementation for showcasing every single theme
nik-rev 3aa3940
fix: add script to package.json
nik-rev a76bc35
fix: spelling issues from GyuKlaassen's review
nik-rev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: Deploy to GitHub Pages | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ new-website ] | ||
| # To run this workflow manually from the Actions tab on GitHub. | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout your repository using git | ||
| uses: actions/checkout@v4 | ||
| - name: Install, build, and upload your site | ||
| uses: withastro/action@v3 | ||
| with: | ||
| path: website | ||
|
|
||
| deploy: | ||
| needs: build | ||
| runs-on: ubuntu-latest | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
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,23 @@ | ||
| .cache | ||
|
|
||
| # build output | ||
| dist/ | ||
| # generated types | ||
| .astro/ | ||
|
|
||
| # dependencies | ||
| node_modules/ | ||
|
|
||
| # logs | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| pnpm-debug.log* | ||
|
|
||
|
|
||
| # environment variables | ||
| .env | ||
| .env.production | ||
|
|
||
| # macOS-specific files | ||
| .DS_Store |
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,12 @@ | ||
| /** @type {import("prettier").Config} */ | ||
| export default { | ||
| plugins: ["prettier-plugin-astro"], | ||
| overrides: [ | ||
| { | ||
| files: "*.astro", | ||
| options: { | ||
| parser: "astro", | ||
| }, | ||
| }, | ||
| ], | ||
| }; |
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,9 @@ | ||
| # Helix Docs | ||
|
|
||
| [](https://starlight.astro.build) | ||
|
|
||
| The helix documentation. | ||
|
|
||
| [Contributing instructions](https://helix-editor.vercel.app/contributing/this-site). | ||
|
|
||
| The new website is available at [helix-editor.vercel.app](https://helix-editor.vercel.app). | ||
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,134 @@ | ||
| // @ts-check | ||
| import { defineConfig } from "astro/config"; | ||
| import starlight from "@astrojs/starlight"; | ||
| import starlightLinksValidator from "starlight-links-validator"; | ||
| import starlightBlog from "starlight-blog"; | ||
| import { rehypeHeadingIds } from "@astrojs/markdown-remark"; | ||
| import rehypeAutolinkHeadings from "rehype-autolink-headings"; | ||
| import rehypeExternalLinks from "rehype-external-links"; | ||
|
|
||
| import sitemap from "@astrojs/sitemap"; | ||
|
|
||
| // https://astro.build/config | ||
| export default defineConfig({ | ||
| site: "https://helix-editor.vercel.app", | ||
| vite: { | ||
| optimizeDeps: { include: ["asciinema-player"] }, | ||
| }, | ||
| markdown: { | ||
| rehypePlugins: [ | ||
| rehypeHeadingIds, | ||
|
|
||
| [ | ||
| rehypeExternalLinks, | ||
| { | ||
| content: { | ||
| type: "text", | ||
| value: " ↗", | ||
| }, | ||
| properties: { | ||
| target: "_blank", | ||
| }, | ||
| rel: ["noopener"], | ||
| }, | ||
| ], | ||
| [rehypeAutolinkHeadings, { behavior: "wrap" }], | ||
| ], | ||
| }, | ||
| integrations: [ | ||
| starlight({ | ||
| head: [ | ||
| { | ||
| tag: "link", | ||
| attrs: { | ||
| rel: "sitemap", | ||
| href: "/sitemap-index.xml", | ||
| }, | ||
| }, | ||
| ], | ||
| plugins: [ | ||
| starlightLinksValidator(), | ||
| starlightBlog({ title: "News", prefix: "news" }), | ||
| ], | ||
| title: "Helix", | ||
| logo: { | ||
| src: "./public/favicon.svg", | ||
| }, | ||
| social: { | ||
| github: "https://github.com/helix-editor/helix", | ||
| matrix: "https://matrix.to/#/#helix-community:matrix.org", | ||
| }, | ||
| components: { | ||
| ThemeProvider: "./src/components/ThemeProvider.astro", | ||
| ThemeSelect: "./src/components/ThemeSelect.astro", | ||
| Head: "./src/components/Head.astro", | ||
| }, | ||
| editLink: { | ||
| baseUrl: "https://github.com/helix-editor/helix/edit/main/website/", | ||
| }, | ||
| sidebar: [ | ||
| { | ||
| label: "Getting Started", | ||
| items: ["getting-started/installation", "getting-started/basics"], | ||
| }, | ||
| { | ||
| label: "Usage", | ||
| items: [ | ||
| "usage/multiple-cursors", | ||
| "usage/text-objects", | ||
| "usage/surround", | ||
| "usage/language-support", | ||
| "usage/pickers", | ||
| "usage/registers", | ||
| ], | ||
| }, | ||
| { | ||
| label: "Configuration", | ||
| items: [ | ||
| "configuration/editor", | ||
| "configuration/languages", | ||
| "configuration/remapping", | ||
| ], | ||
| }, | ||
| { | ||
| label: "Reference", | ||
| items: [ | ||
| "reference/keymap", | ||
| "reference/typed-commands", | ||
| "reference/list-of-themes", | ||
| "reference/custom-themes", | ||
| "reference/language-servers", | ||
| "reference/formatters", | ||
| "reference/debuggers", | ||
| ], | ||
| }, | ||
| { | ||
| label: "Help", | ||
| items: [ | ||
| "help/recipes", | ||
| "help/faq", | ||
| "help/troubleshooting", | ||
| "help/terminal-support", | ||
| "help/language-defaults", | ||
| "help/refactor-examples", | ||
| ], | ||
| }, | ||
| { | ||
| label: "Contributing to Helix", | ||
| items: [ | ||
| "contributing/vision", | ||
| "contributing/this-site", | ||
| "contributing/releases", | ||
| "contributing/architecture", | ||
| "contributing/languages", | ||
| "contributing/textobject-queries", | ||
| "contributing/indent-queries", | ||
| "contributing/injection-queries", | ||
| ], | ||
| }, | ||
| ], | ||
| customCss: ["./src/globals.css"], | ||
| }), | ||
| sitemap(), | ||
| ], | ||
| }); |
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 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,33 @@ | ||
| { | ||
| "name": "helix-docs", | ||
| "type": "module", | ||
| "packageManager": "pnpm@latest", | ||
| "version": "1.0.0", | ||
| "scripts": { | ||
| "termshots": "node scripts/termshots.js", | ||
| "predev": "pnpm termshots", | ||
| "prebuild": "pnpm termshots", | ||
| "prepreview": "pnpm termshots", | ||
| "dev": "astro dev", | ||
| "build": "astro check && astro build", | ||
| "preview": "astro preview", | ||
| "astro": "astro" | ||
| }, | ||
| "dependencies": { | ||
| "@astrojs/check": "^0.9.4", | ||
| "@astrojs/markdown-remark": "^5.3.0", | ||
| "@astrojs/sitemap": "^3.2.1", | ||
| "@astrojs/starlight": "^0.29.2", | ||
| "asciinema-player": "^3.8.1", | ||
| "astro": "^4.16.10", | ||
| "astro-og-canvas": "^0.5.4", | ||
| "canvaskit-wasm": "^0.39.1", | ||
| "rehype-autolink-headings": "^7.1.0", | ||
| "rehype-external-links": "^3.0.0", | ||
| "sharp": "^0.32.5", | ||
| "starlight-blog": "^0.15.0", | ||
| "starlight-contributor-list": "^0.1.0", | ||
| "starlight-links-validator": "^0.13.2", | ||
| "typescript": "^5.6.3" | ||
| } | ||
| } |
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.