Skip to content

feat(website): add project website - #376

Merged
shaneutt merged 3 commits into
praxis-proxy:mainfrom
leseb:leseb/project-website
Jun 4, 2026
Merged

shaneutt merged 3 commits into
praxis-proxy:mainfrom
leseb:leseb/project-website

Conversation

@leseb

@leseb leseb commented May 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds a Docusaurus 3 website for the Praxis project that builds and deploys directly from this repository via GitHub Actions.

  • Landing page with animated filter pipeline visualization, feature cards, and install snippet
  • Documentation restructured from flat docs/ into categories (Getting Started, Architecture, Configuration, Filters, Protocols, Security, Development) with sidebar icons and local search
  • Examples showcase with 82 YAML configs browsable by category, displayed in a popup overlay
  • Blog with editorial post styling, drop caps, and section counters
  • GitHub Actions workflow deploys to praxis.fast on push to main when website/, docs/, or examples/ change
  • Docs remain in docs/ as the single source of truth — no duplication between repo docs and website content

Fixes praxis-proxy/praxis-proxy.github.io#1

@leseb
leseb requested a review from a team May 21, 2026 11:41
@praxis-bot

Copy link
Copy Markdown

PR too large: 24025 lines added (limit: 500). Please split into smaller PRs. Add skip/pr-hygiene label to override.

@praxis-bot praxis-bot closed this May 21, 2026
@leseb

leseb commented May 21, 2026

Copy link
Copy Markdown
Collaborator Author

The large change is expected.

@leseb leseb reopened this May 21, 2026
@leseb
leseb force-pushed the leseb/project-website branch 4 times, most recently from b7c1d75 to 9ab0f8d Compare May 21, 2026 13:59
@leseb

leseb commented May 21, 2026

Copy link
Copy Markdown
Collaborator Author
praxis-website-demo.mov

@leseb

leseb commented May 21, 2026

Copy link
Copy Markdown
Collaborator Author

I think this is a solid website: landing page, docs and blog foundation. We can iterate on some design aspects if we want later, but I went with the current logo color's scheme as a building identity block.

@shaneutt shaneutt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shaneutt shaneutt self-assigned this May 21, 2026
@leseb

leseb commented May 26, 2026

Copy link
Copy Markdown
Collaborator Author

Let's do this out of https://github.com/praxis-proxy/praxis-proxy.github.io ?

the mono repo approach is helpful in various ways:

  • single source of truth
  • no cross repo gh action flow
  • the docs lives and evolves more naturally with the code
  • one review, one merge, one doc build, the whole picture in one pr
  • easier to refer or symlinks configs from the code into the docs
  • guarantee that the doc build work in the pr, no breakage can surface after the merge

still want to go with a different repo?

@leseb
leseb requested a review from shaneutt May 26, 2026 09:56
@leseb
leseb force-pushed the leseb/project-website branch 2 times, most recently from eb823d3 to a412c1c Compare May 27, 2026 16:27
@franciscojavierarceo

Copy link
Copy Markdown
Contributor

i am definitely preferential towards monorepo.

@shaneutt shaneutt left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hold for review

@leseb
leseb force-pushed the leseb/project-website branch 2 times, most recently from 3f84640 to bd44e5d Compare May 29, 2026 07:52
shaneutt
shaneutt previously approved these changes May 29, 2026

@shaneutt shaneutt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good. I'm not particularly fond of the monorepo approach, but it is relatively simple to change later. I can see some things we could tweak, but those are just as easily if not better as follow-up iterations so let's do that.

Approved once all comments are resolved.

Comment thread website/blog/2024-01-01-welcome.md Resolved
@leseb
leseb force-pushed the leseb/project-website branch 2 times, most recently from 1e36bd3 to 9e91b9d Compare May 31, 2026 16:23
@leseb
leseb requested a review from shaneutt May 31, 2026 16:24

@praxis-bot praxis-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review

Summary: Adds a Docusaurus 3 website with landing page, documentation restructuring, examples showcase, blog, and a GitHub Actions deployment workflow.

Overall: The website infrastructure is well-structured. Docs content is comprehensive, technically accurate, and well-organized for the Docusaurus sidebar. The paths-ignore additions to existing workflows are correctly applied. There are several smaller issues around consistency, a broken link, and some .gitignore scope concerns.

