diff options
| author | Adam Izraelevitz | 2020-08-21 12:02:26 -0700 |
|---|---|---|
| committer | GitHub | 2020-08-21 19:02:26 +0000 |
| commit | 7edba2d10f980016462f917c6d21d64585ddfd6b (patch) | |
| tree | 3eb2a106b0e528b1ae8ed05b54200f828902de09 /docs/README.md | |
| parent | 70fd01d4b0ad18a87bc46558ff246254792aa9b8 (diff) | |
Added website docs and mdoc. (#1560)
* Added website docs and mdoc. Removed all warnings
* Updated README and added build to circle ci
* Added how to build documentation, deprecated wiki
* Fix copypasta
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'docs/README.md')
| -rw-r--r-- | docs/README.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 00000000..0ebcd23a --- /dev/null +++ b/docs/README.md @@ -0,0 +1,33 @@ +# chisel3/docs/README.md + +This directory contains documentation on the code within this repository. +Documents can either be written directly in markdown, or +use embedded [mdoc](https://scalameta.org/mdoc/) +which compiles against the `chisel3` (and dependencies) codebase +as part of the PR CI checks, +forcing the documentation to remain current with the codebase. +The `src` folder contains the source from which these are generated. + +Previous Wiki documentation, now hosted by the website, is contained in the `src/wiki-deprecated` directory. +We are in the process of converting this documentation into the four categories as described in +[Divio's documentation system](https://documentation.divio.com/). + +The four documentation types are: + 1. Reference (source code scaladoc) + 1. Explanation (`src/explanations`) + 1. How-To Guides (`src/cookbooks`) + 1. Tutorials (currently not located here) + +Our documentation strategy for this repository is as follows: + * Any new public API requires reference documentation. + * Any new user-facing feature requires explanation documentation. + * Any bugfixes, corner-cases, or answers to commonly asked questions requires a how-to guide. + * For now, tutorials are kept in a separate repository. We are working hosting them here. + * Old documentation is contained in the `src/wiki-deprecated` directory and is being incrementally converted to these + categories. + +To build the documentation, run `docs/mdoc` from SBT in the root directory. The generated documents +will appear in the `docs/generated` folder. To iterate on the documentation, you can run `docs/mdoc --watch`. For +more `mdoc` instructions you can visit their [website](https://scalameta.org/mdoc/). + +This documentation is hosted on the Chisel [website](https://www.chisel-lang.org). |
