Skip to content

Commit 936f430

Browse files
fix(actions): docs publish dir
Signed-off-by: Anhad Singh <[email protected]>
1 parent 27c2eb1 commit 936f430

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
if: github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule')
3737
with:
3838
github_token: ${{ secrets.GITHUB_TOKEN }}
39-
publish_dir: ./build/web/
39+
publish_dir: ./target/doc/

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ qemu: $(KERNEL_TARGET) $(USERLAND_TARGET)
6565
-cpu host,+vmx \
6666
-drive file=target/disk.img,if=none,id=NVME1,format=raw \
6767
-device nvme,drive=NVME1,serial=nvme \
68-
${QEMU_FLAGS}
68+
${QEMU_FLAGS}
6969

7070
# "qemu_perf" options:
7171
# delay (default: 30) - the amount of microseconds between each sample.
@@ -82,7 +82,7 @@ qemu_p:
8282
.PHONY: doc
8383
doc:
8484
cd src && cargo doc --package aero_kernel --release --target-dir=../target/doc/
85-
cp web/index.html target/doc/index.html
85+
echo "<meta http-equiv='refresh' content='0; URL=./x86_64-unknown-none/doc/aero_kernel/index.html' />" > target/doc/index.html
8686
ifeq ($(open),yes)
8787
xdg-open target/doc/index.html
8888
endif

web/CNAME

-1
This file was deleted.

web/index.html

-1
This file was deleted.

0 commit comments

Comments
 (0)