Move ACRN documentation in a dedicated doc/ folder
Adjust various scripts accordingly Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
4
.gitignore
vendored
@ -3,8 +3,8 @@ hypervisor/bsp/uefi/include/bsp/version.h
|
|||||||
hypervisor/bsp/sbl/include/bsp/version.h
|
hypervisor/bsp/sbl/include/bsp/version.h
|
||||||
devicemdodel/build/
|
devicemdodel/build/
|
||||||
devicemodel/include/version.h
|
devicemodel/include/version.h
|
||||||
doxygen
|
doc/doxygen
|
||||||
_build
|
doc/_build
|
||||||
*.bak
|
*.bak
|
||||||
*.sav
|
*.sav
|
||||||
*.log
|
*.log
|
||||||
|
@ -16,26 +16,19 @@ BUILDDIR = _build
|
|||||||
|
|
||||||
DOC_TAG ?= development
|
DOC_TAG ?= development
|
||||||
RELEASE ?= latest
|
RELEASE ?= latest
|
||||||
PUBLISHDIR = ../projectacrn.github.io/$(RELEASE)
|
PUBLISHDIR = ../../projectacrn.github.io/$(RELEASE)
|
||||||
|
|
||||||
# Put it first so that "make" without argument is like "make help".
|
# Put it first so that "make" without argument is like "make help".
|
||||||
help:
|
help:
|
||||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "make pullsource"
|
|
||||||
@echo " fetch and merge upstream source for the project ACRN code repos"
|
|
||||||
@echo ""
|
|
||||||
@echo "make publish"
|
@echo "make publish"
|
||||||
@echo " publish generated html to projectacrn.github.io site:"
|
@echo " publish generated html to projectacrn.github.io site:"
|
||||||
@echo " specify RELEASE=name to publish as a tagged release version"
|
@echo " specify RELEASE=name to publish as a tagged release version"
|
||||||
@echo " and placed in a version subfolder"
|
@echo " and placed in a version subfolder. Requires repo merge permission."
|
||||||
|
|
||||||
.PHONY: help Makefile
|
.PHONY: help Makefile
|
||||||
|
|
||||||
pullsource:
|
|
||||||
$(Q)scripts/pullsource.sh
|
|
||||||
|
|
||||||
|
|
||||||
# Generate the doxygen xml (for Sphinx) and copy the doxygen html to the
|
# Generate the doxygen xml (for Sphinx) and copy the doxygen html to the
|
||||||
# api folder for publishing along with the Sphinx-generated API docs.
|
# api folder for publishing along with the Sphinx-generated API docs.
|
||||||
|
|
@ -791,10 +791,10 @@ WARN_LOGFILE =
|
|||||||
# Note: If this tag is empty the current directory is searched.
|
# Note: If this tag is empty the current directory is searched.
|
||||||
|
|
||||||
INPUT = custom-doxygen/mainpage.md \
|
INPUT = custom-doxygen/mainpage.md \
|
||||||
../acrn-hypervisor/include/common/hypercall.h \
|
../hypervisor/include/common/hypercall.h \
|
||||||
../acrn-hypervisor/include/public/acrn_common.h \
|
../hypervisor/include/public/acrn_common.h \
|
||||||
../acrn-hypervisor/include/public/acrn_hv_defs.h \
|
../hypervisor/include/public/acrn_hv_defs.h \
|
||||||
../acrn-devicemodel/include/virtio.h
|
../devicemodel/include/virtio.h
|
||||||
|
|
||||||
|
|
||||||
# This tag can be used to specify the character encoding of the source files
|
# This tag can be used to specify the character encoding of the source files
|
@ -63,7 +63,7 @@ try:
|
|||||||
version_major = None
|
version_major = None
|
||||||
version_minor = None
|
version_minor = None
|
||||||
version_rc = None
|
version_rc = None
|
||||||
for line in open(os.path.normpath("../acrn-hypervisor/Makefile")) :
|
for line in open(os.path.normpath("../hypervisor/Makefile")) :
|
||||||
# remove comments
|
# remove comments
|
||||||
line = line.split('#', 1)[0]
|
line = line.split('#', 1)[0]
|
||||||
line = line.rstrip()
|
line = line.rstrip()
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
0
static/jquery.js → doc/static/jquery.js
vendored
@ -1,30 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
q="--quiet"
|
|
||||||
|
|
||||||
# pull fresh copies of the ACRN source for use by doxygen
|
|
||||||
|
|
||||||
if [ ! -d "../acrn-hypervisor" ]; then
|
|
||||||
echo Repo for acrn-hypervisor is missing.
|
|
||||||
exit -1
|
|
||||||
fi
|
|
||||||
if [ ! -d "../acrn-devicemodel" ]; then
|
|
||||||
echo Repo for acrn-devicemodel is missing.
|
|
||||||
exit -1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Assumes origin (personal) and upstream (project) remote repos are
|
|
||||||
# setup
|
|
||||||
|
|
||||||
cd ../acrn-hypervisor
|
|
||||||
git checkout $q master;
|
|
||||||
git fetch $q upstream
|
|
||||||
git merge $q upstream/master
|
|
||||||
git push $q origin master
|
|
||||||
|
|
||||||
|
|
||||||
cd ../acrn-devicemodel
|
|
||||||
git checkout $q master;
|
|
||||||
git fetch $q upstream
|
|
||||||
git merge $q upstream/master
|
|
||||||
git push $q origin master
|
|