You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a way to consolidate documentation from multiple repositories (SDK, API, Location Proof Protocol, etc.) into a single Docusaurus-powered site. Each repository should maintain its own independent documentation while ensuring that all docs appear on a shared site under relevant subpages (e.g., /sdk/, /api/, etc).
Requirements
Each repository should store its own documentation in a /docs/ directory.
The main Docusaurus site should serve as the entry point and pull in documentation from multiple repositories.
Updates to documentation in any repository should be reflected automatically or via a scheduled sync.
The solution should not require significant manual intervention after initial setup.
The existing Docusaurus setup should be maintained as much as possible.
Proposed Approach
Folder Structure
The main Docusaurus repo will maintain a /docs/ directory with subfolders for each component (/docs/sdk/, /docs/api/, etc).
Sidebar and navigation should be structured to reflect this hierarchy.
Syncing Documentation
Set up a process (manual or automated) to fetch documentation from each repository and place it in the appropriate subfolder.
Possible approaches:
Git submodules
CI/CD pipeline that periodically pulls in updates
A lightweight script that syncs and commits changes
Deployment
Ensure updates from all repositories are incorporated into the Docusaurus site before deployment.
Optionally, use GitHub Actions or another CI/CD tool to automate syncing and deployment.
Next Steps
Define the best approach for syncing documentation.
Set up an initial prototype for review.
Adjust Docusaurus configuration to handle multi-repo documentation.
I would love feedback before finalizing an implementation plan.
Description:
We need a way to consolidate documentation from multiple repositories (SDK, API, Location Proof Protocol, etc.) into a single Docusaurus-powered site. Each repository should maintain its own independent documentation while ensuring that all docs appear on a shared site under relevant subpages (e.g.,
/sdk/,/api/, etc).Requirements
/docs/directory.Proposed Approach
Folder Structure
/docs/directory with subfolders for each component (/docs/sdk/,/docs/api/, etc).Syncing Documentation
Deployment
Next Steps
I would love feedback before finalizing an implementation plan.