File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ vmlinux
2727
2828# API docs for local preview only.
2929_site /
30+ _serve /
Original file line number Diff line number Diff line change @@ -129,16 +129,19 @@ check-licenses:
129129
130130.PHONY : serve-docs
131131serve-docs :
132- @echo ' to browse: open http://127.0.0.1:8000/documentation/'
133- @python3 -m http.server --bind 127.0.0.1 --directory ./_site
132+ @echo ' to browse: open http://127.0.0.1:8000/containerization/documentation/'
133+ @rm -rf _serve
134+ @mkdir -p _serve
135+ @cp -a _site _serve/containerization
136+ @python3 -m http.server --bind 127.0.0.1 --directory ./_serve
134137
135138.PHONY : docs
136139docs : _site
137140
138141_site :
139142 @echo Updating API documentation...
140143 rm -rf $@
141- @scripts/make-docs.sh $@
144+ @scripts/make-docs.sh $@ containerization
142145
143146.PHONY : cleancontent
144147cleancontent :
@@ -150,5 +153,6 @@ clean:
150153 @echo Cleaning the build files...
151154 @rm -rf bin/
152155 @rm -rf _site/
156+ @rm -rf _serve/
153157 @$(SWIFT ) package clean
154158 @" $( MAKE) " -C vminitd clean
You can’t perform that action at this time.
0 commit comments