[refactor] Direct reference for existing project docs#96
[refactor] Direct reference for existing project docs#96hipudding merged 3 commits intoAscend:mainfrom
Conversation
|
@fffrog @noemotiovon @lowdy1 Regarding the refactoring discussed in the previous issue, I plan to use this approach. Please review this pr. Thanks. |
|
I think this is a very excellent and forward-looking PR. In the past, From a broader perspective, we also hope to make At the same time, we strongly welcome and encourage more developers and experienced users from other software projects to contribute usage documentation and help maintain it together. In this way, the documentation can better reflect real-world usage scenarios rather than just describing interfaces or features, which will be highly valuable to the entire Ascend ecosystem. |
|
@hipudding, @fffrog, When time permits, we can discuss this further and explore how ascend/docs should evolve if it is positioned as a unified entry point for users going forward. |
|
Hey @hipudding I noticed you approved the changes. If there's anything else, please feel free to let me know. |



Motivation
Related issue: #95
The goal of this refactoring is to reduce the maintenance cost of the documentation.
The specific principle is: if an open-source project provides comprehensive NPU usage documentation,
Ascend/docsshould directly link to and stay synchronized with this documentation.Using the
verlproject as an example, I will explain how to implement this.Method
Here, the
verlproject is used for demonstration.git submoduleto add the subproject toAscend/docs. The benefits include:Ascend/docsfrom becoming bloated by including entire projects.index.rstfile in thesources/verlfolder to serve as the table of contents for theverlproject documentation. This allows users to control the scope of the documentation displayed. In other words, if users do not wish to display all of verl's documentation inAscend/docs, they can manage this via theindex.rstfile.Makefile:make html.VeOmniproject as an example, I have added a warning prompt that triggers if the directory is empty.