File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ qemu: $(KERNEL_TARGET) $(USERLAND_TARGET)
41
41
42
42
.PHONY : doc
43
43
doc :
44
- rm -rf target/doc
45
44
cd src && cargo doc --package aero_kernel --release --target-dir=../target/doc/
46
45
cp web/index.html target/doc/index.html
46
+ ifeq ($(open ) ,yes)
47
+ xdg-open target/doc/index.html
48
+ endif
Original file line number Diff line number Diff line change @@ -75,9 +75,11 @@ $ cd aero
75
75
make distro-image
76
76
make qemu
77
77
78
- # To build documentation run the following command. The documentation will be outputed to the `target/doc` directory.
79
- make doc
80
- # The documentation will be available in the `target/doc` directory.
78
+ # To build documentation run the following command. The documentation will be outputed
79
+ # to the `target/doc` directory.
80
+ #
81
+ # Optionally you can pass `open=yes` to open the documentation in the default browser.
82
+ make doc open=yes
81
83
```
82
84
83
85
# Contributing
Original file line number Diff line number Diff line change 1
- < meta http-equiv ='refresh ' content ='0; URL=./x86_64-aero_os /doc/aero_kernel/index.html ' />
1
+ < meta http-equiv ='refresh ' content ='0; URL=./x86_64-unknown-none /doc/aero_kernel/index.html ' />
You can’t perform that action at this time.
0 commit comments