Skip to content

Commit dccf723

Browse files
committed
update
1 parent 73fba0d commit dccf723

File tree

1 file changed

+74
-19
lines changed

1 file changed

+74
-19
lines changed

README.md

Lines changed: 74 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,103 @@
11
# The Solution Architect's Handbook
22

3+
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.
4+
35
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
46

5-
## Run the website locally
7+
## Getting Started
68

7-
First, install dependencies:
9+
To get a local copy up and running, follow these simple steps.
810

9-
```
10-
yarn
11-
```
11+
### Prerequisites
1212

13-
Then, run it:
13+
You need to have [Yarn](https://yarnpkg.com/) installed on your machine.
1414

15-
```
15+
### Installation
16+
17+
1. Clone the repo:
18+
```sh
19+
git clone https://github.com/mrtnzlml/rossum-sa-handbook.git
20+
```
21+
2. Install Yarn packages:
22+
```sh
23+
yarn
24+
```
25+
26+
### Running the development server
27+
28+
To start the development server, run:
29+
30+
```sh
1631
yarn start
1732
```
1833

1934
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
2035

21-
## Run tests locally
36+
## Running Tests
2237

23-
```
24-
yarn playwright test [--ui]
38+
This project uses [Playwright](https://playwright.dev/) for end-to-end testing. To run the tests, use the following command:
39+
40+
```sh
41+
yarn playwright test
2542
```
2643

27-
If needed, you can also build the website locally:
44+
You can also open the Playwright UI to view and debug tests:
2845

46+
```sh
47+
yarn playwright test --ui
2948
```
49+
50+
## Building and Serving Locally
51+
52+
To create a static build of the website, run:
53+
54+
```sh
3055
yarn build
3156
```
3257

33-
This command generates static content into the `build` directory and can be served using any static contents hosting service or locally via `yarn serve`.
58+
This command generates static content into the `build` directory.
59+
60+
You can serve the built site locally using:
61+
62+
```sh
63+
yarn serve
64+
```
65+
66+
This is a great way to check the production build before deploying.
67+
68+
## Deployment
69+
70+
This website is deployed to GitHub Pages. The deployment is handled automatically by a GitHub Actions workflow.
71+
72+
You can also trigger a manual deployment by running:
73+
74+
```sh
75+
yarn deploy
76+
```
77+
78+
## Content Management
3479

35-
## Archiving and deprecating pages
80+
### Archiving and Deprecating Pages
3681

37-
1. Use `<Deprecated />` tag on all the relevant pages
38-
1. Move the page as is into the `deprecated` folder
39-
1. Adjust any broken links and imports
40-
1. Add `slug` into the [front matter](https://docusaurus.io/docs/create-doc#doc-front-matter) (to remove the `/deprecated/` path from the URL for backwards compatibility)
82+
When a page is no longer relevant, it should be archived. Follow these steps:
4183

42-
## Collecting all documentation into one file
84+
1. Use the `<Deprecated />` tag on the relevant page(s).
85+
2. Move the page into the `docs/learn/deprecated` folder.
86+
3. Adjust any broken links and imports.
87+
4. Add a `slug` to the [front matter](https://docusaurus.io/docs/create-doc#doc-front-matter) to remove the `/deprecated/` path from the URL for backwards compatibility. For example: `slug: /my-old-url`.
4388

44-
Very handy for Gemini gems:
89+
### Collecting All Documentation
90+
91+
For tasks that require all documentation content in a single file (like training AI models), you can use this handy script:
4592

4693
```bash
4794
find ./docs ./cookbook -name "*.md" | xargs cat > ./all_handbook_content.txt
4895
```
96+
97+
## Contributing
98+
99+
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
100+
101+
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".
102+
103+
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.

0 commit comments

Comments
 (0)