lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 1 | # OpenTitan |
| 2 | |
| 3 | This repository contains hardware, software and utilities written as part of the |
| 4 | OpenTitan project. It is structured as monolithic repository, or "monorepo", |
| 5 | where all components live in one repository. |
| 6 | |
| 7 | ## Documentation |
| 8 | |
| 9 | The project contains comprehensive documentation of all IPs and tools. You can |
Garret Kelly | 9eebde0 | 2019-10-22 15:36:49 -0400 | [diff] [blame] | 10 | either access it [online](https://docs.opentitan.org/) or build it |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 11 | locally by following the steps below. |
| 12 | |
Garret Kelly | 9eebde0 | 2019-10-22 15:36:49 -0400 | [diff] [blame] | 13 | 1. Download and install [`hugo-extended`](https://gohugo.io/getting-started/installing/). |
| 14 | |
| 15 | 2. Ensure that you have the required Python modules installed (to be executed |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 16 | in the repository root): |
| 17 | |
| 18 | ```command |
| 19 | $ sudo apt install python3 python3-pip |
| 20 | $ pip3 install --user -r python-requirements.txt |
| 21 | ``` |
| 22 | |
Garret Kelly | 9eebde0 | 2019-10-22 15:36:49 -0400 | [diff] [blame] | 23 | 3. Execute the build script: |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 24 | |
| 25 | ```command |
| 26 | $ ./util/build_docs.py --preview |
| 27 | ``` |
| 28 | |
Garret Kelly | 9eebde0 | 2019-10-22 15:36:49 -0400 | [diff] [blame] | 29 | This compiles the documentation into `./build/docs` and starts a local |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 30 | server, which allows you to access the documentation at |
Garret Kelly | 9eebde0 | 2019-10-22 15:36:49 -0400 | [diff] [blame] | 31 | [http://127.0.0.1:1313](http://127.0.0.1:1313). |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 32 | |
| 33 | ## How to contribute |
| 34 | |
Garret Kelly | 9eebde0 | 2019-10-22 15:36:49 -0400 | [diff] [blame] | 35 | Have a look at [CONTRIBUTING](./CONTRIBUTING.md) for guidelines how |
| 36 | to contribute code to this repository. |
lowRISC Contributors | 802543a | 2019-08-31 12:12:56 +0100 | [diff] [blame] | 37 | |
| 38 | ## Licensing |
| 39 | |
| 40 | Unless otherwise noted, everything in this repository is covered by the Apache |
Garret Kelly | 9eebde0 | 2019-10-22 15:36:49 -0400 | [diff] [blame] | 41 | License, Version 2.0 (see |
| 42 | [LICENSE](./LICENSE) for full text). |