Skip to content

Commit 4acbb25

Browse files
committed
fix(docs): resolve NaturalDocs custom style not found in CI
NaturalDocs only searches its installation Styles folder, not the project config folder. Copy custom styles into the installation directory and add the required Format header to Style.txt.
1 parent e4683e0 commit 4acbb25

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
unzip -q nd.zip -d naturaldocs
3535
chmod +x "naturaldocs/Natural Docs/NaturalDocs"
3636
37+
- name: Install custom styles
38+
run: cp -r NaturalDocs.Project/Styles/* "naturaldocs/Natural Docs/Styles/"
39+
3740
- name: Generate documentation
3841
run: |
3942
mkdir -p docs-output
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Format: 2.4 (Development Release 2)
2+
13
Inherit: Default
24

35
Frame OnLoad: NDThemes.SetAvailableThemes([["Dark","Dark"],["Light","Light"],["Auto","Auto:Light/Dark"],["Black","Black"]])

0 commit comments

Comments
 (0)