Severity Count
Medium 4
Small 4
Nit 2

Findings without inline placement

  • [Small] .gitignore: The additions of .superpowers/ and .gstack/ appear to be personal tool directories unrelated to the website feature. These should either be in a separate commit/PR or moved to a personal global gitignore (~/.gitignore_global).
  • [Small] .gitignore: The old pattern docs/**/ with !docs/ and !docs/proposals/ gitignored all non-markdown content in doc subdirectories. The new pattern only ignores docs/superpowers/. This is intentional (to allow _category_.json files), but it also means any future non-markdown files accidentally placed under docs/ will now be tracked. Consider a more targeted approach if you want to keep the safety net.
  • [Nit] website/README.md is the default Docusaurus template referencing yarn commands throughout, but the project uses npm (the workflow runs npm ci, package-lock.json is committed). Either update the README to reference npm or remove it since the Makefile targets (make website, make website-dev) are the documented entry points.

@@ -0,0 +1,60 @@
name: Deploy Website

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Small] All other workflow files in this repository use the .yaml extension. This file uses .yml. For consistency, rename to website.yaml.

- 'examples/**'
- '.github/workflows/website.yml'
workflow_dispatch:
inputs: {}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Nit] inputs: {} is unnecessary for workflow_dispatch. The empty object serves no purpose; either remove the inputs key entirely or drop the whole line:

  workflow_dispatch:

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: website/build

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Medium] The deploy job uses actions/deploy-pages@v4 which deploys to the praxis-proxy/praxis repo's GitHub Pages. But the PR description says deployment is to praxis.fast (the CNAME file confirms this). GitHub Pages deployment from this repo would conflict if the organization also has praxis-proxy.github.io or another repo configured for Pages. Verify that the GitHub Pages source for this repo is correctly configured to the github-pages environment, and that no other repo in the org claims the same custom domain.

Comment thread website/package.json
"@docusaurus/core": "3.10.1",
"@docusaurus/faster": "3.10.1",
"@docusaurus/preset-classic": "3.10.1",
"@easyops-cn/docusaurus-search-local": "^0.55.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Medium] Several dependencies use wide caret ranges (^0.55.1, ^3.0.0, ^2.0.0, ^19.0.0). While the package-lock.json pins exact versions, the broad ranges mean npm install (without --ci) could pull in a different minor/patch version. Consider tightening these ranges, especially for react and react-dom where ^19.0.0 would accept any 19.x, and for @easyops-cn/docusaurus-search-local where ^0.55.1 in a 0.x range means any 0.55.x or higher minor (semver treats 0.x differently).

Note: caret on a 0.x dependency (^0.55.1) is equivalent to >=0.55.1 <0.56.0 in npm, so it is minor-locked. This is less risky than it appears, but still worth noting.

Comment thread docs/getting-started/introduction.md Outdated
- [Benchmarks](/docs/development/benchmarks)

