-
Notifications
You must be signed in to change notification settings - Fork 11
feat: adopt the Eclipse Foundation logo on the website and README #66
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,9 @@ | ||
| <p align="center"> | ||
| <img src="docs/assets/appicon.png" alt="Enclave" width="128" height="128"> | ||
| </p> | ||
|
|
||
| <h1 align="center">Eclipse Enclave</h1> | ||
| <h1 align="center"> | ||
| <picture> | ||
| <source media="(prefers-color-scheme: dark)" srcset="docs/assets/enclave-logo-horizontal-darkbg.png"> | ||
| <img src="docs/assets/enclave-logo-horizontal-lightbg.png" alt="Eclipse Enclave" width="400"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| </picture> | ||
| </h1> | ||
|
|
||
| A Docker-based sandbox for running agentic coding tools — Claude, Codex, OpenCode, and others — in an isolated container while keeping your project files on the host. Network access is restricted to allowlisted domains by default, auth and history persist across sessions, and YOLO mode is on so agents can act without confirmation prompts. | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,12 +42,38 @@ relative `../` is handled client-side, matches no docs route, and renders the | |
| docs 404 page instead. `onBrokenLinks` is set to `throw` to catch this at build | ||
| time. | ||
|
|
||
| The footer logo is the one exception: `themeConfig.footer.logo` rejects | ||
| `autoAddBaseUrl`, so it cannot link home without being rewritten back under the | ||
| docs base path. It stays unlinked; the footer's "Home" entry covers that. | ||
|
|
||
| The custom domain lives in a `CNAME` file at the root of the published branch. | ||
| The publish workflow re-creates it on every deploy (`cname:` input), because the | ||
| deploy action replaces the published tree. | ||
|
|
||
| Both website workflows push with the organization secret `DEPLOY_TOKEN`. | ||
|
|
||
| ## Brand assets | ||
|
|
||
| The Eclipse Foundation logo comes in a horizontal lockup (mark plus wordmark) | ||
| and an icon-only mark, each with a variant for light and for dark backgrounds. | ||
| The `-darkbg` variants are the same artwork with the cube faces, inner disc, and | ||
| wordmark in white; do not mix them up, or the wordmark disappears. | ||
|
Comment on lines
+57
to
+60
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The logo artwork is Eclipse Foundation branding, but
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not doing this one, on maintainer instruction rather than on the merits. The decision for this PR was to keep the logo credit in the commit message and the PR description only, and to leave Flagging that the underlying point is separate from attribution: whether the checked-in artwork needs its own |
||
|
|
||
| | File | Used by | | ||
| | --- | --- | | ||
| | `static/img/enclave-mark-{lightbg,darkbg}.svg` | docs navbar (`logo.src` / `logo.srcDark`) | | ||
| | `static/img/enclave-logo-horizontal-darkbg.svg` | docs footer, which is dark in both color modes | | ||
| | `static/img/favicon.png` | docs favicon | | ||
| | `static/img/social-card.png` | Open Graph / Twitter card | | ||
| | `../assets/enclave-mark-lightbg.svg` | marketing site navbar | | ||
| | `../assets/enclave-logo-horizontal-lightbg.svg` | marketing site footer | | ||
| | `../assets/{favicon,social-card}.png` | marketing site favicon and social card | | ||
| | `../../docs/assets/enclave-logo-horizontal-{lightbg,darkbg}.png` | repository `README.md` | | ||
|
|
||
| The favicon and social card are rendered from the SVGs. The README uses PNG | ||
| because these SVGs carry their fills in an embedded `<style>` block, and PNG | ||
| sidesteps any question of how GitHub's markdown pipeline treats that. | ||
|
|
||
| ## Editing content | ||
|
|
||
| Docs live in `docs/`. The sidebar is autogenerated; control ordering with the | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,7 +89,7 @@ const config = { | |
| themeConfig: | ||
| /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ | ||
| ({ | ||
| image: 'img/logo.png', | ||
| image: 'img/social-card.png', | ||
| colorMode: { | ||
| // Match the light marketing site; the toggle is still available. | ||
| defaultMode: 'light', | ||
|
|
@@ -99,7 +99,8 @@ const config = { | |
| title: 'Eclipse Enclave', | ||
| logo: { | ||
| alt: 'Eclipse Enclave logo', | ||
| src: 'img/logo.png', | ||
| src: 'img/enclave-mark-lightbg.svg', | ||
| srcDark: 'img/enclave-mark-darkbg.svg', | ||
| }, | ||
| items: [ | ||
| { | ||
|
|
@@ -123,6 +124,15 @@ const config = { | |
| }, | ||
| footer: { | ||
| style: 'dark', | ||
| // The footer is always dark, so it uses the dark-background lockup | ||
| // regardless of the active color mode. It stays unlinked: the footer | ||
| // logo cannot opt out of `autoAddBaseUrl`, so a `pathname://` href | ||
| // would be rewritten back under the docs base path. | ||
| logo: { | ||
| alt: 'Eclipse Enclave', | ||
| src: 'img/enclave-logo-horizontal-darkbg.svg', | ||
| width: 168, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Infima caps
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Checked this and the premise does not hold: The built site carries the same value ( |
||
| }, | ||
| links: [ | ||
| { | ||
| title: 'Docs', | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropping the
<h1>leaves the README with no top-level heading, so GitHub's outline and any renderer that ignores<picture>lose the project name. The PR description does not mention this one; a maintainer should confirm it is intended.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, though not quite as suggested. Rather than adding back a text
<h1>that repeats the wordmark already in the logo, the logo now is the<h1>:That restores the single top-level heading you flagged, and the accessible name comes from the
alt. It also keeps the heading rule GitHub draws under an<h1>, which the README already had before this PR.