summaryrefslogtreecommitdiff
path: root/doc/README.md
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-02-06 19:15:22 +0000
committerGitHub <noreply@github.com>2019-02-06 19:15:22 +0000
commit30837cf2279ec60989898a0d8ef5a1934bd443c0 (patch)
tree40b70bb9de7ec17e6ce5e8b876eaad0a07a210e1 /doc/README.md
parent4c20f5158e506f3c13cf66d5259a6399a6b4b2a3 (diff)
parent8565ab59da981d542febae1e93281c09c447c50c (diff)
Merge pull request #169 from sifive/documentation
Add initial documentation
Diffstat (limited to 'doc/README.md')
-rw-r--r--doc/README.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/README.md b/doc/README.md
new file mode 100644
index 0000000..9fd78df
--- /dev/null
+++ b/doc/README.md
@@ -0,0 +1,41 @@
+# Documentation Generation
+
+## Requirements
+
+You'll need the following software:
+- [Sphinx](http://www.sphinx-doc.org/en/master/index.html)
+
+### Ubuntu
+
+You can install the required software on Ubuntu with the following:
+
+```
+sudo apt install python3-sphinx
+```
+
+The second line can be omitted if you don't intend to build the PDF.
+
+### MacOS
+
+You can install the required software on MacOS with the following:
+
+```
+brew install sphinx-doc
+```
+
+The second line can be omitted if you don't intend to build the PDF.
+
+## Building the Docs
+
+You can generate the HTML documentation with
+```
+make
+```
+
+You can clean the build files and outputs with
+
+```
+make clean
+```
+
+