commit | 9eebde0a1c38980799e2d33cd2839b122fa59cc0 | [log] [tgz] |
---|---|---|
author | Garret Kelly <gdk@google.com> | Tue Oct 22 15:36:49 2019 -0400 |
committer | Garret Kelly <Garret.Kelly@gmail.com> | Thu Oct 31 13:24:09 2019 -0400 |
tree | 556fe1911a9ce475a93dd888a4cd48897ef24bec | |
parent | cb8692fdbec1ed7d01d69f425360e1d9b3461038 [diff] |
[doc] Completely replace docgen with hugo This change completely replaces docgen and replaces or removes docgen-specific markdown in documentation. It also does the following: * Updates all local links to use hugo relative references so that a broken link is a broken build. * Uses upstream wavedrom, which breaks at least one page that depends on local modifications. * Renames most hw/ip/**/ip_name.doc and dv_plan documents for a more aesthetic document tree layout. * Moves some doc/ pages into their own page bundle. * Updates util/build_docs.py to pre-generate registers, hwcfg, and dashboard fragments and invoke hugo.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository.
The project contains comprehensive documentation of all IPs and tools. You can either access it online or build it locally by following the steps below.
Download and install hugo-extended
.
Ensure that you have the required Python modules installed (to be executed in the repository root):
$ sudo apt install python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./build/docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:1313.
Have a look at CONTRIBUTING for guidelines how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).