-
-
Notifications
You must be signed in to change notification settings - Fork 301
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
Importing docs fails on files without extension #251
Comments
After painstakingly copying individual files from my live documentation to a clean repo, I have identified the bug. I have a repo I can post proving the issue. For one, I have a header file for another documentation generator. The file is named <!-- Header template file I have laying around --> When this file with no extension is present in my For completeness, the output of
This may also be a second bug, possibly related to structurizr/lite#44, which is that when |
!docs .
line causes java.lang.StringIndexOutOfBoundsException
Will you break the utter silence to share when the fix might make it to |
I have no immediate plans for a release, but hopefully it will be later this month. |
Description
(I'm sorry, but your bug format isn't fitting into my brain right now, so I'm going to provide most of the info in my own format)
Observed Behavior
When running the latest
structurizr-lite.war
on my workspace, I get an error in the web interface:I see this error in the command line output
I have not changed my
workspace.dsl
file in about 5 months and it used to work.I have plenty of
.md
files in the same directory asworkspace.dsl
and in the paststructurizr-lite
has gleefully taken those files and displayed them for me.Expected Behavior
Recognize that
.
means 'the current directory' and pull.md
files from the same directory as theworkspace.dsl
file.Troubleshooting Steps
I have reduced the
workspace.dsl
file to the bare minimum, as you can see below, and it still throws the error. This error prevents anything from showing in the web interface, even the diagrams, ADRs, and documentation (ofc).I have tried combinations of changing the path provided to
structurizr-lite.war
, the path of the!docs
line, etc. With and without trailing slashes, with named subdirs, everything I can think of.Steps to reproduce
workspace.dsl
file with the contents of the canonical example file at https://docs.structurizr.com/dsl/example!docs .
line as shown below..md
files in the same directory as theworkspace.dsl
file.java -Djdk.util.jar.enableMultiRelease=false -jar structurizr-lite.war /home/klfjoat/src/project-name/docs
Screenshot
No response
Code sample
Configuration
Build 2024.01.02
Severity
Critical
Priority
I have no budget and there's no rush, please fix this for free
More information
No response
The text was updated successfully, but these errors were encountered: