Test
This commit is contained in:
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -30,12 +30,16 @@ jobs:
|
|||||||
echo "Running LDoc..."
|
echo "Running LDoc..."
|
||||||
ldoc . --dir out --ext md --verbose
|
ldoc . --dir out --ext md --verbose
|
||||||
|
|
||||||
|
echo "Moving markdown files..."
|
||||||
|
mv basalt.md manual.md README.md out/ 2>/dev/null || true
|
||||||
|
|
||||||
echo "Final output directory contents:"
|
echo "Final output directory contents:"
|
||||||
ls -la out/
|
ls -la out/
|
||||||
|
|
||||||
if [ -z "$(ls -A out/)" ]; then
|
if [ -z "$(ls -A out/)" ]; then
|
||||||
echo "Error: No documentation files were generated!"
|
echo "Error: No documentation files were generated!"
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
|||||||
@@ -1,11 +1,7 @@
|
|||||||
project = 'Basalt2'
|
project = 'Basalt2'
|
||||||
title = 'Basalt Documentation'
|
title = 'Basalt Documentation'
|
||||||
description = 'A UI Framework for ComputerCraft'
|
description = 'A UI Framework for ComputerCraft'
|
||||||
file = 'src'
|
file = {'src'}
|
||||||
dir = 'out'
|
dir = 'out'
|
||||||
one = true
|
|
||||||
format = 'markdown'
|
format = 'markdown'
|
||||||
ext = '.md'
|
all = true
|
||||||
all = true
|
|
||||||
merge = true
|
|
||||||
output = 'out'
|
|
||||||
Reference in New Issue
Block a user