HyDE site Visit the HyDE site 🚀 Project Structure Inside of your Astro + Starlight project, you'll see the following folders and files: Starlight looks for .md or .mdx files…
HyDE site
Visit the HyDE site
🚀 Project Structure
Inside of your Astro + Starlight project, you'll see the following folders and files:
.
├── public/
├── src/
│ ├── assets/
│ ├── content/
│ │ ├── docs/
│ │ └── config.ts
│ └── env.d.ts
├── astro.config.mjs
├── package.json
└── tsconfig.json
Starlight looks for .md or .mdx files in the src/content/docs/ directory. Each file is exposed as a route based on its file name.
Images can be added to src/assets/ and embedded in Markdown with a relative link.
Static assets, like favicons, can be placed in the public/ directory.
🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| npm install | Installs dependencies |
| npm run dev | Starts local dev server at localhost:4321 |
| npm run build | Build your production site to ./dist/ |
| npm run preview | Preview your build locally, before deploying |
| npm run astro ... | Run CLI commands like astro add, astro check |
| npm run astro -- --help | Get help using the Astro CLI |
Translating
Starlight supports internationalization (i18n), allowing you to add new languages to this documentation. This guide will walk you through the process of setting up a new language.
1. Understanding the folder structure
As time of writing, our repository looks like this:
txt
src/content/docs/
├── en/
│ ├── page1.mdx
│ ├── page2.mdx
├── es/
│ ├── page1.mdx
│ ├── page2.mdx
├── de/
│ ├── page1.mdx
│ ├── page2.mdx
├── nl/
│ ├── page1.mdx
│ ├── page2.mdx
# ... You see the picture
Language folders (e.g., de, es, nl, zh) contain translations of our documentation.
2. Create a new language folder
To add a new language, follow these steps:
1. Create a folder using the two-letter language code (ISO 639-1) inside the root directory. For example, to add French, create:
bash
mkdir -p src/content/docs/fr
2. Copy the content from the src/content/docs/en directory (certainly the most up-to-date translation) and start translating.
You can do it manually or by some magic one-liner, do as you please, but maintain the same file hierarchy to ensure consistency.
3. Updating Configuration
When adding a new language for the first time, edit astro.config.mjs to register the new language:
ts
(...)
export default defineConfig({
integrations: [
starlight({
title: 'The HyDE project',
defaultLocale: 'en',
locales: {
en: { label: 'English', lang: 'en' },
es: { label: 'Español', lang: 'es' },
de: { label: 'Deutsch', lang: 'de' },
nl: { label: 'Nederlands', lang: 'nl' },
zh: { label: '中文', lang: 'zh' },
fr: { label: 'Français', lang: 'fr' }, // <=== Adding French
},
(...)
4. More
- Maintain the same filenames and structure as the original content.
- You do not need to translate everything immediately—just push the structure and translate progressively. If a translation is missing, Starlight will fall back to the default language and display a notice that the page is not yet translated.
You know the drill, commit on your branch and make a nice PR. ;) Feel free to add more translations over time and refine the content as needed.
-
HyDE
HyDE, your Development Environment 🖥️💻
Shell ★ 9.3k 1d agoExplain → -
hyde-gallery
\\ Repository for supported HyDE themes.
Python ★ 281 7d agoExplain → -
Hyde-cli
A HyDE CLI, wrapper, tweaks , workarounds, and more!
Shell ★ 163 1y agoExplain → -
hyde-themes ⑂
// A repository for HyDE themes // forked to fix hyde official themes
★ 131 10mo agoExplain → -
sddm-hyprland
SDDM wayland on Hyprland Compositor // Consistent and configurable sddm experience than the legacy X11 compositing.
Makefile ★ 38 2mo agoExplain → -
HyprPanel
Wallbash template for hyprpanel. See https://hyprpanel.com/
★ 30 1y agoExplain → -
hyde-site
Basic astro site for hyde
MDX ★ 17 1mo agoExplain → -
obsidian
HyDE's wallbash template for obsidian.
★ 13 1y agoExplain → -
hydectl
Ported core scripts of HyDE .
Go ★ 11 5mo agoExplain → -
code-wallbash
VSCode extension for HyDE using wallbash colors
TypeScript ★ 7 25d agoExplain → -
hyprquery
No description.
C++ ★ 6 7d agoExplain → -
telegram
HyDE's wallbash template for telegram.
Shell ★ 6 1y agoExplain → -
hydebar
[Maintainer] https://github.com/RAprogramm
Rust ★ 5 6h agoExplain → -
hyde-ipc
Control Hyprland, query its state, listen for events, and create automated reactions to events.
Rust ★ 5 4mo agoExplain → -
zed
Wallbash template for zed // The editor for what's next
★ 5 11mo agoExplain → -
terminal-emulators
Wallbash templates for terminal emulators for HyDE
Lua ★ 4 25d agoExplain → -
deez-dots
Dots management Implementation
Python ★ 2 7d agoExplain → -
hyde-config
No description.
Go ★ 2 2mo agoExplain → -
distro
Host Builds for binaries. Yey
Shell ★ 1 1mo agoExplain → -
wallbash-gtk
Holds the wallbash gtk from https://github.com/prasanthrangan/hyprdots/blob/main/Source/arcs/Gtk_Wallbash.tar.gz
CSS ★ 0 24d agoExplain → -
wallbash-spotify
Wallbash spotify using Sleek theme as base
CSS ★ 0 24d agoExplain → -
sddm-themes
Sddm Themes used for HyDE dotfiles.
QML ★ 0 24d agoExplain → -
hyde-hub
Storage for extra HyDE configuration.
Python ★ 0 7mo agoExplain → -
hyprlang-parser ⑂
A Golang implementation library for the hypr config language (Hyprlang).
★ 0 2y agoExplain → -
hub
Stores extra HyDE Dots
Python ★ 0 9mo agoExplain → -
.github
No description.
★ 0 1y agoExplain →
No repos match these filters.