|
1 | 1 | <div align="center"> |
2 | | -<img width="200" src="https://github.com/shapehq/shape-docs/raw/main/logo.png" alt="Shape Docs logo" /> |
| 2 | +<img width="200" src="https://github.com/shapehq/framna-docs/raw/main/logo.png" alt="Framna Docs logo" /> |
3 | 3 | </div> |
4 | 4 |
|
5 | 5 | <div align="center"> |
6 | | -<h3>👋 Welcome to Shape Docs</h3> |
| 6 | +<h3>👋 Welcome to Framna Docs</h3> |
7 | 7 | <h4>Self-hosted web portal that collects OpenAPI documentation and facilitates spec-driven development, built with GitHub-based authorization.</h4> |
8 | 8 | </div> |
9 | 9 |
|
10 | 10 | <div align="center"> |
11 | | -<a href="https://github.com/shapehq/shape-docs/actions/workflows/build.yml"><img src="https://github.com/shapehq/shape-docs/actions/workflows/build.yml/badge.svg"></a> |
12 | | -<a href="https://github.com/shapehq/shape-docs/actions/workflows/run-unit-tests.yml"><img src="https://github.com/shapehq/shape-docs/actions/workflows/run-unit-tests.yml/badge.svg"></a> |
13 | | -<a href="https://github.com/shapehq/shape-docs/actions/workflows/test-sql-queries.yml"><img src="https://github.com/shapehq/shape-docs/actions/workflows/test-sql-queries.yml/badge.svg"></a> |
14 | | -<a href="https://github.com/shapehq/shape-docs/actions/workflows/lint.yml"><img src="https://github.com/shapehq/shape-docs/actions/workflows/lint.yml/badge.svg"></a> |
15 | | -<a href="https://github.com/shapehq/shape-docs/actions/workflows/build-docker-image"><img src="https://github.com/shapehq/shape-docs/actions/workflows/build-docker-image.yml/badge.svg"></a> |
| 11 | +<a href="https://github.com/shapehq/framna-docs/actions/workflows/build.yml"><img src="https://github.com/shapehq/framna-docs/actions/workflows/build.yml/badge.svg"></a> |
| 12 | +<a href="https://github.com/shapehq/framna-docs/actions/workflows/run-unit-tests.yml"><img src="https://github.com/shapehq/framna-docs/actions/workflows/run-unit-tests.yml/badge.svg"></a> |
| 13 | +<a href="https://github.com/shapehq/framna-docs/actions/workflows/test-sql-queries.yml"><img src="https://github.com/shapehq/framna-docs/actions/workflows/test-sql-queries.yml/badge.svg"></a> |
| 14 | +<a href="https://github.com/shapehq/framna-docs/actions/workflows/lint.yml"><img src="https://github.com/shapehq/framna-docs/actions/workflows/lint.yml/badge.svg"></a> |
| 15 | +<a href="https://github.com/shapehq/framna-docs/actions/workflows/build-docker-image"><img src="https://github.com/shapehq/framna-docs/actions/workflows/build-docker-image.yml/badge.svg"></a> |
16 | 16 | </div> |
17 | 17 |
|
18 | 18 | --- |
|
21 | 21 | <a href="#-getting-started">🚀 Getting Started</a> |
22 | 22 | <a href="#-how-does-it-work">👨🔧 How does it work?</a> |
23 | 23 | <a href="#-how-can-i-contribute">👩💻 How can I contribute?</a> |
24 | | -<a href="https://github.com/shapehq/shape-docs/wiki">📖 Wiki</a> |
| 24 | +<a href="https://github.com/shapehq/framna-docs/wiki">📖 Wiki</a> |
25 | 25 | </div> |
26 | 26 |
|
27 | 27 | <hr /> |
28 | 28 |
|
29 | | -Shape Docs makes managing and previewing OpenAPI documentation a breeze, streamlining spec-driven development. With GitHub-based authorization, you can easily control who accesses your docs. Shape Docs comments on pull requests that tweak your OpenAPI specs, giving you preview URLs to ensure every update is well-reviewed. |
| 29 | +Framna Docs makes managing and previewing OpenAPI documentation a breeze, streamlining spec-driven development. With GitHub-based authorization, you can easily control who accesses your docs. Framna Docs comments on pull requests that tweak your OpenAPI specs, giving you preview URLs to ensure every update is well-reviewed. |
30 | 30 |
|
31 | 31 | <div align="center"> |
32 | | -<img width="600" src="https://github.com/shapehq/shape-docs/raw/main/wiki/home.png?raw=true" alt="Screenshot of Shape Docs"/> |
| 32 | +<img width="600" src="https://github.com/shapehq/framna-docs/raw/main/wiki/home.png?raw=true" alt="Screenshot of Framna Docs"/> |
33 | 33 | </div> |
34 | 34 |
|
35 | 35 | ## 🚀 Getting Started |
36 | 36 |
|
37 | | -Please refer to the following articles in [the wiki](https://github.com/shapehq/shape-docs/wiki) to get started with Shape Docs. |
| 37 | +Please refer to the following articles in [the wiki](https://github.com/shapehq/framna-docs/wiki) to get started with Framna Docs. |
38 | 38 |
|
39 | | -- [Adding Documentation to Shape Docs](https://github.com/shapehq/shape-docs/wiki/Adding-Documentation-to-Shape-Docs) |
40 | | -- [Browsing Documentation](https://github.com/shapehq/shape-docs/wiki/Browsing-Documentation) |
41 | | -- [Updating Documentation](https://github.com/shapehq/shape-docs/wiki/Updating-Documentation) |
42 | | -- [Deploying Shape Docs](https://github.com/shapehq/shape-docs/wiki/Deploying-Shape-Docs) |
| 39 | +- [Adding Documentation to Framna Docs](https://github.com/shapehq/framna-docs/wiki/Adding-Documentation-to-Framna-Docs) |
| 40 | +- [Browsing Documentation](https://github.com/shapehq/framna-docs/wiki/Browsing-Documentation) |
| 41 | +- [Updating Documentation](https://github.com/shapehq/framna-docs/wiki/Updating-Documentation) |
| 42 | +- [Deploying Framna Docs](https://github.com/shapehq/framna-docs/wiki/Deploying-Framna-Docs) |
43 | 43 |
|
44 | 44 | ## 👨🔧 How does it work? |
45 | 45 |
|
46 | | -Shape Docs uses [OpenAPI specifications](https://swagger.io) from GitHub repositories. Users log in with their GitHub account to access documentation for projects they have access to. A repository only needs an OpenAPI spec to be recognized by Shape Docs, but customization is possible with a .shape-docs.yml file. Here's an example: |
| 46 | +Framna Docs uses [OpenAPI specifications](https://swagger.io) from GitHub repositories. Users log in with their GitHub account to access documentation for projects they have access to. A repository only needs an OpenAPI spec to be recognized by Framna Docs, but customization is possible with a .framna-docs.yml file. Here's an example: |
47 | 47 |
|
48 | | -<img width="650" src="https://github.com/shapehq/shape-docs/raw/main/wiki/example-openapi-repository-with-config.png?raw=true"/> |
| 48 | +<img width="650" src="https://github.com/shapehq/framna-docs/raw/main/wiki/example-openapi-repository-with-config.png?raw=true"/> |
49 | 49 |
|
50 | | -Shape Docs supports spec-driven development by requiring OpenAPI specs in GitHub repos, ensuring version control and peer review. When a pull request is opened, Shape Docs comments with links to preview the documentation: |
| 50 | +Framna Docs supports spec-driven development by requiring OpenAPI specs in GitHub repos, ensuring version control and peer review. When a pull request is opened, Framna Docs comments with links to preview the documentation: |
51 | 51 |
|
52 | | -<img width="760" src="https://github.com/shapehq/shape-docs/raw/main/wiki/pr-comment.png?raw=true"/> |
| 52 | +<img width="760" src="https://github.com/shapehq/framna-docs/raw/main/wiki/pr-comment.png?raw=true"/> |
53 | 53 |
|
54 | | -Learn more from the [Adding Documentation](https://github.com/shapehq/shape-docs/wiki/Adding-Documentation-to-Shape-Docs), [Browsing Documentation](https://github.com/shapehq/shape-docs/wiki/Browsing-Documentation), and [Updating Documentation](https://github.com/shapehq/shape-docs/wiki/Updating-Documentation) articles in the wiki. |
| 54 | +Learn more from the [Adding Documentation](https://github.com/shapehq/framna-docs/wiki/Adding-Documentation-to-Framna-Docs), [Browsing Documentation](https://github.com/shapehq/framna-docs/wiki/Browsing-Documentation), and [Updating Documentation](https://github.com/shapehq/framna-docs/wiki/Updating-Documentation) articles in the wiki. |
55 | 55 |
|
56 | 56 | ## 👩💻 How can I contribute? |
57 | 57 |
|
58 | | -Pull requests with bugfixes and new features are much appreciated. We are happy to review PRs and merge them once they are ready, as long as they contain changes that fit within the vision of Shape Docs. |
| 58 | +Pull requests with bugfixes and new features are much appreciated. We are happy to review PRs and merge them once they are ready, as long as they contain changes that fit within the vision of Framna Docs. |
59 | 59 |
|
60 | | -Clone the repository and consult the articles on [running Shape Docs locally](https://github.com/shapehq/shape-docs/wiki/Running-Shape-Docs-Locally) and [contributing](https://github.com/shapehq/shape-docs/wiki/Contributing) to get started contributing changes the project. |
| 60 | +Clone the repository and consult the articles on [running Framna Docs locally](https://github.com/shapehq/framna-docs/wiki/Running-Framna-Docs-Locally) and [contributing](https://github.com/shapehq/framna-docs/wiki/Contributing) to get started contributing changes the project. |
61 | 61 |
|
62 | 62 | ```bash |
63 | | -git clone git@github.com:shapehq/shape-docs.git |
| 63 | +git clone git@github.com:shapehq/framna-docs.git |
64 | 64 | ``` |
65 | 65 |
|
| 66 | +## 🔀 Git Workflow |
| 67 | + |
| 68 | +Two long-lived branches exist |
| 69 | + |
| 70 | +* **main** (stable/release - deploy to a **production** environment) |
| 71 | +* **develop** (integration - deploy to a **staging** environment) |
| 72 | + |
| 73 | +**Do's 👍** |
| 74 | + |
| 75 | +1. Features are branched off from `develop` and merged back in using a PR when ready. Rebase or merge `develop` in to keep the feature branch up to date. Squash merge the feature branch into `develop`. |
| 76 | +2. `develop` is merged into `main` whenever a new release is made. Only regular merge commits are allowed in this case. You do not need to "bring develop up to date" with `main` before merging. |
| 77 | +3. A hotfix is applied by branching out from `main`. The hotfix branch _must_ be merged into both `main` and `develop`. |
| 78 | + |
| 79 | +**Don'ts 🙅♂️** |
| 80 | + |
| 81 | +1. Never squash merge `develop` into `main` ☠️ |
| 82 | + |
66 | 83 | ## ❤️ The Product of a Shape Weekend |
67 | 84 |
|
68 | | -Every year we go on Shape Weekend, three days where all employees in Shape get together for a hackathon to build amazing products. In 2023, a team of Shape developers with a passion for documentation and spec-driven development built Shape Docs and we've used it daily ever since! |
| 85 | +Every year we go on Shape Weekend, three days where all employees in Shape get together for a hackathon to build amazing products. In 2023, a team of Shape developers with a passion for documentation and spec-driven development built Framna Docs and we've used it daily ever since! |
69 | 86 |
|
70 | 87 | --- |
71 | 88 |
|
72 | | -Shape Docks is built with ❤️ by [Shape](https://shape.dk) in Denmark. Oh, and [we are hiring](https://careers.shape.dk) 🤗 |
| 89 | +Framna Docs is built with ❤️ by [Shape](https://shape.dk) in Denmark. Oh, and [we are hiring](https://careers.shape.dk) 🤗 |
0 commit comments