Repository navigation
[doc] Shuffle doc organization and simplify publication - #2614
Conversation
This commit creates a better structure for documentation and makes it easier to map to the doc website. Specifically, now we have the following subdirectories: - using_iree/: docs for using IREE as a dependent project. - get_started/: docs for getting started with developing IREE. - developing_iree/: docs for developing/contributing to IREE. - design_docs/: design docs. :) Obsolete docs like simple_ir_walkthrough.md and mnist_example.md are deleted so that we can just copy the whole docs/ directory over and publish them on the doc website. Because of the above, we are able to clean up the publication scripts.
|
See https://github.com/antiagainst/iree/tree/doc-website/docs for where the docs are placed. |
Looks like underscored_names, not hyphened-names? (which is fine, just confused by the PR description) |
ScottTodd
left a comment
There was a problem hiding this comment.
Missed a reference to docs/using_iree/using_colab.md in https://github.com/google/iree/blob/main/colab/README.md ?
| This walks through the process of lowering TensorFlow python to an IREE module, | ||
| demonstrating the MLIR that exists at each stage. Many individual intermediate |
There was a problem hiding this comment.
This still looks useful, though the specific IR is outdated. Can we keep it around?
There was a problem hiding this comment.
I'd say let's delete it and revive when later we are about to update its contents. Having it there is causing more confusion rather than help. OTOH, anything checked into Git is permanent; so we can easily get it back when necessary. :)
There was a problem hiding this comment.
If the specifics were labeled as outdated, would that help? The general lowering process is still the same and is helpful for seeing how IREE uses MLIR dialects for an end-to-end compilation.
There was a problem hiding this comment.
It's hard to tell what's outdated and what's not without going through a thorough pass to clean things up. I think it causes confusion rather than help under such cases. But given you asked twice, I bringed it back and added a note at the very beginning.
| This shows the MNIST MLP model as it is compiled from Keras, lowered to XLA HLO, | ||
| and then lowered to an IREE module with SPIR-V. Several steps are omitted for | ||
| brevity. |
There was a problem hiding this comment.
We should produce an updated version of a similar model compilation flow to replace this.
There was a problem hiding this comment.
Yes. #1586 is tracking that. This file is quite outdated; it can cause more confusion than help if still left in the repo.
It's hyphened-names for URL. Underscored_names for the source code. :) |
Good catch! Fixed. :) |
This commit creates a better structure for documentation and
makes it easier to map to the doc website. Specifically, now
we have the following subdirectories:
Obsolete docs like simple_ir_walkthrough.md and mnist_example.md
are deleted so that we can just copy the whole docs/ directory
over and publish them on the doc website.
The URL for docs now follow hyphened-names, which is the
common practice, except for the Dialect/ directory. Because
we use MLIR to generate dialect documentation and they have
an expectation there..
Because of the above, we are able to clean up the publication
scripts.