For larger changes, open a [discussion](https://github.com/praxis-proxy/praxis/discussions) and follow the
[proposal process](https://github.com/praxis-proxy/praxis/blob/main/docs/proposals.md).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Medium] Broken link: this points to docs/proposals.md on the main branch, but this PR renames that file to docs/development/proposals.md. The URL should be updated:

[proposal process](https://github.com/praxis-proxy/praxis/blob/main/docs/development/proposals.md)

Alternatively, use a Docusaurus relative link: [proposal process](/docs/development/proposals).


useEffect(() => {
const url = `https://raw.githubusercontent.com/praxis-proxy/praxis/main/${example.path}`;
fetch(url)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Medium] Fetching example YAML from raw.githubusercontent.com at runtime means the examples page will show the main branch content, not necessarily the version matching the deployed website. If a deployment happens from a commit where examples have changed but the raw content hasn't updated yet (GitHub raw content caching is ~5 minutes), users could see stale or mismatched content. This is likely acceptable for a project website, but worth documenting in a comment.

Comment thread website/src/pages/examples/index.tsx Outdated
};

return (
<div className={styles.overlay} onClick={onClose}>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Small] The overlay backdrop onClick={onClose} will close the overlay when clicking anywhere on the backdrop, which is good UX. However, there is no focus trap: a keyboard user who tabs past the close button will tab into the page content behind the overlay. Consider adding a focus trap for accessibility, or at minimum set aria-modal="true" on the overlay panel.

@@ -0,0 +1,20 @@
---

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Small] The blog post filename uses 2024-01-01 but the current date is 2026. Unless the project actually started its blog in January 2024, this date is misleading. Consider using the actual merge date or a more accurate date.


```text
HTTP --> praxis-protocol/http --> Pingora
TCP --> praxis-protocol/tcp --> Pingora

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Nit] Minor grammar: "it's intended" reads as informal. Consider: "The adapter design enables adding new protocols by writing new adapters, and supports multiple implementations of a single protocol that can be swapped via build features or runtime configuration."

@leseb
leseb force-pushed the leseb/project-website branch from 9e91b9d to 5abb055 Compare June 2, 2026 07:42
@praxis-bot

Copy link
Copy Markdown

Missing Signed-off-by: 5abb055. All commits require sign-off (via git commit --signoff).

@leseb
leseb force-pushed the leseb/project-website branch from 5abb055 to 9437b10 Compare June 2, 2026 09:02
leseb added 2 commits June 3, 2026 15:10
Docusaurus 3 site with landing page, documentation, examples
showcase, and blog.

The website builds and deploys directly from this repository via
GitHub Actions. Docs live in docs/ as the single source of truth.
The site is served at praxis.fast through GitHub Pages.

- Landing page with animated filter pipeline visualization
- Documentation restructured into categories with sidebar icons
- Interactive examples page with 82 YAML configs and overlay viewer
- Blog with editorial post styling
- Local search, responsive design, dark theme
- GitHub Actions workflow for automated deployment on push to main

Fixes praxis-proxy/praxis-proxy.github.io#1

Signed-off-by: Sébastien Han <[email protected]>
@leseb
leseb force-pushed the leseb/project-website branch from 511696c to 2d6c79e Compare June 3, 2026 13:11

@shaneutt shaneutt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move forward with what we have, so we don't have to continually patch it against main. I'm considering moving this to its own repository soon, but that doesn't need to hold us up from getting the content landed for the moment.

@shaneutt
shaneutt merged commit 70c246a into praxis-proxy:main Jun 4, 2026
21 checks passed
shaneutt pushed a commit to praxis-proxy/praxis-proxy.github.io that referenced this pull request Jun 4, 2026
Docusaurus 3 site with documentation, examples showcase,
and blog. Migrated from praxis-proxy/praxis#376.

Signed-off-by: Shane Utt <[email protected]>
shaneutt added a commit that referenced this pull request Jun 5, 2026
This reverts commit 70c246a.

The website has been moved to its own repository.

Signed-off-by: Shane Utt <[email protected]>
@leseb
leseb deleted the leseb/project-website branch June 5, 2026 19:25
mkoushni pushed a commit to mkoushni/praxis that referenced this pull request Jun 10, 2026
* feat(website): add project website

Docusaurus 3 site with landing page, documentation, examples
showcase, and blog.

The website builds and deploys directly from this repository via
GitHub Actions. Docs live in docs/ as the single source of truth.
The site is served at praxis.fast through GitHub Pages.

- Landing page with animated filter pipeline visualization
- Documentation restructured into categories with sidebar icons
- Interactive examples page with 82 YAML configs and overlay viewer
- Blog with editorial post styling
- Local search, responsive design, dark theme
- GitHub Actions workflow for automated deployment on push to main

Fixes praxis-proxy/praxis-proxy.github.io#1

Signed-off-by: Sébastien Han <[email protected]>

* fix(ci): fix bash syntax error and regex bug in conventions workflow (praxis-proxy#456)

Signed-off-by: Sébastien Han <[email protected]>

---------

Signed-off-by: Sébastien Han <[email protected]>
Co-authored-by: Shane Utt <[email protected]>
mkoushni pushed a commit to mkoushni/praxis that referenced this pull request Jun 10, 2026
This reverts commit 70c246a.

The website has been moved to its own repository.

Signed-off-by: Shane Utt <[email protected]>
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.

Spike: Praxis Website

4 participants