Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf275662

Browse files
fix(actions): docs publish dir
Signed-off-by: Anhad Singh <andypythonappdeveloper@gmail.com>
1 parent27c2eb1 commitf275662

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

‎.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
sudo apt-get update
2727
sudo apt-get install -y nasm make
2828
-name:Build Documentation
29-
run:make doc
29+
run:|
30+
make doc
31+
find ./target -type d -name .git -prune -exec rm -rf {} \;
3032
-name:Formatting Check
3133
run:|
3234
make check_fmt
@@ -36,4 +38,4 @@ jobs:
3638
if:github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule')
3739
with:
3840
github_token:${{ secrets.GITHUB_TOKEN }}
39-
publish_dir:./build/web/
41+
publish_dir:./target/doc/

‎Makefile

Lines changed: 2 additions & 2 deletions
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

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎web/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp