Skip to content
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 there a way to reference an item outside the document directory? #360

Open
passeris opened this issue Oct 11, 2023 · 1 comment
Open
Labels

Comments

@passeris
Copy link

passeris commented Oct 11, 2023

I have a CMake-based way of building our documentation. Basically I have the following structure:

>subsystem_a
- vehicle
  - components
    - componentX  
- proxy
>subsystem_qm
- vehicle
  - components
     - componentA
     - componentB

I am able to build individual documents based on the CMake target selected. All that works fine. The problem is when I need to reference an item from one subsystem to another. For example, suppose componentB has a depends_on relationship with componentX, when I build the document for subsystem_qm, then I will get a warning that item componentX does is not defined. If I include the list of items, then they will be double-defined. Is there a way to somehow import them without duplicating them?

The reason I want to do this is because I want to build a separate document for a certain level of safety and to speed things up when building rather than building a large combined document.

@JasperCraeghs
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants