diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a22bf2e..e9f1648 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,9 +27,12 @@ jobs: uses: mattnotmitt/doxygen-action@v1.1.0 with: doxyfile-path: "./kernel/ActionDoxyfile" + - name: Generate libc docs + uses: mattnotmitt/doxygen-action@v1.1.0 + with: + doxyfile-path: "./libc/ActionDoxyfile" - name: Put files in the right place - run: sudo mv kernel/docs/html docsite/kernel; sudo cp docindex.html docsite/index.html - + run: sudo mv kernel/docs/html docsite/kernel; sudo mv libc/docs/html docsite/libc; sudo cp docindex.html docsite/index.html - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: diff --git a/.gitignore b/.gitignore index ac5ee6a..10c025b 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ vga_drv/vga_drv .vscode kernel/docs sysroot/usr/share/man +libc/docs diff --git a/Makefile b/Makefile index bd8432b..615a3bc 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,7 @@ sysroot/usr/lib/libc.a: $(LIBC_OBJ) sysroot/usr/share/man: doc @ cp -r kernel/docs/man/man9 sysroot/usr/share/man + @ cp -r libc/docs/man/man3 sysroot/usr/share/man sysroot/usr/include: $(LIBC_SOURCES) $(LIBC_HEADERS) @ cd libc;rsync -R *.h */*.h ../sysroot/usr/include/ @@ -96,3 +97,4 @@ clean: doc: $(C_SOURCES) $(C_HEADERS) @doxygen kernel/Doxyfile > /dev/null + @doxygen libc/Doxyfile > /dev/null diff --git a/docindex.html b/docindex.html index a78a4e6..1585e59 100644 --- a/docindex.html +++ b/docindex.html @@ -10,5 +10,6 @@