diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-12-23 00:38:25 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-12-23 00:38:25 +0800 |
| commit | d45068ee692b214348a7e2c23be2192d78717a5e (patch) | |
| tree | 2dd0b816cfa74992ad77314b82528700edfe1154 /genhtml.sh | |
| parent | 2ac4593a9416459b6cde49ab1b47c169dab6d637 (diff) | |
| download | alicelinux-d45068ee692b214348a7e2c23be2192d78717a5e.tar.gz alicelinux-d45068ee692b214348a7e2c23be2192d78717a5e.zip | |
updated styles
Diffstat (limited to 'genhtml.sh')
| -rw-r--r-- | genhtml.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,11 +12,12 @@ for i in *.md; do } > ${i%.md}.html done -echo "Here lie the docs" > docs/docs.md +echo 'Here lie the documentations for Alice Linux.' > docs/index.md for i in docs/*.md; do + case $i in docs/index.md) continue; esac + title=$(head -n1 $i) i=${i#*/} - case $i in docs.md) continue; esac - echo "- [${i%.md}](./${i%.md}.html)" >> docs/docs.md + echo "- [$title](./${i%.md}.html)" >> docs/index.md done for i in docs/*.md; do @@ -27,6 +28,5 @@ for i in docs/*.md; do cat footer } > docs/${i%.md}.html done -rm -f docs/docs.md exit 0 |