Skip to content

docs: improve and use docusaurus - #898

Merged
buehler merged 12 commits into
mainfrom
docs/improve-and-move
Jun 7, 2025
Merged

buehler merged 12 commits into
mainfrom
docs/improve-and-move

Conversation

@buehler

@buehler buehler commented Jun 7, 2025

Copy link
Copy Markdown
Collaborator

This PR fixes a lot of issues with missing and wrong documentation. Also, it moves to docusaurus for building the static website.

Missing parts: telemetry / azure stuff, and a nice welcome page.

@openhands-ai

openhands-ai Bot commented Jun 7, 2025

Copy link
Copy Markdown

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • Test Documentation Build

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #898

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

@buehler
buehler enabled auto-merge (squash) June 7, 2025 21:46
@buehler
buehler merged commit 0e3d2ad into main Jun 7, 2025
@buehler
buehler deleted the docs/improve-and-move branch June 7, 2025 21:47
@buehler

buehler commented Jun 8, 2025

Copy link
Copy Markdown
Collaborator Author

Alright @kimpenhaus,
the new docs are available. Would you mind to create a doc page under "testing" and describe the telemetry / logging things? This would be much appreciated.

(it's a docusaurus page)

@kimpenhaus

Copy link
Copy Markdown
Collaborator

@buehler sure - I will give it a try - never worked with docosaurus before 😅 expect a pr in the next couple of days

@buehler

buehler commented Jun 8, 2025

Copy link
Copy Markdown
Collaborator Author

Suprisingly easy (first time using it for me as well):

  • npm install
  • npm start
  • modify the stuff in docs / add pages in docs
  • see result in browser :D

The rest is already preconfigured.

Thanks for the effort!

kimpenhaus added a commit that referenced this pull request Nov 29, 2026
## Summary

Since #898, `docusaurus.config.js` referenced two files that were never
in `docs/static/img`:

| Setting | Path | Effect |
| --- | --- | --- |
| `favicon` | `img/favicon.ico` | `404`, browsers show a generic icon |
| `themeConfig.image` (`og:image`, `twitter:image`) | `img/logo_big.png`
| link previews without image |

Both now link to the existing images in `res/`, like the navbar logo
already does (`img/logo.png` → `res/logo.png`):

- `docs/static/img/favicon.png` → `res/icon.png` (128 × 128); `favicon`
points to it
- `docs/static/img/logo_big.png` → `res/logo_big.png` (1024 × 1024)

The `Permissions-Policy: interest-cohort` console warning comes from
GitHub Pages' response headers and cannot be changed from the repo.

## Checks

- `npm run build` passes; the build contains both images, and the page
head has `rel=icon` → `img/favicon.png` and `og:image`/`twitter:image` →
`img/logo_big.png`.
- `/code-review` (low): no findings beyond committing the new links.
- `/simplify`, `/security-review`: not applicable (config and asset
links only).
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.

[bug]: The documentation and the dotnet Template are outdated and inconsistent

2 participants