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

Не работает include в plantuml диаграммах #475

Open
ContinentalGuy opened this issue Dec 13, 2023 · 1 comment
Open

Comments

@ContinentalGuy
Copy link

ContinentalGuy commented Dec 13, 2023

Проблема
Не получается подключить .puml в другой .puml файл.

Для воспроизведения ошибки прикладываю содержимое файлов.

dochub.yaml

docs:
  Puml.Style:
    source: styles.puml
    type: plantuml
  Puml.File:
    source: file.puml
    type: plantuml
    location: test
  Md.File:
    source: overview.md
    type: markdown
    location: test/md

styles.puml

@startuml

hide empty members

!$disabled_color = "#CFCFCF"
!$disabled_line_color = "#DDDCE0"

skinparam {
 ClassBackgroundColor WhiteSmoke
 ClassBorderColor Grey
 ArrowColor SlateGray
 GroupBackgroundColor WhiteSmoke
 GroupBorderColor Grey
 NoteBackgroundColor WhiteSmoke
 NoteBorderColor Grey
 wrapWidth 200
}

file.puml

@startuml
' Не отображается ни в PlantUML сервере, ни в DocHub
'!include @document/Puml.Style

' Отображается в PlantUML сервере, но не отображается в DocHub
'!include styles.puml

autonumber

Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml

overview.md

# Test

![link](@document/Puml.File)
@ContinentalGuy
Copy link
Author

Selection_398

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

No branches or pull requests

1 participant