This repository contains the source code for "The Solution Architect's Handbook," a Docusaurus-based website with documentation and resources for Solution Architects working with Rossum.ai.
This website is built using Docusaurus, a modern static website generator.
To get a local copy up and running, follow these simple steps.
You need to have Yarn installed on your machine.
- Clone the repo:
git clone https://github.com/mrtnzlml/rossum-sa-handbook.git
- Install Yarn packages:
yarn
To start the development server, run:
yarn startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
This project uses Playwright for end-to-end testing. To run the tests, use the following command:
yarn playwright testYou can also open the Playwright UI to view and debug tests:
yarn playwright test --uiTo create a static build of the website, run:
yarn buildThis command generates static content into the build directory.
You can serve the built site locally using:
yarn serveThis is a great way to check the production build before deploying.
This website is deployed to GitHub Pages. The deployment is handled automatically by a GitHub Actions workflow.
You can also trigger a manual deployment by running:
yarn deployWhen a page is no longer relevant, it should be archived. Follow these steps:
- Use the
<Deprecated />tag on the relevant page(s). - Move the page into the
docs/learn/deprecatedfolder. - Adjust any broken links and imports.
- Add a
slugto the front matter to remove the/deprecated/path from the URL for backwards compatibility. For example:slug: /my-old-url.
For tasks that require all documentation content in a single file (like training AI models), you can use this handy script:
find ./docs ./cookbook -name "*.md" | xargs cat > ./all_handbook_content.txtContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
The documentation source files are located in the /docs directory. You can edit them directly in GitHub by clicking the "Edit this page" link at the bottom of each documentation page, or by navigating to the file in the repository.