-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to build sub-documents while still reference global ..item::
IDs?
#364
Comments
You could use symbolic links ( |
It seems to me that the documentation of your components cannot stand on its own as it's intertwined with information/items located in separate source files in the same repository. We also have components like you and have never considered building their documentation as standalone as it's not feasible. Different from components, we have libraries that can be shared with silicon SW projects and have standalone requriements, architecture, design, tests, ... We define our libraries in a separate repository and include them as submodules in our silicon SW projects. We build the documentation of our libraries (lib-doc) separately from the documentation of our silicon SW projects (project-doc). Our project-doc has one-directional links to the lib-doc thanks to dedicated external relationships (one per library) we define in the Maybe (some of) your components could be treated as libraries? Side note 1: The 2 Sphinx plugins we use to reference and include Doxygen documentation both support remote/separated Doxygen documentation of the library. Our project-doc uses the doxylink plugin to link to its own Doxygen documentation and also the Doxygen documentation of its libraries, located separately on our docserver. Our project-doc uses the breathe plugin to include Doxygen documentation inline and also the Doxygen documentation of its libraries. Side note 2: I recommend sphinx-build Please let me know if this helped and ask any follow-up questions. |
You'll probably be interested in this feature request, which I'll implement when we can spare the resources: #370 |
I have a CMake project and would like to build individual component specification documents in addition to the entire documentation. I have a CMake target setup and it builds fine, the only problem is that the document is located in a subfolder, when the sphinx-build starts, mlx.traceability does not know about requirements IDs outside of the folder containing the
master_doc
which is set to the component design document. That leads to warnings like:[build] WARNING: Item '!REQ-27883' has no reference to source document.
The folder structure is like this:
My CMake target looks like this:
The variables are defined as follows:
The above will output an html document to folder
Project
, but that comes at the price of a warning. If I build the entire domain however (our overall and comprehensive document including all other subsystems), I will not get that warning because mlx knows about the IDs. I'm trying to save time however in builds and would like to rapidly build component level documents, kind of like what AUTOSAR does with their software components like Pwm driver, Com, Rte, and others. These documents are then indenpendently reviewable and stand on their own.The text was updated successfully, but these errors were encountered: