Skip to content

Migrate to Doks 1.9#13

Open
h-enk wants to merge 17 commits into
mainfrom
next
Open

Migrate to Doks 1.9#13
h-enk wants to merge 17 commits into
mainfrom
next

Conversation

@h-enk
Copy link
Copy Markdown
Member

@h-enk h-enk commented Mar 23, 2026

Summary

This pull request migrates the documentation site from Starlight 0.29.2 to Doks 1.9, resulting in a major restructuring of the codebase, configuration, and supporting files. The migration replaces the Astro-based Starlight setup with a Hugo-based Doks setup, introduces new configuration and theme files, updates editor and formatting settings, and adds custom assets and scripts for enhanced functionality and theming.

The most important changes are:

Migration from Starlight to Doks:

  • Removed the entire Starlight/Astro configuration in astro.config.mjs and replaced it with Hugo configuration files (config/_default/hugo.toml, config/_default/languages.toml) and archetypes (archetypes/default.md). This shifts the site from Astro/Starlight to Hugo/Doks as the static site generator and theme. [1] [2] [3] [4]
  • Added a changeset documenting the migration from Starlight to Doks. (.changeset/yellow-trams-rush.md)

Assets and Theming:

  • Added custom JavaScript for homepage FAQ accordion and DocSearch integration (assets/js/custom.js, assets/js/docsearch.js). [1] [2]
  • Introduced custom fonts and SCSS variable files for Doks theme customization (assets/scss/common/_fonts.scss, assets/scss/common/_variables-custom.scss, assets/scss/common/_variables-docsearch.scss). [1] [2] [3]

Editor and Formatting Configuration:

  • Updated VSCode recommendations and settings to match the Hugo/Doks workflow (.vscode/extensions.json, .vscode/settings.json). Removed the Astro-specific launch configuration. [1] [2] [3]
  • Added Prettier configuration and ignore files tailored for the new project structure (.prettierrc.yaml, .prettierignore). [1] [2]
  • Updated .npmignore to include config files for npm publishing.

Licensing and Documentation:

  • Added a new LICENSE file with the MIT license for the project.
  • Removed the old CHANGELOG.md content, as the changelog process is now handled differently.

These changes collectively transition the project to a new documentation framework, update supporting infrastructure, and lay the foundation for future development using Hugo and Doks.

Basic example

Include a basic example, screenshots, or links.

Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?

Checks

  • Read Creating a pull request
  • Supports all screen sizes (if relevant)
  • Supports both light and dark mode (if relevant)
  • Passes npm run test (if relevant)

@h-enk h-enk self-assigned this Mar 23, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 23, 2026

🦋 Changeset detected

Latest commit: 606dc38

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
docs Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 23, 2026

Deploy Preview for genuine-druid-c4cc09 ready!

Name Link
🔨 Latest commit 606dc38
🔍 Latest deploy log https://app.netlify.com/projects/genuine-druid-c4cc09/deploys/6a15c990b01c3600083d4e7d
😎 Deploy Preview https://deploy-preview-13--genuine-druid-c4cc09.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

h-enk and others added 16 commits March 23, 2026 16:58
- Updated SCSS styles in _custom.scss to normalize font weight and style for chroma color palette.
- Added fontsource.svg for local font hosting guidance.
- Revised archetypes.md to include detailed usage instructions and examples.
- Expanded fonts.md with a comprehensive setup guide for Fontsource.
- Enhanced images.md with best practices for image usage and organization.
- Improved layouts.md to clarify layout file structure and selection process.
- Updated markdown.md with practical Markdown syntax examples and front matter details.
- Revised pages.md to explain content file mapping to URLs and creation commands.
- Enhanced partials.md with instructions on creating and using partials in layouts.
- Expanded scripts.md to provide guidance on adding custom JavaScript and script organization.
- Updated shortcodes.md with examples and instructions for creating custom shortcodes.
- Revised styles.md to detail SCSS organization and customization options.
- Updated hugo_stats.json to reflect new topics and tags for improved documentation navigation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant